hi
You can try to read the setting to see if it takes effect. https://docs.abp.io/en/abp/latest/Settings#setting-value-providers https://github.com/abpframework/abp-samples/tree/master/EmailSendDemo
The Password of Abp.Mailing.Smtp.Password in appsettings.json file needs to encrypt! Please use the IStringEncryptionService to encrypt the plain text password. Note that encryption may be affected by the configuration of StringEncryption:DefaultPassPhrase in appsettings.json.
hi
but still not got any succes
Can you share some code?
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.