« Previous Next »

Thread: IIS7 Activation

Last post 05-11-2007 6:58 AM by steve schofield. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 05-09-2007, 3:29 PM

    • Zuninet
    • Not Ranked
    • Joined on 05-09-2007, 7:28 PM
    • Posts 2

    IIS7 Activation

    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.
  • 05-09-2007, 11:37 PM In reply to

    Re: IIS7 Activation

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

    Cheers,
    Bernard Cheah
  • 05-10-2007, 7:30 AM In reply to

    • Zuninet
    • Not Ranked
    • Joined on 05-09-2007, 7:28 PM
    • Posts 2

    Re: IIS7 Activation

    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.

     

  • 05-11-2007, 1:15 AM In reply to

    • bills
    • Top 25 Contributor
    • Joined on 02-03-2006, 5:33 PM
    • Redmond, WA
    • Posts 433

    Re: IIS7 Activation

    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.

     

    ~~~~~~~~~~~~~~~~~~~~~~~~
    Bill Staples
    Product Unit Manager, IIS
    blog: http://blogs.iis.net/bills
  • 05-11-2007, 6:58 AM In reply to

    Re: IIS7 Activation

    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

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
Page 1 of 1 (5 items)
Microsoft Communities