Category : windows-services

Okay, i’ve written a Console application and it works. This is the code. static void Main(string[] args) { IceMain.Instance.Start(); Console.ReadLine(); IceMain.Instance.Stop(); IceMain.Instance.Term(); } Now, when i write a C# Windows Service, and try to start the service. It didn’t work. This is the Windows service code… public partial class Service1 : ServiceBase { public Service1() ..

Read more

I have a background with Linux for running services, first time working on Microsoft environment. Code could be improved in many areas I’m sure, first step is getting a running service. I’ve referenced many posts and documentation, but I’m not yet able to fully understand how Microsoft services and dotnet interact as compared to a ..

Read more