global-asax
Global.asax notification when an unhandled error occurs?
on my production server sometimes we get server error due to some time out issues. I would like to receive a notification to my Phone or email as soon as my server is down.[详细]
2023-04-13 00:10 分类:问答global.asax breakpoint not hit
I have some code in my ASP.NET app in C# that\'s in the Global.asax.cs code file. In the Application_Start, Session_Start and Application_Begin Request I have set some breakpoints. However none of the[详细]
2023-04-11 02:14 分类:问答Access current domain name on Application_Start
Normally to access the current domain name e.g where the site is hosted I do something like string rURL = HttpContext.Current.Request.Url.ToString().ToLower();[详细]
2023-04-10 19:05 分类:问答Register RazorViewEngine only for C# (only for .cshtml files)
I am only using RazorViewEngine on one of my ASP.NET MVC 3 applications and I cleared Web Forms view engine out with following code inside Application_Start method of my Global.asax.cs file[详细]
2023-04-09 23:08 分类:问答Global Application_Start not firing calling my service using Named Pipes
I have a service running on Named Pipes. The service should do some stuff on startup, so I defined this in the Global.asax. Now I am experiencing that this is not being when the service receives it fi[详细]
2023-04-08 03:44 分类:问答Need help on following error Could not load type 'AccountWeb.Global'
I am getting following error when i run my pr开发者_如何学Coject error details. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please r[详细]
2023-04-04 15:51 分类:问答Log page visits with global.asax
I log usage on my site, by simply recording when a sessions starts and ends, and then posting it to a database, when it ends.[详细]
2023-04-04 05:50 分类:问答Inject <script> tag into <head> in code behind
I need to find a global way to inject a <script> tag into my pages directly within the <head> tag from the code behind.I开发者_如何学Pythons there something I can do in the global.asax?If[详细]
2023-04-01 08:03 分类:问答Exception thrown in end_request when adding headers
Occasoinall开发者_JAVA百科y i get this exception thrown (viewable in elmah) System.Web.HttpException:[详细]
2023-03-30 16:41 分类:问答Application_Start event not firing when published
I researched a lot but got nothing... Application_Start event is not firing when published the site. However it works fine in localhost. After publishing i got the App_global.asax.dll and App_GlobalR[详细]
2023-03-30 02:43 分类:问答