The value 'send-email-user' is not valid for id.
I can't see why this causes this error, can you share a simple project?
Sending HTTP request POST "https://localhost:44325/api/userTask-service/task-managements/send-email-user?emailTo=srinivas.k%40exceego.com&emailBody=test&emailSubject=test&api-version=1.0" [INF] Received HTTP response headers after 2830.2244ms - 500
Can you share some code of this method? and DTO class.
hi
You should always persist the key to the database or redis, etc. If you use redis, make sure that the key is not cleared;
https://docs.identityserver.io/en/latest/topics/startup.html#key-material https://docs.microsoft.com/en-us/aspnet/core/security/data-protection/configuration/overview?view=aspnetcore-5.0
hi
Try to add format: abp.localization.currentCulture.dateTimeFormat.shortDatePattern
$dateRangePicker.datepicker({
autoclose: true,
language: abp.localization.currentCulture.cultureName,
format: abp.localization.currentCulture.dateTimeFormat.shortDatePattern
});
The value 'invite' is not valid for id The value 'send-email-user' is not valid for id
There is a problem with your request parameters. Can you share full logs?
hi
Yes, Can you try?
hi
It is not supported by default, you can add new methods to implement it, you can check the corresponding documentation for details.
https://docs.microsoft.com/en-us/dotnet/api/system.net.mail.mailmessage.attachments?view=net-5.0
http://www.mimekit.net/docs/html/Creating-Messages.htm
hi
The AuthenticationStateProvider
is service of Blazor Server not of abp.
https://github.com/dotnet/aspnetcore/blob/release/5.0/src/Components/Server/src/DependencyInjection/ComponentServiceCollectionExtensions.cs#L80
You can inject it directly instead of creating a subclass of it.
return await Task.Run(() => _activeUsers.Values.ToList());
Use return Task.FromResult(_activeUsers.Values.ToList());
insteadof Task.Run
hi
Are you enable WebSockets
of IIS?
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/websockets?view=aspnetcore-5.0#iisiis-express-support
hi
You are call async method in sync method. Can be replace by AsyncHelper.RunSync
https://github.com/abpframework/abp/blob/48c52625f4c4df007f04d5ac6368b07411aa7521/framework/src/Volo.Abp.BackgroundWorkers/Volo/Abp/BackgroundWorkers/AbpBackgroundWorkersModule.cs#L18
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