Hi,
Could you try using per request redis cache and see if it makes any difference ? https://aspnetboilerplate.com/Pages/Documents/PerRequestRedisCache
Hi @hongbing.wang
Thanks. Is it possible for us to access your project and test this case using your latest source code ?
Hi,
App decides which layout to use here https://github.com/aspnetzero/aspnet-zero-core/blob/dev/angular/src/app/app.component.html#L2-L14. You can add your logic here to change the used theme.
Hi @pliaspzero
Is it possible to share your project with [email protected] ? We will cehck the problem on your project.
Thanks,
Hi @OriAssurant
We have found the reason of the problem. It is because of JToken
and JObject
usages in CustomersController
, ExternalController
and OrdersController
.
You can either use DTO classes instead or exclude these controllers from swagger as shown below;
options.DocInclusionPredicate((docName, description) =>
{
var excludedControllers = new[]
{
"CustomersController",
"ExternalController",
"OrdersController",
};
foreach (var excludedController in excludedControllers)
{
if (description.ActionDescriptor.DisplayName.Contains(excludedController))
{
return false;
}
}
return true;
});
Hi @pliaspzero
As far as I remember, we (and some other developers) tried this but it didn't work. We will test this in Edge and create a GitHub issue.
Hi @huntethan89
Is it possible for you to share your project's latest version with [email protected] ?
Hi @hongbing.wang
Are you able to see the request and response for retrieving the access token using refresh token ? If so, could you share them with us ?
Hi @pliaspzero
Could you share your Abp NuGet package version ? I remember a problem with Redis in one of the old versions.
Thanks,
Thanks. Could you share where do you use PermissionManagerExtensions
? I assume it is used inside a code block which uses caching.