I'm trying to use Application object in my MVC application. How does one gain access to the Application object?
I tried doing:
as shown in the documention at http://msdn.microsoft.com/en-us/library/system.web.httpapplicationstate.lock.aspx but Intellisense doesn't like it. I tried defining a variable of type HttpApplicationState but I can't create an instance of it, and the compiler grips about it not being initialized.
View Complete Post