Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p>What does this mean for those of us that used to write Windows Services to support our web apps?</p> </blockquote> <p>I think this a key scenario where you could be move away from a Windows service to using the continous running web site.</p> <blockquote> <p>Should we adopt this model? </p> </blockquote> <p>Standard development answer: Depends ;)</p> <blockquote> <p>What are the pitfalls? </p> </blockquote> <p>One issue I can see is the IIS dependency. If you need a service to run on a users machine I would not feel comfortable about asking them to install IIS just to run my service. Here I think the traditional model works better.</p> <p>Monitoring and tracking are major issues, but as you also point out this is solved by AppFabric. It is even better than what you get from the Window Service. However you have added another dependency which also will require .NET 4.0 and a relatively new version of Windows. I could also be wrong here, but my understanding is that AppFabric is not supported in production on client OS's. Which could bring in additional headaches.</p> <p>You will lose pause functionality in the continuous web site model too.</p> <p>Finally IIS killing inactive app-pools isn't the only way an app pool can recycle. Editing a web.config file causes it for instance, which may not be an ideal situation.</p> <blockquote> <p>the most useful being the ease of deployment. </p> </blockquote> <p>I also think development is much easier - in the past I have had a console app and a windows service so I can dev/test on my machine using the console app and then change it to a windows service when it goes out. Now dev/test is MUCH easier.</p> <p>A must read for this is <a href="http://weblogs.asp.net/britchie/archive/2010/09/08/death-to-windows-services-long-live-appfabric.aspx" rel="nofollow noreferrer">Death to Windows Services...Long Live AppFabric!</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload