Rhino Mocks Vs MoqAs a big believer in test driven development, I spent some time today fiddling around with Visual Studio 2008's new unit testing features. Boy is that a nice addition! As much as I have been a fan of testdriven.net, I am now convinced that there is no longer any point in using the plugin. The Visual Studio integration makes using NUnit obsolete as well. The whole process is nicely and conveniently built into the IDE, and it is a very welcome addition indeed. The tools are infinitely better and nicer: debugging tests is trivial,...
Saturday, May 17, 2008
Friday, May 9, 2008
Validation of viewstate MAC failed error
Issue DescriptionYou can get this Exception: HttpException (0x80004005): Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster. when the following preconditions are true: You aren't using a web farm. It appears when using built-in databound controls such as GridView, DetailsView or FormView which utilize “DataKeyNames”. It appears if you have a large page which loads slowly for any reason....
How to retrieve permanently deleted mail in outlook

How to retrieve permanently deleted mail in outlook Worried?? Just because you accidentally deleted an important mail from your outlook inbox? Well here is a way you can get it back Don't worry if you have deleted any mails permanently from your outlook inbox. Here is a way you can retrieve your permanently deleted mails. 1. Go to Run by clicking on Start and type in regedit.2. Now go to HKEY_LOCAL_MACHINE, expand Software. 3. You will find Microsoft...
Saturday, May 3, 2008
An introduction to LINQ

SQL is dead. With the release of Microsoft LINQ to SQL, developers should no longer work directly with ADO.NET or SQL. With simple examples, Stephen Walther shows you how to build database-driven ASP.NET applications by taking advantage of LINQ to SQL. Most of the blood, toil, tears, and sweat that an ASP.NET developer experiences while building a web application is associated with writing the data access code.Microsoft introduced LINQ to SQL with...