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

Activities of "maliming"

hi

www.mydomain.com is host(www).

https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.AspNetCore/AspNetCore/MultiTenancy/DomainTenantResolveContributor.cs#L56

Of course you can also customize the DomainTenantResolveContributor. eg: host.mydomain.com or admin.mydomain.com

hi

The code of appSession exists in wwwroot/Common/Scripts/appSession.js.

var app = app || {};
(function () {
    abp.services.app.session.getCurrentLoginInformations({ async: false })
    .done(function (result) {
        app.session = result;
    });
})();

hi

You can try:

For mvc
var tenancyName = app.session.tenant ? app.session.tenant.tenancyName : null;

For angular
injector AppSessionService

hi

https://github.com/aspnetboilerplate/aspnetboilerplate/blob/a49362fad71deafe1aad7a9566cd6a61676e8e0b/src/Abp.AspNetCore/AspNetCore/ApplicationPartManagerExtensions.cs#L9

hi

UserTokenExpirationWorker will get the tenants info in the host, and then switch to the tenant to execute the deletion of tokens.

It is compatible with hosts and tenants using the same database and different databases.

I don't particularly understand your code, but you can refer to UserTokenExpirationWorker.

If you have a lot of tenants and data, you can consider using sub-jobs in background jobs.

https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.ZeroCore/Authorization/Users/UserTokenExpirationWorker.cs#L40-L66

hi

https://siteURL.net/account/confirm-email is angular component. in angular\src\account\email-activation\confirm-email.component.ts

If you are using IIS to host angular, are you using the correct web.config?

It should have rewrite configuration

Answer

hi

Are you using EF Core 2.x or 3.x? Please share some code.

hi

  • What is your product version?
  • What is your product type (Angular or MVC)?
  • What is product framework type (.net framework or .net core)?

You can get from current UI culture (CultureInfo.CurrentUICulture.Name)

hi

You can try adding modules to ApplicationPartManager.

public override void PostInitialize()
{
	IocManager.Resolve<ApplicationPartManager>()
		.AddApplicationPartsIfNotAddedBefore(typeof(YourModule).Assembly);
}

hi

You can view the documentation in github, I will fix it. : )

https://github.com/aspnetzero/documents/blob/master/docs/en/Developing-Angular-Customizable-Dashboard.md

Showing 251 to 260 of 2998 entries