You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
739 B
36 lines
739 B
5 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
5 years ago
|
using System.Net;
|
||
5 years ago
|
using System.Threading.Tasks;
|
||
4 years ago
|
using EPAServeur.Context;
|
||
5 years ago
|
using Microsoft.AspNetCore.Hosting;
|
||
|
using Microsoft.Extensions.Configuration;
|
||
|
using Microsoft.Extensions.Hosting;
|
||
|
using Microsoft.Extensions.Logging;
|
||
|
|
||
|
namespace EPAServeur
|
||
|
{
|
||
|
public class Program
|
||
|
{
|
||
|
public static void Main(string[] args)
|
||
|
{
|
||
5 years ago
|
CreateHostBuilder(args).Build().Run();
|
||
|
|
||
5 years ago
|
}
|
||
|
|
||
|
public static IHostBuilder CreateHostBuilder(string[] args) =>
|
||
|
Host.CreateDefaultBuilder(args)
|
||
4 years ago
|
.ConfigureLogging(logging =>
|
||
|
{
|
||
4 years ago
|
//logging.ClearProviders();
|
||
|
})
|
||
5 years ago
|
.ConfigureWebHostDefaults(webBuilder =>
|
||
|
{
|
||
|
webBuilder.UseStartup<Startup>();
|
||
|
});
|
||
4 years ago
|
|
||
4 years ago
|
|
||
5 years ago
|
}
|
||
|
}
|