Hi @brallierc
I think Identity Server should be used if you wish to authenticated as the same user across multiple products.
However, whether to run AspNetZero as identify server involves a few things to take note. If identify server is configured with multi tenancy, would the individual product have multi tenancy enabled as well? If multi tenancy is enabled for both, to ensure tenant definition consistency across applications will be a challenge.
IMHO, multi tenancy should be either on identify server or applications and it's up to your requirements which side it should be.
I see. Is your ObjectMapper property injected?
Hi @rmorris, base on my understanding, background job is resume in module PostInitialize()
public override void PostInitialize()
{
// more code
if (Configuration.BackgroundJobs.IsJobExecutionEnabled)
{
var workerManager = IocManager.Resolve<IBackgroundWorkerManager>();
workerManager.Start();
workerManager.Add(IocManager.Resolve<IBackgroundJobManager>());
}
}
See <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp/AbpKernelModule.cs#L91">https://github.com/aspnetboilerplate/as ... ule.cs#L91</a>
IoC container registration in initialize
Can you explain more on this?
Possible related to <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/3620">https://github.com/aspnetboilerplate/as ... ssues/3620</a>
Hi @gowthamv
Can i check what is the value you used for the setting Abp.Zero.Ldap.ContextType?
You can do something like this
MailMessage mail = new MailMessage
{
Subject = "Subject",
Body = "Message",
IsBodyHtml = true
};
mail.Attachments.Add(new Attachment(stream, "invoice.pdf"));
await this._emailSender.SendAsync(mail);
Refer to <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2442">https://github.com/aspnetboilerplate/as ... ssues/2442</a>
Hi @feliw, which aspnetzero version and framework you used?
Also, which stage of the tutorial you were stuck in?
Hi @bobingham,
Can you try to remove [AbpAuthorize] and [DisableAuditing] for ExpirationHeartbeat() and check if it still being audited
Hi @muleso,
Both Host and Tenant admin users are required to change password on next login.
As indicated in <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.EntityFrameworkCore/Migrations/Seed/Host/HostRoleAndUserCreator.cs#L55">https://github.com/aspnetzero/aspnet-ze ... tor.cs#L55</a> <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.EntityFrameworkCore/Migrations/Seed/Tenants/TenantRoleAndUserBuilder.cs#L63">https://github.com/aspnetzero/aspnet-ze ... der.cs#L63</a>
Hi @jehadk,
Please override ConfigureClient as follow:
protected override void ConfigureClient(SmtpClient client)
{
client.Connect(
_smtpEmailSenderConfiguration.Host,
_smtpEmailSenderConfiguration.Port,
SecureSocketOptions.Auto
);
if (_smtpEmailSenderConfiguration.UseDefaultCredentials)
{
return;
}
client.Authenticate(
_smtpEmailSenderConfiguration.UserName,
_smtpEmailSenderConfiguration.Password
);
}
As mentioned in [https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.MailKit/DefaultMailKitSmtpBuilder.cs#L35])