22 lines
471 B
C#
22 lines
471 B
C#
using GerstITS.Logging.Serilog;
|
|
using GerstITS.Web.Api.Hosting;
|
|
|
|
namespace GerstITS.Examples.Api;
|
|
|
|
public class Program : ProgramBase<Program>
|
|
{
|
|
#region Methods
|
|
|
|
public static void Main(string[] args)
|
|
{
|
|
BootstrapLogContext.Execute<Program>(_ => Run(args));
|
|
}
|
|
|
|
protected override void ConfigureWebHost(IWebHostBuilder webHostBuilder)
|
|
{
|
|
webHostBuilder.UseLogging()
|
|
.UseStartup<Startup>();
|
|
}
|
|
|
|
#endregion
|
|
} |