If I have to run an application under Desktop Windows Services, what would be the best ?
Have a console application or an API ?
Thx
If I have to run an application under Desktop Windows Services, what would be the best ?
Have a console application or an API ?
Thx
You can remove the form out of a Windows form project and execute the exe from a Windows service program. It's a formless exe file. like a console program, but there is no desktop form or communications happening with the program. If you want to communicate with the program from the service, you can use Named Pipes.
That' right, although I usually will start with "Console" application template to remove the dependency on GUI system libraries, so that this service will also run on Server Core versions.
8 people are following this question.
Insert a node as child ,before or after a node in nested dynamic JSON Node using C#
Visual Studio 2019: Undefined behavior in a C++/CLI wrapper project.
Example for how to get Package Metadata from Azure DevOps Rest-Api Artifacts using c#
How to collapse individual nested grids/stackpanels inside a grid?