.net - How to host a console application on Windows Server 2003? -


i have host console program hosts application used asp.net 4.0 , should running. best way host on server? can run console application commandline can closed accidently.

windows service not option don't have source code console app.

you don't need source code run app service; there several different ways can configure executable run windows service.

there's the classic method reskit tool srvany.exe (and yes, works more modern versions of windows), or you can use sc.exe.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -