Windows Service on Shared Windows Hosting

天大地大妈咪最大 提交于 2019-12-22 01:08:56

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!