Skip to content

luke92/WindowsServiceNetCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

WindowsServiceNetCore

Creating a Windows Service in Net Core 2.1 using HTTP CLIENT and Integration

Packages to install

Install-Package Microsoft.Windows.Compatibility

Deploy service

dotnet publish -r win-x64 -c Release
or dotnet publish -r win-x86 -c Release

Create Service

sc create TestService BinPath=C:\full\path\to\publish\dir\WindowsServiceExample.exe

Releases

No releases published

Packages

No packages published