application-start Questions

4

Solved

I am debugging an ASP.NET 2.0 application that is suffering from slow loading of the initial page. Through adding logging, I've found that the Application_Start event fires twice on startup with a...
Ampere asked 10/9, 2010 at 13:59

1

Solved

I would like to know how can I setup the IIS, or the application if needed, for the next requirement: - When the application pool starts in IIS it should call to Application_Start in Global.asax ...
Sanctity asked 11/12, 2012 at 16:13

3

Solved

I'm just starting to get my feet wet learning the technical details of Azure, so apologies if this is a silly question. If I create a cloud service project in visual studio and add a webrole for a...
Coppage asked 21/5, 2013 at 21:44

3

Solved

I have an ASP.NET application in which I am writing this code in Application_OnStart event: public virtual void OnStart(HttpApplication httpApplication) { MyClass.PopulateIndices(); } Now, I kn...
Jeffersonjeffery asked 5/10, 2011 at 13:44

1

Solved

If get this from the Microsoft official documentation: The Application_Start and Application_End methods are special methods that do not represent HttpApplication events. ASP.NET calls them once...

1

Solved

I'm wondering if there is a way to automagically fire off an Application Start for a web site/application whenever the Application Pool for that site is recycled? Are there any canned solutions fo...
Swartz asked 29/10, 2010 at 18:18

1

I have some code that initializes a static singleton class, which is needed by all requests. Therefore I thought I could add it to global.asax Application_Start. Can I be 100% sure that all request...
Letterhead asked 5/5, 2010 at 19:39

4

Solved

I need to use Server.MapPath() to combine some files path that I store in the web.config. However, since Server.MapPath() relies on the current HttpContext (I think), I am unable to do this. When ...
Thisbe asked 1/6, 2009 at 17:57

2

Solved

can anyone suggest how to configure the log4net for an console app? Or at least how/where to catch the Application_Start event? (It seams that some calls are required at this moment) Thanks in ad...
Amador asked 16/11, 2009 at 13:3

2

Solved

I was wondering if there is a good way to hook into the Application_Start of a SharePoint 2007 site when developing a feature? I know I can directly edit the Global.asax file in the site root, but ...
Klaipeda asked 23/9, 2008 at 16:41
1

© 2022 - 2024 — McMap. All rights reserved.