the get service method doesn't work here context.Services.GetRequiredService<>, any other method to inject a service here?
spublic override void PostConfigureServices(ServiceConfigurationContext context)
{
var logger = context.Services.GetRequiredService<ILogger<PointLinkWebModule>>();
var mvcCachedApplicationConfigurationClient = context.Services.GetRequiredService<MvcCachedApplicationConfigurationClient>();
var mvcCachedApplicationConfiguration = mvcCachedApplicationConfigurationClient.GetAsync().GetAwaiter().GetResult();
if (mvcCachedApplicationConfiguration != null)
{
logger.LogInformation("MVC Cached Application Configuration: {Configuration}", mvcCachedApplicationConfiguration);
//foreach (var configuration in mvcCachedApplicationConfiguration.)
//{
// logger.LogInformation("mvcCachedApplicationConfiguration value: {Value}", configuration.Value);
//}
}
else
{
logger.LogWarning("MVC Cached Application Configuration is null.");
}
}
```
I did this, cannot inject the service
Is there a entry point to override the MvcCachedApplicationConfigurationClient class? Not found a configure point for this
Local debug project has a short time delay or refresh the page can get the permissions on zh-Hans language setting, other language works fine. On production environment still occurred this problem on zh-Hans language setting after set IsDynamicClaimsEnabled as false, really odd
Specified the folder to generate CRUD page for microservice template when using ABP Suite
There is a variable %%module-name-slash-postfix%% in the abp suite template, and when creating a new modular module, it could generate the CURD pages in the folder with the module name, look forward to place a micro service UI in the microservice template when generating the UI pages also follow the module name named folder to organized the folder structure better, especially for razor page when have many micro-service UI generated in the web app.
I have occurred the same issue with abp suite version 9.2.1 on microservice module generation. I have checked the DbContext with the above mentioned, no problem with my code, but it still failed.
This issue still existing, any suggestion to fix it?