cleanly separate SiteState service for client and server use cases

This commit is contained in:
Shaun Walker
2022-03-27 21:05:44 -04:00
parent 8b0b7492f5
commit c8129607e8
6 changed files with 23 additions and 9 deletions

View File

@ -74,7 +74,8 @@ namespace Oqtane
// register scoped core services
services.AddScoped<IAuthorizationHandler, PermissionHandler>()
.AddOqtaneScopedServices();
.AddOqtaneScopedServices()
.AddOqtaneServerScopedServices();
services.AddSingleton<IHttpContextAccessor, HttpContextAccessor>();