Hello liangshiwei, I have followed this document. make following changes:
1- IdentityServer/ HttpApi.Host csproj --> appsettings.json "AbpTwilioSms": { "AccountSId": "AC13c30f4dc66c93a4cmnsdfkjlahfk3ae9244", "AuthToken": "a547ed14luofasd9dc5ef6f0c3cb", "FromNumber": "+12504365764" },
2- IdentityServer/ HttpApi.Host csproj --> Added TwilioSMS Nuget packege
3- Add below code in *Module Class of IdentityServer/ HttpApi.Host csproj
[DependsOn( ..... ...... typeof(AbpTwilioSmsModule) )]
4- Host admin kept the 2F optional, Tenant Admin kept the 2F optional, User kep 2F mandatory
5- Now 2 problem statement:
Hi Team, I have moved 1 table from tenant unaware to tenant aware by adding "IMultiTenant" interface in domain class. i am facing 2 challenges: 1- tenantid in db is setting as null 2- as i have configured seperate db for tenant but data is getting saved in host db only.
please help what i am missing
public class Disease : FullAuditedAggregateRoot<Guid>, IMultiTenant { public virtual Guid? TenantId { get; set; }
[NotNull]
public virtual string Code { get; set; }
[NotNull]
public virtual string Name { get; set; }
}
No Worries and Thanks for all help. I am able to setup and run the tenant in new DB
ok. Thanks. Let me try
Hello liangshiwei, Thanks. what should be next step?
Please note i am using 4.2.2