Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "maliming"

Yes, you need to change and I will change in Zero.

https://docs.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/built-in/partial-tag-helper?view=aspnetcore-2.1#migrate-from-an-html-helper


The PR: https://github.com/aspnetzero/aspnet-zero-core/pull/2086

Is there a log on the server?

To enable and view stdout logs:https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/troubleshoot?view=aspnetcore-2.2#aspnet-core-module-stdout-log

try remove: JSON.stringify

data: {
    ColumnName1: $("#selector1").val(),
    HasHeader: $("#selector2").is("checked")
};
Answer

The simplest solution: The application sets the TenantId at the same time each time the system is called. How it is set up depends on how you determine the current tenant. For example, set the HTTP request header: Abp.TenantId

https://aspnetboilerplate.com/Pages/Documents/Multi-Tenancy#determining-current-tenant

Currently not implemented (requires a lot of changes)

Previous discussion: https://support.aspnetzero.com/QA/Questions/6195

Uncheck Use Default Credentials

What is the startup.cs content of your web.host project?

You can refer to the code of zero:

https://github.com/aspnetzero/aspnet-zero-core/blob/4d320b11bedbd0628c1332b1d223e76df8fe27be/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Application/Authorization/Roles/RoleAppService.cs#L95

https://github.com/aspnetzero/aspnet-zero-core/blob/29212eb9058eeef8380e83ac1d216a747d3d06d6/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Application/Editions/EditionAppService.cs#L194

If I understand what you mean correctly, I think you can use Host users to do these things, You can assign some tenants (TenantId) to some users (UserId) Then the Host user makes a judgment when operating the tenant.

Showing 2611 to 2620 of 3000 entries