04/01/2017 by Nitesh

Generate MachineKey using Windows PowerShell

In this post we will see how we can Generate MachineKey using Windows PowerShell from our local development machine. Problem: Many a times when a ASP.Net application is running on production server, we get an error message stating – “Validation of viewstate MAC failed. If this application is hosted by a web farm or cluster,…

Continue Reading »

06/08/2015 by Nitesh

Get .Net Framework version of a DLL it was created with

Friends, Microsoft has been updating .Net Framework versions from a long time and we’ve updated from .Net 1.0 to 4.6. We all love writing small wrappers and convert them into DLLs so that we can reuse the same code in different projects. In this post, we will see how can we get the .Net Framework…

Continue Reading »