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

N

newjazzharmony

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
 
B

bruce barker \(sqlwork.com\)

not perfect, but in web.config <compilation> section set
numRecompilesBeforeAppRestart to 1.

-- bruce (sqlwork.com)
 
N

newjazzharmony

bruce said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top