first commit

This commit is contained in:
2026-03-22 00:29:34 +01:00
commit c16b4e3933
1729 changed files with 162013 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Webshop.App;
using Webshop.App.Services;
var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
builder.RootComponents.Add<HeadOutlet>("head::after");
builder.Services.AddHttpClient<IEmployeeDataService, EmployeeDataService>(
client => client.BaseAddress = new Uri("https://localhost:7039"));
builder.Services.AddHttpClient<ICountryDataService, CountryDataService>(
client => client.BaseAddress = new Uri("https://localhost:7039"));
builder.Services.AddHttpClient<IJobCategoryDataService, JobCategoryDataService>(
client => client.BaseAddress = new Uri("https://localhost:7039"));
builder.Services.AddScoped<ApplicationState>();
builder.Services.AddLocalStorageServices();
await builder.Build().RunAsync();