Skip to content

Instantly share code, notes, and snippets.

@samueleresca
Created May 11, 2019 16:23
Show Gist options
  • Save samueleresca/3724a775c04badc1d568101bbc1e7e4b to your computer and use it in GitHub Desktop.
Save samueleresca/3724a775c04badc1d568101bbc1e7e4b to your computer and use it in GitHub Desktop.
using Microsoft.AspNetCore.Blazor.Hosting;
namespace HandsOn.WebAssemblyUsingBlazor
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IWebAssemblyHostBuilder CreateHostBuilder(string[] args) =>
BlazorWebAssemblyHost.CreateDefaultBuilder()
.UseBlazorStartup<Startup>();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment