hi
You can share project via https://wetransfer.com/
You can create a new class MyBackgroundEmailSendingJobArgs : IMultiTenant
And use it in your QueueAsync method of CustomSmtpEmailSender.
hi
You are right. I will fix the tenant-switch problem. 👍
https://github.com/abpframework/abp/pull/19578
hi
There is an event OnSignedIn(AuthServer - MVC). You can add your logic code here.
context.Services.ConfigureApplicationCookie(options =>
{
options.Events.OnSignedIn = async cookieSignedInContext =>
{
//...
};
});
hi
Could you let us know where and how these are logged to audit log? Or how they are bypassing the middleware? Can we disable audit logging for only API controllers? Do we need to override the Interceptor too?
You can override the AuditingManager or AuditingStore to decide which logs can be written to the database.
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Auditing/Volo/Abp/Auditing/AuditingManager.cs#L115-L117 https://github.com/abpframework/abp/blob/dev/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AuditingStore.cs#L52-L59
hi
The app might not run at all.
Please check the stdout logs.
https://learn.microsoft.com/en-us/aspnet/core/test/troubleshoot-azure-iis?view=aspnetcore-8.0 https://learn.microsoft.com/en-us/aspnet/core/test/troubleshoot-azure-iis?view=aspnetcore-8.0#aspnet-core-module-stdout-log-azure-app-service
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/logging-and-diagnostics?view=aspnetcore-8.0
hi
Can you share a simple project? liming.ma@volosoft.com
I will check it locally.
Good news.
hi
The exposed interface is IEmailSender
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IEmailSender), typeof(ISmtpEmailSender), typeof(SmtpEmailSender), typeof(EmailSenderBase), typeof(CustomSmtpEmailSender))]
public class CustomSmtpEmailSender : SmtpEmailSender