I've written a small application that simply has a timer that polls a database on a tick. When specific entries are found, it does a bit of processing.
Currently this is written in C# and hosted in a Windows Service.
Many of my team's other, more "interactive" services are being moved to being centrally hosted in IIS. For consistency, I was asked to convert my service to be hosted in IIS.
Is it possible to host a service that has no Interface in IIS? I'm used to seeing OnStart and OnStop methods, are those still available when hosted this way?