1
themisoft created
Hello,
I'm trying to inject the "ISettingManager
" into a .razor page:
When i do it this way, i get the error, that the Service is not registered:
It worked in a non-tiered Solution, that i was testing a few months ago.
What i tried:
- Adding the Service manually (via.
AddScoped
,AddSingelton
etc.) in the Blazor Module "ConfigureServices" Method. This led to more complex Errors - Adding
[DependsOn(typeof(AbpSettingManagementDomainModule))]
. This also led to more complex Errors. - Removing the
ISettingManager
removes the Error, theISettingProvider
works fine.
What this code is supposed to to do:
- Saves a Filepath.
- ABP Framework version: v8.0.2
- UI Type: Blazor Server
- Database System:PostgreSQL
- Tiered Blazor Server (Auth,Blazor,ApiHost Server): yes