1 Account Module
Account.httpApi provide httpapi user registration,
Login services are provided by identityserver, manage different client, identityresource and apiResource
1, single service
Identityserver integrated services for certification Api Resource
ConfigureService服务增加AddAuthentication().AddIdentityServerAuthentication(option=>{option.Authority;option.RequestHttpsMetadata;option.ApiName})
In the pipeline to increase AddIdentityServer, AddJwtTokenMiddleWare
Seed data definition module IDataSeedContributor Domain,
Performed DbMigrator console project, first generation Host database, import seed data IDataSeeder.Seeder (),
Tenant database is then generated, introducing seed data DataSeeder.Seeder (tenantId)