source:
db_tsh/Program.cs
Last change on this file was 705d6f5, checked in by , 2 days ago | |
---|---|
|
|
File size: 688 bytes |
Rev | Line | |
---|---|---|
[705d6f5] | 1 | using Microsoft.AspNetCore.Hosting; |
2 | using Microsoft.Extensions.Configuration; | |
3 | using Microsoft.Extensions.Hosting; | |
4 | using Microsoft.Extensions.Logging; | |
5 | using System; | |
6 | using System.Collections.Generic; | |
7 | using System.Linq; | |
8 | using System.Threading.Tasks; | |
9 | ||
10 | namespace db_tsh | |
11 | { | |
12 | public class Program | |
13 | { | |
14 | public static void Main(string[] args) | |
15 | { | |
16 | CreateHostBuilder(args).Build().Run(); | |
17 | } | |
18 | ||
19 | public static IHostBuilder CreateHostBuilder(string[] args) => | |
20 | Host.CreateDefaultBuilder(args) | |
21 | .ConfigureWebHostDefaults(webBuilder => | |
22 | { | |
23 | webBuilder.UseStartup<Startup>(); | |
24 | }); | |
25 | } | |
26 | } |
Note:
See TracBrowser
for help on using the repository browser.