ASP.Net View State: EnableViewState vs ViewStateMode

With ASP.Net 4.0, a new property for View State was introduced, it was called ViewStateMode. Prior to ASP.Net 4.0, we used to use EnableViewState property. Now for an ASP.Net 4.0 application, both of these properties are available. So the question comes in which one we should use? And how are they different? To answer the…

15

One thing you must do when: getting http 500.0.1346 error

  While browsing your IIS hosted website (or any of the application, virtual directory) you run into the standard Http 500 error message. When you look into the IIS logs for respective site, you find an entry similar to this 2012-08-08 10:10:10 xx.xx.xx.xxxx GET /test.htm – 80 – yy.yy.yy.yyyy Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET4.0C; +.NET4.0E;+.NET+CLR+3.5.30729; +.NET+CLR+3.0.30729) 500 0 1346…


Learning Resources – Free Microsoft Press e-books

Lots and lots of ebooks, that too Microsoft Press, is available for FREE!!   Wide range of topics covered, from Azure to Windows Phone to Share Point  to HTML5 and many many more. Check Eric Ligman’s post Part 1 Part 2 Happy learning! Cheers!

2

A word of caution while Overloading Methods in C#

  While working with Method Overloading, there are some corner cases which we should be careful about. So we know overloading is possible when parameter type and parameter order. But there is a lot which also depends on what parameter values are you using. For instance public void Foo(int x, float y) { // Do…

2

Hello, Windows 8

    So here is the first post from my shiny new Windows 8 RTM machine! The more I am using it, the more I am loving it Find more about Windows 8 excitement here Blogging Windows Releasing Windows 8 – August 1, 2012 Cheers!

1