支持挂接到Windows服务执行
This commit is contained in:
parent
75d738a857
commit
855cc6b36e
|
@ -19,6 +19,7 @@ namespace ReportService
|
|||
Host.CreateDefaultBuilder(args)
|
||||
.ConfigureWebHostDefaults(webBuilder => {
|
||||
webBuilder.UseStartup<Startup>();
|
||||
});
|
||||
})
|
||||
.UseWindowsService();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,5 +9,6 @@
|
|||
"AllowedHosts": "*",
|
||||
"Database": {
|
||||
"ReportService": "Server=.\\SQLSERVER2008R2;Database=ReportService;User ID=sa;Password=111"
|
||||
}
|
||||
},
|
||||
"urls": "http://*:9000;https://*:9001"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user