Some time ago when there were no ASP.NET-Core hosted-services the choice for a service-type application was pretty clear, it was a Windows Service. However, recently I've noticed that at least some people misuse hosted-service for this purpose. I've seen applications that had absolutely no REST API whatsoever and were just services.
Is this how this technology is supposed to be used now or is this just some new trend started by people who do not understand it? Me included... so I have a couple of questions:
- What is the difference between the two in terms of services?
- When should I use a classic Windows Service and when it is accetable to implement it as a hosted-service in a ASP.NET-Core application?
- Do I still need Windows Service for anything or should I upgrade my current Windows Services to hosted-services?