dev
Rev | Line | |
---|
[e6a6d9a] | 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 FinkiChattery.Api
|
---|
| 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.