Tag Archives: ASP.NET

How to Use IIS Express for all new file based web sites and projects ?

By | July 5, 2011

IIS Express is a lightweight, self-contained version of IIS optimized for developers. IIS Express provides the power of IIS7.x while making it easy to develop and test websites. Why we say that its has power of IIS7.x because it has the code base of IIS 7.5.  Visual Studio 2010 SP1 Beta allows you to build and test web… Read More »

Could not load file or assembly ‘PresentationCore’ or one of its dependencies. An attempt was made to load a program with an incorrect format. : A solution

By | July 3, 2011

Few days back, I was migrating my application for VS2008 to VS2010 and it was done successfully except  some people started running the application. They faced the error as below “Could not load file or assembly ‘PresentationCore’ or one of its dependencies. An attempt was made to load a program with an incorrect format. “ I tried to… Read More »

Get list of all active session variables in ASP.NET

By | May 29, 2011

In this post I am going to discuss about  how you can get list of all active Session Variables in ASP.NET Application. The easiest way to get the details of session variable is using “Tracing” . If you enable the “Tracing” for your application, you can get list of all  Active Session variables. Another alternative way is, get… Read More »

How to retrieve HTTPModule details from HttpModuleCollection ?

By | May 25, 2011

In one of my previous post I have talked about How to get list of all active HttpModules in ASP.NET? Where I have explained how we can get list of all active modules of an ASP.NET Application at runtime. In this post, I am going discussed about, how you can get details of a particular module details from… Read More »

Raising Server side event from JavaScript in ASP.NET (Tweaking the existing bits)

By | May 19, 2011

Well, knowing internal structure of an ASP.NET event system can always be an element of fun and interests. Recently I came across to a requirement to generate a server side event on a page directly from Javascript. There are a couple of approaches available with the existing models (like ICallbackEventHandler etc) but these will put additional pressure to… Read More »

Releasing Single / Multiple Files To Pre Compiled ASP.net Web Site

By | May 11, 2011

We most the time run into the issue where we need to release a patch which requires a change in one or multiple code behind files and since your site is compiled, you are put into the state that you have to do a deployment instead of releasing those files. But, fortunately you can do that on a… Read More »