hi
You can use dotnet run
command to run your project. If this command works, that means VS has a problem.
Thanks.
hi
The latest document mentioned it. : )
https://abp.io/docs/latest/framework/infrastructure/timing#useabptimezone-middleware
hi
You can override the MultiTenantConnectionStringResolver
to see if the connection string is correct.
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.MultiTenancy/Volo/Abp/MultiTenancy/MultiTenantConnectionStringResolver.cs#L27-L81
hi
Can you try to clear your local Redis?
Your issue is related to your local environment, not the code.
EF Core 有一些action 你可以自定义它们来为所有实体增加一些配置
请参考 https://abp.io/docs/latest/framework/data/entity-framework-core#abpdbcontextoptions
反射判断属性类型并配置它们。
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/AbpDbContext.cs#L121-L140
Configure<AbpDbContextOptions>(options =>
{
options.ConfigureDefaultConvention((dbContext, builder) =>
{
// This action is called for ConfigureConventions method of all DbContexts.
});
options.ConfigureConventions<YourDbContext>((dbContext, builder) =>
{
// This action is called for ConfigureConventions method of specific DbContext.
});
options.ConfigureDefaultOnModelCreating((dbContext, builder) =>
{
// This action is called for OnModelCreating method of all DbContexts.
});
options.ConfigureOnModelCreating<YourDbContext>((dbContext, builder) =>
{
// This action is called for OnModelCreating method of specific DbContext.
});
});
hi
I just created a new template project from ABP Studio.
hi
Can you share a project to reproduce this problem?
liming.ma@volosoft.com
I will download and debug it.
Thanks.