473,396 Members | 1,805 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How do I configure an ASP dot net app to restart every time it's run in debug mode?

I have noticed that when I run my ASP dot net application in debug mode
and set a breakpoint in the Application_Start event, this event is not
raised every time I run the project.

Is there a way to configure the project so that the application
restarts every time I run it in debug mode?

Thanks,
Jonathan

May 30 '06 #1
2 930
not perfect, but in web.config <compilation> section set
numRecompilesBeforeAppRestart to 1.

-- bruce (sqlwork.com)
<ne************@hotmail.com> wrote in message
news:11**********************@j73g2000cwa.googlegr oups.com...
I have noticed that when I run my ASP dot net application in debug mode
and set a breakpoint in the Application_Start event, this event is not
raised every time I run the project.

Is there a way to configure the project so that the application
restarts every time I run it in debug mode?

Thanks,
Jonathan

May 30 '06 #2
bruce barker (sqlwork.com) wrote:
not perfect, but in web.config <compilation> section set
numRecompilesBeforeAppRestart to 1.


Thanks for the response.
I tried it, but it doesn't seem to be working.

May 30 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: paul calvert | last post by:
I hope somewhere here has encountered and solved a similar problem in the past. 1) on a new Win2000 PC: installed Visual C++ 6.0 download & install single file Service Pack 5.0 2) try to...
13
by: python | last post by:
hello and thanks for reading this, i have been a dos/windows user using some form of the basic language for 30 years now. i own and run a small programming company and there is one feature that...
5
by: LL | last post by:
Hi, I use Applicaiton lever variable like this: Application = xxx; Do I need to restart the WWW service every time to reset it? I also have several Session variables. When Session_End event...
4
by: jim | last post by:
I am trying to debug a user written web control and web control designer. I found an article “Building Windows Forms Controls and Component with Rich Design-Time Features” that describes how...
0
by: Rich | last post by:
Hello, I have an asp.net app that runs OK on a workstation in debug mode (from the IDE). If I copy the asp.net app to another location or another workstation (which is configured exactly the...
8
by: kenneth fleckenstein nielsen | last post by:
hi guru's I want to restart my webservice when ever it throws an exception that isn't cought. can i do that by web.config or iss or how ??
1
by: newjazzharmony | last post by:
When I run an ASP dot net application in debug mode and put a breakpoint inside the Application_Start event (in global.asax.cs), sometimes it stops there and sometimes it doesn't. I was under...
1
by: newjazzharmony | last post by:
I have noticed that when I run my ASP dot net application in debug mode and set a breakpoint in the Application_Start event, this event is not raised every time I run the project. Is there a...
0
by: sandhya0209 | last post by:
I am using MYSQL version 5.0 (5.0.46). I intend to configure wait_timeout variable by updating the my.ini file(WINDOWS XP). But the value updated in this file is not getting reflected when checked in...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.