2020-05-22 11:23:25 +01:00
|
|
|
using Microsoft.AspNetCore.Hosting;
|
|
|
|
using Microsoft.Extensions.Hosting;
|
|
|
|
|
|
|
|
namespace Example.ASPBlazor
|
|
|
|
{
|
2020-05-22 12:53:58 +01:00
|
|
|
public class Program
|
2022-11-27 12:29:35 +00:00
|
|
|
{
|
|
|
|
public static void Main(string[] args)
|
2020-05-22 11:23:25 +01:00
|
|
|
{
|
2022-11-27 12:29:35 +00:00
|
|
|
CreateHostBuilder(args).Build().Run();
|
2020-05-22 11:23:25 +01:00
|
|
|
}
|
2022-11-27 12:29:35 +00:00
|
|
|
|
|
|
|
public static IHostBuilder CreateHostBuilder(string[] args) =>
|
|
|
|
Host.CreateDefaultBuilder(args)
|
|
|
|
.ConfigureWebHostDefaults(webBuilder =>
|
|
|
|
{
|
|
|
|
webBuilder.UseStartup<Startup>();
|
|
|
|
});
|
|
|
|
}
|
2020-05-22 11:23:25 +01:00
|
|
|
}
|