I am currently using Octopus to publish web services. Is there any way to start the services after publishing it automatically using power shell script or any other way.
Thanks
I am currently using Octopus to publish web services. Is there any way to start the services after publishing it automatically using power shell script or any other way.
Thanks
If your aim is to spin up your app pool so that the first request doesn't take longer than normal, you can issue the following in your post-deploy.ps1
Invoke-WebRequest -Uri "http://localhost/SomeTestPage"
Of if you have .NET 4:
http://weblogs.asp.net/scottgu/auto-start-asp-net-applications-vs-2010-and-net-4-0-series