Top "Global-asax" questions

A special file in the ASP.

When to use Application_Start vs Init in Global.asax?

I am wondering under what circumstances I should be putting application initialisation code in Application_Start() vs Init() in my …

asp.net global-asax
Global.asax parse error after minor change and revert to previous version

The project in context is: ASP .NET Web Application .NET Framework: 4 Platform Target: x86 IDE: Visual Studio 2010 Ultimate SP1 Multiple …

c# asp.net .net global-asax parse-error
Set session variable in Application_BeginRequest

I'm using ASP.NET MVC and I need to set a session variable at Application_BeginRequest. The problem is that …

asp.net asp.net-mvc asp.net-mvc-3 asp.net-mvc-2 global-asax
Is it possible to debug Global.asax?

I can't debug global.asax file! I have some codes in Application_Start() method but when I set a break …

asp.net global-asax
System.EnterpriseServices.Wrapper.dll error

Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the …

asp.net global-asax
How can I use Server.MapPath() from global.asax?

I need to use Server.MapPath() to combine some files path that I store in the web.config. However, since …

c# asp.net global-asax server.mappath application-start
Where is global.asax.cs in Visual Studio 2010

I don't have a Global Application class code-behind any more inside my installed templates. All I have is Global.asax. …

c# .net asp.net visual-studio global-asax
ASP.NET: Access Session variable in global.asax

I have an ASP.NET application and in the Global.asax ' Application Error Event, I am calling a method …

asp.net session global-asax
Response.Redirect not working in Global.asax

I have created an error page to show a general message for all unhandled exceptions. This is the code in …

c# asp.net global-asax response.redirect
what is the global.asax Application_Start equivalent when using WAS in IIS7

I'd like to use the netTcpBinding for my WCF application which is currently hosted in IIS7, which means configuring it …

wcf iis-7 global-asax was nettcpbinding