Hi,
I created a WCF Service Library project with MSMQ and hosted it in IIS. Client sends a request to the service. When service is down, requests are stored in MSMQ. Everything works fine except the service doesn't start automatically when Web Site is restarted. I have to either click on Service in a browser in IIS Manager or enter its URL. After doing that, I get a page with the following "You have created a service. To test this service, you will need to create a client and use it to call the service..."
AppFabric is not a solution in my case because I don't have an application, only a website.
This is a structure of my Visual Studio 2010 Solution:
ProjectService
> Properties
> References
App.config
IService1.cs
Service1.cs
ServiceHost.svc (with only one line "<%@ ServiceHost
Service="ProjectService.Service1" %>)
Is it possible to automatically start the service after Web Site is restarted?
Thanks, Alla