This is the 3rd part of the series where in previous post we saw how to develop WPF applications using Caliburn Framework. In this post, we’ll see some more advanced usage where our shell instead of being just limited to displaying single view at a time, can have multiple ones in a Tabbed user interface. Continue reading
When creating Line of Business (LoB) applications with Silverlight, the only choice to get the data to the application is through webservices. People having their Silverlight application hosted on the same webserver as the service have almost no problem, but things get interesting when service is not hosted on the same machine as the application, and it gets hairy when you self-host a WCF service. Let’s see how it is done in each scenario. Continue reading
In the process of upgrading my IIS 6 to IIS 7, my website was down for almost a whole day. The problem, at first, was that only front page of the site worked all other pages returned a status 404 due to the fact that all routing was stopped working. The problem which was fixed by my hosting provider, but after that, the whole web site stopped working. Continue reading
I’ve spent the last couple of hours trying to get a web application working. The problem was that the web application uses a custom Principal object, implementing IPrincipal interface, but upon launching the application in Visual Studio, a strange exception was thrown. Continue reading
Back in May 2008, I found a way to use Linq expression to fire notification change, and just after that on September 2008, changing the first implementation to benefit extension methods, things looked a lot easier and more C# 3.0 style. But now to think of it, the best implementation of INotifyPropertyChange would be not to implement it at all! Is this possible? Continue reading
After upgrading some solutions to the new Visual Studio 2010 RTM and expecting automatic migration would do the trick, I bumped into a problem. The problem is that Unit Test project will be automatically upgraded to use .NET Framework 4.0 even if you explicitly choose not to do so in the migration wizard! Continue reading
In previous parts of this post, we figured out how to create a new webserivce implemented in JAX-WS using java language, and the create a RIA application using Silverlight to use this service. Let’s continue and see some real-world scenarios. Continue reading
I have updated to the latest version NHibernate, built on the trunk. I’m using it for a pet project that uses latest NHibernate 3.0 functionalities. Using the new QueryOver API is my favourite new functionality but using it might be tricky sometimes. Continue reading
TypeMock originally a framework to create mock objects, recently published the core API as TypeMock Open-API and on the same foundation, a project name CThru which gives you the “mocking” ability in the wild! This means now you can intercept calls to any API (except for some core .NET API and TypeMock API itself) and mock-out any of the existing functionality. Continue reading
Simplest way to do Validation in WPF is usually implementing interface, and do the validation in the indexer’s getter. It turns out to be ugly and gets out of hand when your model / viewmodel gets a little larger. Continue reading