Hi,
You can try:
public override void OnApplicationInitialization(ApplicationInitializationContext context)
{
......
AsyncHelper.RunSync(async () =>
{
using (var scope = context.ServiceProvider.CreateScope())
{
await scope.ServiceProvider
.GetRequiredService<IDataSeeder>()
.SeedAsync();
}
});
}
Try:
Configure<AbpDbContextOptions>(options =>
{
options.Configure(c =>
{
c.UseSqlServer();
c.DbContextOptions.UseTriggers();
});
});
Hi,
I can't see anything error in your logs. can I check it remotely? shiwei.liang@volosoft.com
https://github.com/abpframework/abp/pull/9213
You need to install these packages : )
private void ConfigureMenu(ServiceConfigurationContext context)
{
Configure<AbpNavigationOptions>(options =>
{
options.MenuContributors.Add(new ProductModuleHostMenuContributor(context.Services.GetConfiguration()));
});
}
Same with 1
For now, try:
public override void PostConfigureServices(ServiceConfigurationContext context)
{
Configure<RazorPagesOptions>(options =>
{
options.Conventions.RemoveAll(x =>
{
if (x == null)
{
return false;
}
var type = x.GetType();
if (type.Name != "PageApplicationModelConvention")
{
return false;
}
return type.GetField("_path", BindingFlags.NonPublic | BindingFlags.Instance).GetValue(x)
.As<string>() == "/SettingManagement/Index";
});
});
}
This is a bug, I will fixed it. by the way, ticket refunded : )
I can't get your point, you want the IssuerUri to change with the tenant, right?