- Notifications
You must be signed in to change notification settings - Fork 843
/
Copy pathProgram.cs
21 lines (18 loc) · 619 Bytes
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
usingMicrosoft.AspNetCore;
usingMicrosoft.AspNetCore.Hosting;
namespaceMicrosoft.Teams.Apps.VirtualAssistant
{
publicclassProgram
{
publicstaticvoidMain(string[]args)
{
BuildWebHost(args).Run();
}
publicstaticIWebHostBuildWebHost(string[]args)=>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>()// Note: Application Insights is added in Startup. Disabling is also handled there.
.Build();
}
}