ok, can you share your project?
Thanks.
hi
Can you share the steps to reproduce it? Or share a project?
liming.ma@volosoft.com
Thanks.
hi
Can you enter window.webCMS in the browser console to check how many namespaces it contains?
Thanks,.
hi
I have fixed this in the Studio template; the next version will be no problem.
Thanks.
hi
I will check it again
Thanks
hi
Please update the CreateDatabaseAndGetConnection as below
private static SqliteConnection CreateDatabaseAndGetConnection()
{
var connection = new SqliteConnection("Data Source=:memory:");
connection.Open();
// AdministrationServiceDbContext ()
new AdministrationServiceDbContext(
new DbContextOptionsBuilder<AdministrationServiceDbContext>().UseSqlite(connection).Options
).GetService<IRelationalDatabaseCreator>().CreateTables();
// BlobStoringDbContext
new BlobStoringDbContext(
new DbContextOptionsBuilder<BlobStoringDbContext>().UseSqlite(connection).Options
).GetService<IRelationalDatabaseCreator>().CreateTables();
// LanguageManagementDbContext ()
new LanguageManagementDbContext(
new DbContextOptionsBuilder<LanguageManagementDbContext>().UseSqlite(connection).Options
).GetService<IRelationalDatabaseCreator>().CreateTables();
return connection;
}
Thanks.
hi
Razor page will be no problem. You can use it to test it now
Thanks.
hi
You are right. ABP will check your connection strings (SqlServerConnectionStringChecker) before saving to the database.
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.EntityFrameworkCore.SqlServer/Volo/Abp/EntityFrameworkCore/ConnectionStrings/SqlServerConnectionStringChecker.cs#L14-L38
Thanks.