global-asax
How can do I solve this? I want to inject a nhibernate session but the session is not created yet
Edit I would like to try to do what Remo Gloor has recommended Create a SessionFactoryProvider derived for Provider that retruns a SessionFactory using the code in OnApplicationStarted[详细]
2023-02-04 06:03 分类:问答How to access Global.asax static members?
If we declare 开发者_JAVA百科a static variable in Global.asax then how to access it inside an ASP.NET page ?[详细]
2023-02-02 08:25 分类:问答Server.Transfer in Global.asax
I have a custom error handler in the global.asax\'s Application_Error method, when an error occurs I use the following code to transfer user to the error page:[详细]
2023-02-01 20:30 分类:问答Best practice for storing a singleton instance in ASP.NET application
If we have a singleton class like LoadBalancer and need one instance per ASP.NET application, then where to开发者_StackOverflow中文版 store it ?[详细]
2023-02-01 15:45 分类:问答Asp.NET error screen's HttpModule
Guys, what is the name of HttpModule which serves standard Asp.Net error screens with the stack trace? Can I disable this in order to modify response when application error occurs? Or is there another[详细]
2023-02-01 05:51 分类:问答ASP.NET Session identifier
I\'m trying to make a session code for each client on my site. In the Session_Start of the global asax I have this code:[详细]
2023-01-30 06:52 分类:问答Overlapped Recycle and Application_Start
I have an asp.net web app using AppFabric for distributed caching. On Application_Start I initialize my connection to AppFabric. This generally takes milliseconds which is perfectly acceptable. On occ[详细]
2023-01-28 18:57 分类:问答How to render an asp.net WebForm page from Global.asax?
for one reason or another I\'m messing around with a \"minimalistic\" ASP.Net just for fun. I\'ve disabled a lot of things and am attempting to reimplement things. One thing I can\'t quite figure out[详细]
2023-01-28 16:06 分类:问答Global_Asax Application_Error Fired instead of default IIS7 404 Page Not Found Page
I have a Web Application which has Global_Asax and a Custom Error Page. When user tries to enter to an invalid page which doesn\'t exist, Application_Error is fired in Global_asax and exception is log[详细]
2023-01-27 15:30 分类:问答How to generate url in global.asax using my route. int asp.net mvc
I have functionality in BeginRequest event in global.asax which parse request url, check some parts of this and redirect user to another url.[详细]
2023-01-27 15:13 分类:问答