Understanding Async

Here is a good presentation on understanding the new C#5 async/await asynchronous/concurrency programming technique. http://blogs.msdn.com/b/pfxteam/archive/2013/02/20/mvp-summit-presentation-on-async.aspx

{ 0 comments }

During my C# development sessions whenever I need to understand an API call or I need to quickly triage an idea, I usually end up creating a test harness C# Console Application project. Then I step through the code in the debugger, watch the  locals windows and most likely experiment in the Immediate Window. This [...]

{ 0 comments }

Using F# XAML Type Provider in FSI

I have been experimenting with F# FSI and XAML type provider using the excellent tutorial provided at http://www.navision-blog.de/blog/2012/03/22/wpf-designer-for-f/. The application executed okay under the compile/run setting. However, under FSI I kept getting errors field, constructor or member is not defined. It turns out we need to specifically add the type provider dll reference to work in [...]

{ 0 comments }

The Minimalist Ethos

“A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away.” – Antoine de Saint-Exupéry. My sentiments exactly.

{ 0 comments }

I originally posted this question on www.stackoverflow.com to get some feedback regarding the usage of `Repository` pattern in ASP.NET MVC 3 applications. I posited that the `Repository` pattern implementation was redundant when our application used LINQ with ORMs such as Nhibernate or Entity Framework Code First. Here I explain in depth why implementing `Repository` pattern is [...]

{ 22 comments }

Visit this link to see those cute little things called buttons http://houseofbuttons.tumblr.com Enjoy !!

{ 0 comments }

Here are the steps I followed to use LINQ with Fluent NHibernate, nHibernate 3.0 in an ASP.NET MVC 3 project. This article includes a very simple ASP.NET MVC 3 blog application. The application is mostly limited to listing, creating, updating and viewing details of a Post entity. Create a New MVC3 project.First download and install [...]

{ 2 comments }

In this article I discuss a few techniques we can employ to safely data bind incoming data to action method parameters in ASP.NET MVC2. How Does Data Binding work in ASP.NET MVC? The default data binder for ASP.NET MVC maps the posted data One of the disadvantages of not white listing is that of data [...]

{ 0 comments }

There seems to be much confusion about the usage of typed views and ViewModel pattern in ASP.NET MVC. What it is, how it came about and when best to use it? In this article I discuss how the ViewModel pattern came about, what problem it addresses and how it can be implemented in ASP.NET MVC. [...]

{ 6 comments }

Things Organized Neatly

Follow the link below if you have the fetish for the neat and organized or for good fun looking at some of the peculiar pictures. Good example of how images can convey meaning in a concise way or reinforce the message in your copy. Things Organized Neatly A blog with the collection of some unusual [...]

{ 0 comments }