While I was upgrading Castle Windsor to support .NET 4.0 build scripts, I came across an interesting deprecated API. If you have set Warnings are Errors in your project settings, you’ll definitely get bitten by this once you upgrade your project from .NET 3.5 to .NET 4.0, if you’re using SecurityManager that is. Continue reading
Back when I launched my website, it was supposed to be a hands-on tutorial for me to get my hands dirty with ASP.NET MVC. When I launched the site, I found out that I need to move my blog too, so I needed a blog engine as well. By that time the only available blog engine that was built using MVC was Oxite, so I had no other option. Continue reading
When it comes to mobile programming, Android is one of the vastly spread mobile OSes around, so how would you as a .NET programmer write android applications? It turns out there is a Monodroid project (currently in beta) which you can use to write android applications in C# and managed .NET environment and you can reuse your existing knowledge. Pretty cool, except it is a commercial framework once released. Continue reading
Working a project that I haven't updated for a while, I came across the below picture. The project was active while I was away and a SVN Update resulted more than 2000 conflicts! Continue reading
You’ve probably see on the wild on websites such as StackOverflow, but if you don’t know what it is, it is a single sign-on mechanism that allows user of your website to use his existing profile on an provider, such as Gmail, Yahoo, Wordpress, etc. so by providing this service on your website, you allow the user to login without gooing through all the hoops of creating and validating an account which is usable on a single website only. Continue reading
As a part of working in a Licensing component codebase, I’m checking commercial components to see how they implement licensing and the result, as you guess, is that mostly in-house (read dumb) lousy solutions are used for licensing and trial versioning. So if you see the key-gen for your application spread on the internet a couple of days after releasing a new version, maybe this post is meant for you. Continue reading
Lately I’ve been trying to blend three different technologies, namingly Sharepoint 2010, SSRS and Silverlight 4 into one application. The goal of the project was to display existing reports of SSRS plus some features of Sharepoint in a Silverlight application that runs inside Sharepoint or as an out of browser application. You may say that SSRS and Sharepoint already work together, so why add Silverlight to the equation? The thing is that customer was so happy with previous Silverlight applications we demoed, that they don’t like to working with old, flat html websites anymore and need a richer application to work with. Continue reading
There’s a new date calculation in Farsi Library that might come in handy. The new function was added a few days ago and calculates date/time differences in a user friendly manner. Continue reading
Castle Windsor sample application now supports interface. If you have read my post on how to implement INotifyPropertyChanged interface using Castle DynamicProxy, here same technique is used in parallel with Fluent Validation framework for Silverlight. The magic behind this approach is that your models are clear as you want them to be. Let’s see in more detail how this can be done. Continue reading
When implementing IDataErrorInfo support on Windsor Silverlight Example that uses aspect-like features of Castle DynamicProxy, I came across something interesting. I think we all have written a code to fetch the properties of an object using Reflection API, but this one got me going for some time before I noticed what the problem is. Continue reading