BuecherwurmAPI/Program.cs

27 lines
722 B
C#
Raw Normal View History

2020-05-26 08:42:18 +00:00
using System;
2020-05-25 10:04:21 +00:00
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
2020-05-26 08:42:18 +00:00
using Microsoft.Extensions.Hosting;
2020-05-25 10:04:21 +00:00
using Microsoft.Extensions.Logging;
namespace BuecherwurmAPI
{
public class Program
{
public static void Main(string[] args)
{
2020-05-26 08:42:18 +00:00
CreateHostBuilder(args).Build().Run();
2020-05-25 10:04:21 +00:00
}
2020-05-26 08:42:18 +00:00
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
});
2020-05-25 10:04:21 +00:00
}
}