Click here to Skip to main content
14,699,089 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i am tried to create a windows service in

What I have tried:

i have create a project in under windows desktop what i do next
Updated 13-Mar-19 2:17am

Take a look at Host ASP.NET Core in a Windows Service:

An ASP.NET Core app can be hosted on Windows as a Windows Service without using IIS. When hosted as a Windows Service, the app automatically starts after reboots.

View or download sample code.
You can't write a Windows service in, is a technology for building websites. If you're using Visual Studio then it should have a service project type you can use. Google for writing services for help and sample code.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900