Dot Net Capsules

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

My Photo
Name:

Programmer. Visit my new blog at www.ashishsheth.com

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 http://www.ashishsheth.com/. It was so easy and smooth.
Welcome to my site at http://www.ashishsheth.com/.

Labels:

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;
Console.WriteLine(notNullInt.ToString());


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.

Labels:

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.

Enjoy!!

Labels: , ,

10 Sites that every web developer should know

10 Sites that every web developer should know:

http://www.fliquidstudios.com/2009/04/28/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 (http://blogs.msdn.com/dtemp/archive/2004/08/17/215764.aspx) 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 ComputerZen.com and ScottGu's Blog

Labels: , , ,

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