See https://support.abp.io/QA/Questions/1998#answer-4d3a68d7-a71e-d05f-4696-39ffadcafd82
If the global setting does not take effect, it will fall back to use the value in appsettings.json, and the product service has not changed appsettings.json.
hi
Add this to gateways\web\src\MicroServiceDemo.WebGateway\appsettings.json
{
"DownstreamPathTemplate": "/api/custom-text-template-management/{everything}",
"DownstreamScheme": "https",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 44367
}
],
"UpstreamPathTemplate": "/api/custom-text-template-management/{everything}",
"UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ]
}
I guess you are using the Unify DbContext, So you should using IRepository<IdentityUser, Guid>.
https://community.abp.io/articles/unifying-dbcontexts-for-ef-core-removing-the-ef-core-migrations-project-nsyhrtna
but on background worker it says that the DBContext has already been disposed.
Please try to start a new uow in your background worker method.
https://docs.abp.io/en/abp/latest/Unit-Of-Work#begin-a-new-unit-of-work
NET Standard as the target platform's class library will be able to run on all .NET platforms
If we change all layers to .net5 , will we run into an unexpected error ?
No. Your application will be fine.
hi
You are request the TokenEndpoint, this is Identity Server endpoint, ABP won't wrap the exception.
You can override this AbpResourceOwnerPasswordValidator sevice to custom the response.
https://github.com/abpframework/abp/blob/42966c11258d8f681a2cc22b662f3ed0ea6f0dc9/modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/AspNetIdentity/AbpResourceOwnerPasswordValidator.cs#L103
hi
You can create a new project to check the blazorise package version.
Can you share some code of your API and full error log and stack?
hi
Are you requesting an API or a razor page?
Can you share full error log and stack info.