Dot Net Capsules

A Capsule on .NET, everyday, keeps you .NetHealthy!!!!

My Photo

Programmer. Visit my new blog at

Monday, May 3, 2010

Violating Single Resposibility Principle using VisualStudio Region

I have published a new article on how you may violate the Single Responsibility Principle using the Visual Studio's 'region' feature. You can read it here.

Labels: ,

Tuesday, June 23, 2009

My Site

Just set up my site at It was so easy and smooth.
Welcome to my site at


Wednesday, May 20, 2009

What all programmers have in common

A nice post about what all programmers have in common

Labels: , ,

Tuesday, May 19, 2009

C# Null Coalesce operator

Just found that C# has a Null Coalesce operator ??. I was not aware of it earlier.
This is how you can use it:

int? nullInt = null;
notNullInt = nullInt ?? 1;

Just Also see here and here for some good info on Nulls.

Labels: , ,

Tuesday, May 5, 2009

8 ways to be a better programmer in 6 minutes.

Some nice tips from programming. Read This: 8 ways to be a better programmer in 6 minutes.


Sunday, May 3, 2009

What happens if proper culture is not set while using DateTime

Here is a nice post about why to set a proper culture in your code. See what happens when you use a DataTime without setting a proper culture: Nothing like a Spelling Error on the Title Page

Labels: , ,

Wednesday, April 29, 2009

LINQ to Everywhere

LINQ-to-EveryWhere - List of all the LINQ providers.


Labels: , ,

10 Sites that every web developer should know

10 Sites that every web developer should know:

Labels: ,

Friday, April 3, 2009

What is *.VSHOst.exe and *.VSHost.exe.config

When we compile a windows application(forms or sevice) in VS 2005 or VS 2008 then we see that there is a *.vshost.exe and *.vshost.exe.config file generated in the bin folder. And we wonder what are these files and why are they generated. Here ( is the anser. In short they are there to provide support for improved F5 performance, partial trust debugging, and design time expression evaluation.

Labels: , , ,

Thursday, April 2, 2009

ASP.NET MVC 1.0 is Open Source

ASP.NET MVC 1.0 Source code is available. Read at Scott Hanselman's and ScottGu's Blog

Labels: , , ,

You Visitor Number:
Free Web Site Counter
Free Counter
free counters