public void Configure(IComponentsApplicationBuilder app) { app.AddComponent <App>("app"); app.UseCsla((c) => c.DataPortal().DefaultProxy(typeof(Csla.DataPortalClient.HttpProxy), "/api/DataPortal")); }
public void Configure(IComponentsApplicationBuilder app) { //app.AddComponent<App>("app"); app.AddComponent <ProjectTracker.Ui.Blazor.App>("app"); ProjectTracker.Ui.Blazor.App.IsServerSide = false; app.UseCsla(c => c .DataPortal() .DefaultProxy(typeof(Csla.DataPortalClient.HttpProxy), "http://localhost:8040/api/dataportaltext/")); }
public void Configure(IComponentsApplicationBuilder app) { app.AddComponent <App>("app"); // detect when the authentication state changes, and update Csla ApplicationContext.User var authStateProvider = app.Services.GetRequiredService <AuthenticationStateProvider>(); authStateProvider.AuthenticationStateChanged += AuthStateProvider_AuthenticationStateChanged; app.UseCsla((c) => c.DataPortal().DefaultProxy(typeof(Csla.DataPortalClient.HttpProxy), "/api/DataPortal")); }