locked
IIS7 Activation RRS feed

  • Question

  • User1628099268 posted
    We're working our way through architecting a new application and building the hosting environment for what will be a group of applications.   We'd like to consider IIS7 as the hosting environment for this application, but the issue we can't seem to find an answer on is can you have an application under IIS7 startup without being message activated, i.e from a start event.  What we want to achieve is have IIS start and then our applications start based on that event, before anyone hits any the website through http/tcp etc.
    Wednesday, May 9, 2007 3:29 PM

Answers

  • User-2026410440 posted

    Sorry, the IIS process model only works through demand activation.  A message (such as an http request) must arrive to the protocol listener in order for the application to spin up.

     

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, May 11, 2007 1:15 AM
  • User1073881637 posted

    As Bill mentioned, IIS has to receive an 'event'.  You could have an external monitor program send requests to your application every so often.  This could be a windows service or a script executed by a scheduled task.   Here is a blog that shows how to use VBS and Windows Task schedule to initiate an event.

    http://weblogs.asp.net/steveschofield/archive/2006/09/28/Schedule-a-task-to-call-a-webpage-using-Task-scheduler_2E00_.aspx

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, May 11, 2007 6:58 AM

All replies

  • User989702501 posted

    Don't quite get you, activate/start the app before user come in?

    Wednesday, May 9, 2007 11:37 PM
  • User1628099268 posted

    Yes, before a user requests a page or any message is sent to IIS.   Essentially use IIS for message activated hosting and applications that start once IIS starts up.   Things like workflow runtime etc.  We want to host applications that start doing work once IIS starts up, and not have to build them into a separate container like a windows service.

     

    Thursday, May 10, 2007 7:30 AM
  • User-2026410440 posted

    Sorry, the IIS process model only works through demand activation.  A message (such as an http request) must arrive to the protocol listener in order for the application to spin up.

     

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, May 11, 2007 1:15 AM
  • User1073881637 posted

    As Bill mentioned, IIS has to receive an 'event'.  You could have an external monitor program send requests to your application every so often.  This could be a windows service or a script executed by a scheduled task.   Here is a blog that shows how to use VBS and Windows Task schedule to initiate an event.

    http://weblogs.asp.net/steveschofield/archive/2006/09/28/Schedule-a-task-to-call-a-webpage-using-Task-scheduler_2E00_.aspx

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, May 11, 2007 6:58 AM