global-asax
Global.asax Application_Error not firing on IIS
I have an ASP.NET MVC 2 page. During error or exception, the Application_Error method in Global.asax is not firing on IIS7.[详细]
2023-03-29 19:38 分类:问答How do I use Global.asax files in ASP.NET applications?
How do I use a Global.asax file in my ASP.NET code? 开发者_StackOverflow Is there some kind of include statement, sort of like <script type=\"text/javascript\" src=\'xxx.js\'></script>?Yo[详细]
2023-03-29 00:33 分类:问答Allow/Disallow application access using the global.asax events
I have an ASP .NET web application (runs only on the Intranet) where I am using a simple user authorization model.I have a table called tblApplicationAccess which has TWO fields – UserID and AccessLe[详细]
2023-03-28 18:24 分类:问答How to call some code once per page request
I am trying to execute some code once for any page request so I put this code in the Application_PreRequestHandlerExecute method in Global.asax.The problem is that for each page request this methods g[详细]
2023-03-28 05:50 分类:问答Session_Start() called, then Session_End(), then Session_Start() again and URL changes
I\'ve got a weird one.:-)I have an MVC (ASP.Net C#) app that uses CBA (and WIF) for authentication. It works fine when I go to the default root of my app: https://myappThis calls my IP (https://myapp[详细]
2023-03-27 15:00 分类:问答System.Threading.Timer not firing, global.aspx
I am a newbie, but I am unable to get this code working.FileSweeper is supposed to start a timmer that triggers fileCopy on a web server. fileSweeoer is triggered by global.asax. FileCopy then will co[详细]
2023-03-26 04:07 分类:问答Is it possible to extract Global.asax into a common library outside of the websites bin directory?
Using the solution in this question, I moved my MvcApplication logic to a SharedHttpApplication class in my common library that inherits from HttpApplication.[详细]
2023-03-25 13:00 分类:问答How to call a configuration method situated in my global.asax in my Test Project?
In my Global.asax **Application_Start()** I have a configuration of AutoMapper, this configuration is triggered whenever the application run.[详细]
2023-03-25 11:50 分类:问答What is Forms Authentication's, OnAuthenticate Event?
I\'m using Asp.net Membership provider. I want to know which event triggered when a person authenticated on site. ( I mean login)[详细]
2023-03-25 01:59 分类:问答Problem using context in global.asax file
I have user global.asax and I have write this code in my ASP.NET application : <%@ Application CodeBehind=\"Global.asax.cs\" Language=\"C#\" %>[详细]
2023-03-24 13:41 分类:问答