hanyadikhetvan/Program.cs

32 lines
866 B
C#
Raw Normal View History

2021-02-08 20:48:10 +01:00
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace hanyadikhetvan
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
2021-02-09 15:20:06 +01:00
.ConfigureLogging(logging =>
{
logging.ClearProviders();
logging.AddConsole();
})
2021-02-08 20:48:10 +01:00
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
});
}
}