问题
I have process which continuously downloads XML from the feed and saves it to DB. I have a Windows Shared Hosting.
My question is what should I use..WCF or Windows Service or Web Service.
I cant use ASP.net because it will run on call only...but I need it run 24/7. Can you guyz suggest me how to design it?
I have written a Windows Service but was unable to run it on the Server.
My hosting provider is Hostgator.com
回答1:
You need to do it in a Windows Service. To run it you'll need a VPS hosting (or dedicated, but it will cost much more).
Start with building a Console Application that does what you need. After you have it look online how to convert it to a windows service.
来源:https://stackoverflow.com/questions/9152348/windows-service-on-shared-windows-hosting