Hi, can you check if both AbpSession.TenantId
and TenantId
of CurrentUnitOfWork
are the same?
TenantId of CurrentUnitOfWork can be obtained by the following:
if (_unitOfWorkManager.Current != null)
{
var tenantId = _unitOfWorkManager.Current.GetTenantId();
}
Hi @david5, can you provide the network request details as well?
Hi, did you download the metronic v5.5 from https://github.com/aspnetzero/aspnet-zero-core/releases?
In the files under /metronic_v5.5.5/theme/angular/*
only /metronic_v5.5.5/theme/angular/js/framework/base/util.js
contains some jquery workaround.
Hi @statuscast, I tried both module-zero-core-template
and aspnetzero
. I was able to reproduce the missing migrations.
However, i do notice that even if the migrations up()/down()
does not contain migration changes, the modelsnapshot is updated with
b.Property<string>("Value")
+ .HasColumnType("nvarchar(max)")
.HasMaxLength(2000);
Can you try using the following command for creating migrations?
.HasColumnType("nvarchar(max)"
changes in your snapshotdotnet ef migrations add -c MyCompanyDbContext "<migration_name>"
One difference between the two projects should be identity server configuration aspnetzero
and not ``module-zero-core-template`
is this angular version? or jquery?
hi, i would suggest a hybrid approach that could save you some time on re-creating the entities and application services.
web.core
and web.host
projects (api/endpoint mainly come from application
projectweb.mvc
to angular projectweb.host
(which contains all the endpoints)you can achieve similar function using www.getpostman.com#creating_run_button
does this happen only to Abp.Configuration.Setting
?
what about other ABP tables?
did you install msbuild
tool for your vs2017?
did you run npm run create-bundles
?