Skip to content

Instantly share code, notes, and snippets.



Created Mar 27, 2018
What would you like to do?
Program Blazor
using Microsoft.AspNetCore.Blazor.Browser.Rendering;
using Microsoft.AspNetCore.Blazor.Browser.Services;
namespace BlazorExample
class Program
static void Main(string[] args)
var serviceProvider = new BrowserServiceProvider(configure =>
// Add any custom services here
new BrowserRenderer(serviceProvider).AddComponent<App>("app");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment