Looks like a proper way to register is
Configuration.IocManager.Register<ITenantResolveContributor, DefaultTenantResolveContributor>(DependencyLifeStyle.Transient);
It worked.
It is created in my new project I call MyProject.Extensions
I tried adding this code in core module but it did not help: Configuration.IocManager.IocContainer.Register( Component.For<ITenantResolveContributor>() .ImplementedBy<DefaultTenantResolveContributor>() .LifestyleTransient()); }
I already did. There are a lot of good features in your framework that can be uncovered with a few lines of code.
I believe there is more, as backend needs to save into tenant storage. For example:
await SettingManager.ChangeSettingForTenantAsync(AbpSession.GetTenantId(),AppSettings.TenantManagement.BillingLegalName, input.LegalName);
vs
await SettingManager.ChangeSettingForApplicationAsync(EmailSettingNames.DefaultFromAddress, input.DefaultFromAddress);
sounds like a great feature to have
The issue is here with MailKit, here is Connect that fixes the issue client.Connect( _smtpEmailSenderConfiguration.Host, _smtpEmailSenderConfiguration.Port, //_smtpEmailSenderConfiguration.EnableSsl SecureSocketOptions.Auto );
Thanks. One feature might be nice it to add ability to configure IS4 clients via tenant configuration, as it would change from one to another.
Same time IS4 supports mongodb, so one can just configure support? Right?