Recently I upgrade my .net 4.8 web project to .net 6. Post upgrade I am getting below error from Global.asax.cs page CS0246 The type or namespace n ...
Recently I upgrade my .net 4.8 web project to .net 6. Post upgrade I am getting below error from Global.asax.cs page CS0246 The type or namespace n ...
I am using the following code in the ASP.NET web forms Global.aspx page to count the number of current active users. It does work when I do local test ...
I am trying to find number of visitors for a site using Application. My Global.asax.cs looks like this: And my Controller I added following code: ...
Here is the VBscript code inside a MS-HTA i am making, It's supposed to check for updates against a webserver every run. But it isn't working, It do ...
At which point and time does the MvcApplication call the HttpAplications events like: How does it know when the previous Handler (of the previous ...
The terminology is a little unclear around horizontal scaling in Azure. When it creates multiple instances of an application, I understand that these ...
So I have a web service that returns data from a certain data source. Some of the data retrievals takes really long (>15 sec) which is unacceptable ...
I want to make a tcp connection to a device and keep continously retrieve data from device. I want to start this with a simple request and keep it wor ...
Behind the scenes in ASP.NET applications how is the method Application_Error being called when an Exception occurs? Reflection? Delegate? I went look ...
I am currently getting the CA2202 (Do not dispose objects multiple times) on code that I am analysing. The warning refers to HttpApplication.Dispose m ...
In MSDN it says HttpApplication.Context: Gets HTTP-specific information about the current request. Controller.HttpContext: Gets HTTP-speci ...
I have the following code in my Global.asax: I have a Help folder at the root of the site (~/Help) that contains static .htm files. I notice that n ...
I am trying to understand why Init method is available in both the HttpApplication and HttpModule, and when to use one over the other. ...
Not sure whether HttpApplication works as a session mechanism. Once HttpApplication was created by HttpApplicationFactory via my first request, would ...
I'm creating a library that needs to run some code at various stages of the ASP.NET request lifecycle. It's easy to do this when writing a web appli ...
I need to run a polling service in a ASP.NET-WebService. Now, I have implemented it with a BackgroundWorker which I am starting in Application_Start o ...
I have an ASP.Net MVC3 app. When the LogIn action is called, I use the MembershipProvider to validate the user and FormsAuthentication to set the cook ...
I need to manage a dictionary that saves userID + username for every user that logs in. When the user makes an ajax call, I want to check if the userI ...
If I want to store some Objects to share across pages and session which one should I use? HttpContext.Current.ApplicationInstance.Application or Http ...
I've just installed the .NET 4.5 reference source from Microsoft as I'm trying to debug an issue I'm seeing and I stumbled across the following in Htt ...