Skip to content

dcube9/Host-Blazor-Server-As-Windows-Service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Host a Blazor Server as a Windows Service

Demo project to hosting a Blazor Server as a Windows Service

Tools

  • Visual Studio 2022
  • .NET 6.0 for v6.x.x
  • NSSM - the Non-Sucking Service Manager
    • NSSM
    • Source
    • Licence : NSSM is public domain. You may unconditionally use it and/or its source code for any purpose you wish.

Build and Run

  • Build solutions
  • Publish project [optional]
  • In deploy folder copy all file from Tools folder

Then run as administrator

Batch file Description
InstallService.bat Install service
UninstallService.bat Uninstall service
StartService.bat Start service
StopService.bat Stop service

Note

Service is installed in manual start so you need start it !

Code Reviewers and Contributors

@andreatosato

About

Hosting a Blazor Server as a Windows Service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published