diff --git a/src/StaffManagement/Program.cs b/src/StaffManagement/Program.cs index 515af6c..ceb37c3 100644 --- a/src/StaffManagement/Program.cs +++ b/src/StaffManagement/Program.cs @@ -12,6 +12,7 @@ namespace StaffManagement public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) + .UseWindowsService() .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup(); })