- Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathProgram.cs
More file actions
Latest commit
19 lines (16 loc) · 472 Bytes
/
Copy pathProgram.cs
File metadata and controls
19 lines (16 loc) · 472 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
usingMicrosoft.AspNetCore.Hosting;
usingMicrosoft.Extensions.Hosting;
namespaceAspNetCoreUploadTest;
publicclassProgram
{
publicstaticvoidMain(string[]args)
{
CreateHostBuilder(args).Build().Run();
}
publicstaticIHostBuilderCreateHostBuilder(string[]args)=>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
});
}