blazor project for cs

This commit is contained in:
Norm Rasmussen
2022-06-09 22:22:29 -04:00
parent a12dc47d97
commit 6b46bc3f67
862 changed files with 26395 additions and 5 deletions

11
CS_Todo/Program.cs Normal file
View File

@ -0,0 +1,11 @@
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using CS_Todo;
var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
builder.RootComponents.Add<HeadOutlet>("head::after");
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
await builder.Build().RunAsync();