21 lines
600 B
C#
21 lines
600 B
C#
using Microsoft.AspNetCore;
|
|
using Microsoft.AspNetCore.Hosting;
|
|
using Serilog;
|
|
|
|
namespace LCU.Api.Internal.FTP
|
|
{
|
|
public class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
var host = CreateWebHost(args);
|
|
host.Run();
|
|
}
|
|
|
|
public static IWebHost CreateWebHost(string[] args) =>
|
|
WebHost.CreateDefaultBuilder(args).UseSerilog((hostingContext, loggerConfiguration) => loggerConfiguration
|
|
.ReadFrom.Configuration(hostingContext.Configuration))
|
|
.UseStartup<Startup>().Build();
|
|
}
|
|
}
|