Reputation: 105
I want to make a windows service but I do not see a template or reference to anything like that in Visual Studio Community Edition 2017. Is there something else that replaced windows services, or has the nomenclature changed?
If not, is there a place I can download a windows service application template for c# .net 4.5? When I look online I do not see any templates for C# except "xUnit Test Project Template"
Where are the templates?
EDIT:
It turns out my installation did not complete. It was giving an error during installation so I had to delete some temporary files and then it finished installing, and now all of the templates including windows service are there.
Upvotes: 0
Views: 2073
Reputation: 1847
The most recent .NET based Windows NT Service development that I have seen had developed using TopShelf:
https://github.com/Topshelf/Topshelf
You create a Windows application and import the TopShelf libraries using Nuget.
Upvotes: 2