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.
24 lines
608 B
24 lines
608 B
using System.Threading.Tasks;
|
|
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
|
|
|
namespace Lion.AbpPro.Web.Blazor
|
|
{
|
|
public class Program
|
|
{
|
|
public static async Task Main(string[] args)
|
|
{
|
|
var builder = WebAssemblyHostBuilder.CreateDefault(args);
|
|
|
|
var application = builder.AddApplication<WebBlazorWebAssemblyModule>(options =>
|
|
{
|
|
options.UseAutofac();
|
|
});
|
|
|
|
var host = builder.Build();
|
|
|
|
await application.InitializeAsync(host.Services);
|
|
|
|
await host.RunAsync();
|
|
}
|
|
}
|
|
}
|
|
|