You can refer to this reply to solve. [https://github.com/aspnetboilerplate/aspnetboilerplate/issues/3547#issuecomment-400181114])
You can judge the current user return information in the program. Even the same DTO. You can "eras out" the relevant data after the query.
Of course, you can also write two application service methods and two DTOs to call the display for different identity users.
I hope the above can help you. :)
The case of Entity cannot be changed, but you can configure the ColumnName of the EF Core database. for example:
modelBuilder.Entity<User>().Property(x => x.Id).HasColumnName("id");
I found the reason, please see [https://github.com/aspnetboilerplate/aspnetboilerplate/issues/3569#issuecomment-401983717])
Already received, we began to check to see.
hi System15
I also downloaded ASP.NET Zero (ASP.NET Core with Angular ) v 5.5.2, but failed to reproduce the error. Since you are a newly downloaded project, you can send your project to <a href="mailto:[email protected]">[email protected]</a> and let's take a look.
hi amrsaafan
Has the Microsoft.Extensions.Configuration package been upgraded to 2.1? I saw on nuget that it is already 2.1 [https://www.nuget.org/packages/Microsoft.Extensions.Configuration/2.1.1])
hi tteoh.
I think you entered the wrong directory. In the picture you are in the web.host directory, you should go into the angular directory.