hi
Microservices will use a cache prefix, It can't clean the cache properly if you use the different prefix in admin and product.
If I add a colon to the end of the key prefix this also works (I’m not entirely sure why that works)
I haven't reproduced this.
In conclusion: You can't use different prefix in several microservice.
hi
These are some algorithm/encryption things that I don't quite understand.
hi
we have a sample to use Domain Tenant Resolver , I think it will work for microservice as well, you can take a look first.
https://github.com/abpframework/abp-samples/tree/master/DomainTenantResolver
You can set the environment to Production to test locally.
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/environments?view=aspnetcore-7.0
hi
Did you add the Microsoft.Extensions.FileProviders.Embedded as well?
https://github.com/DrMuss/VFSDemo/commit/3a1045fe880578ce82416aa383e180547d4d45e5
hi
1- Disable Redis caching.
"IsEnabled": "false"
https://docs.abp.io/en/abp/latest/Redis-Cache#configuration
2- Remove unnecessary tables from the database, such as users, OpenID, ... etc.
You can remove some built-in modules, However, Removing the identity module( users tables) can be complicated.
You can consider starting from an empty web application.
https://docs.abp.io/en/abp/latest/Getting-Started-AspNetCore-Application
hi
I will try to reproduce, thanks
We inspected source of IdentityLinkUserManager.GetListAsync() method from github and this method makes too much round trips:
includeIndirect: true will have a large number of queries, which is inevitable.
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\common.props" />
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<RootNamespace>VFSDemo</RootNamespace>
<GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="7.0.0" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Templates\ConfirmEmail.cshtml" />
<Content Remove="Templates\ConfirmEmail.cshtml" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\VFSDemo.Domain.Shared\VFSDemo.Domain.Shared.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.Emailing" Version="7.0.1" />
<PackageReference Include="Volo.Abp.Caching" Version="7.0.1" />
<PackageReference Include="Volo.Abp.MailKit" Version="7.0.1" />
<PackageReference Include="Volo.Abp.PermissionManagement.Domain.Identity" Version="7.0.1" />
<PackageReference Include="Volo.Abp.PermissionManagement.Domain" Version="7.0.1" />
<PackageReference Include="Volo.Abp.BackgroundJobs.Domain" Version="7.0.1" />
<PackageReference Include="Volo.Abp.AuditLogging.Domain" Version="7.0.1" />
<PackageReference Include="Volo.Abp.FeatureManagement.Domain" Version="7.0.1" />
<PackageReference Include="Volo.Abp.SettingManagement.Domain" Version="7.0.1" />
<PackageReference Include="Volo.Abp.BlobStoring.Database.Domain" Version="7.0.1" />
<PackageReference Include="Volo.Abp.Identity.Pro.Domain" Version="7.0.1" />
<PackageReference Include="Volo.Abp.LanguageManagement.Domain" Version="7.0.1" />
<PackageReference Include="Volo.Abp.TextTemplating.Razor" Version="7.0.1" />
<PackageReference Include="Volo.Saas.Domain" Version="7.0.1" />
<PackageReference Include="Volo.Abp.TextTemplateManagement.Domain" Version="7.0.1" />
<PackageReference Include="Volo.Abp.Commercial.SuiteTemplates" Version="7.0.1" />
<PackageReference Include="Volo.Abp.Gdpr.Domain" Version="7.0.1" />
</ItemGroup>
</Project>
public class VFSDemoDomainModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
//...
Configure<AbpRazorTemplateCSharpCompilerOptions>(options =>
{
options.References.Add(MetadataReference.CreateFromFile(typeof(VFSDemoDomainModule).Assembly.Location));
});
Configure<AbpVirtualFileSystemOptions>(options =>
{
options.FileSets.AddEmbedded<VFSDemoDomainModule>();
});
//...
}
}
https://us05web.zoom.us/j/83439435626?pwd=bXRleVd0SVF5LzM3YlVZdjhrK0VnQT09