The default name for the SessionId cookie in an Asp.Net application is ASP.NET_SessionId, but this can be changed in the web.config, e.g. I wanted to
The Problem I needed to check that any web app that was referencing my class library was giving me a valid controller and action name in
I have recently been creating a class library that many MVC web applications are going to reference, and I wanted those applications to be able
Sometimes it is useful to have a reusable custom action filter, for example for checking user authorisation to access part of the application. I would
It seems that cookies can eat store just about any kind of data, but keeping to a limit of 20 cookies per domain and 4096
Here is a nice easy way to get the individual parameter values from the URL, returning either a NameValueCollection (System.Collections.Specialized.NameValueCollection HttpRequestBase.QueryString) of all parameters in the
I created an app_offline.htm page to place in my site’s folder while I was deploying a new version, but I didn’t want to put a
The Problem My print css is defined in my main css file in @media print{…}. IE7 and below don’t seem to understand this. Putting the
You can change parts of the web.config between different builds (e.g. debug and release). I used it to change whether cookies must only be sent
I recently had to downgrade a .Net 4.5 project to .Net 4.0 so that it could run on MS Server 2003. I had many warnings