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

Discussion in 'ASP .Net' started by newjazzharmony@hotmail.com, May 30, 2006.

  1. Guest

    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, 2006
    #1
    1. Advertising

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

    -- bruce (sqlwork.com)


    <> wrote in message
    news:...
    >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
    >
    bruce barker \(sqlwork.com\), May 30, 2006
    #2
    1. Advertising

  3. Guest

    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, 2006
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UmljaA==?=
    Replies:
    0
    Views:
    351
    =?Utf-8?B?UmljaA==?=
    May 16, 2005
  2. Mark
    Replies:
    3
    Views:
    428
  3. Nathan Sokalski
    Replies:
    11
    Views:
    682
    AAaron123
    Aug 14, 2009
  4. krishnan

    Dot Net Project Execution without Dot Net and Framework....

    krishnan, Jan 7, 2006, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    170
    krishnan
    Jan 7, 2006
  5. Replies:
    6
    Views:
    222
    Thomas 'PointedEars' Lahn
    Dec 12, 2005
Loading...

Share This Page