Base solution for your next web application

Activities of "leonkosak"

using (_session.Use(desiredTenant.Id, desiredUser.Id)) { //await CreateNewCorrectiveMaintenanceRequest(inputInternal); var output = inputInternal.MapTo<MaintenanceRequest>(); await _maintenanceRequestManager.CreateNewCorrectiveMaintenanceRequestAsync(output); } I can confirm, that desiredUser.Id has non-null value, but the entity in dababase has CreatorUserId null.

Am I missing something?

Holy crap! Even for small binaries, the loading times are not acceptable soon.

@maliming: What was wrong? I am calling angular application (ANZ) in iFrame from other application and currently I have CORS issues. Thank you.

Hi, No, but potential customer for ANZ (or abp.io) has such feature request (and it's one of the major features if I understand the system correctly). :) I couldn't give them an answer to this question.

If LDAP authentication is used (.NET Core + Angular), are there any difficulties (additional request for password,...) to access files on external network drives (with the same AD credentials which are used for authenticating in ANZ)?

For instance. ANZ-based app would be hosted on application server, but files would be stored/located on multiple different external network drives inside local network. Administrator for files on these network drives would assign which AD user could access specific file.

ANZ-based app should be able gracefully handle file access permission stuff transparent as possible.

Thank you for advices.

It works (at least we haven't had issues yet). :)

Cool. Tnx. :)

MyPeriodicBackgroundMethod()
{
    var tenantIdList = new List<int>();  //all **tenants** which have **dedicated database**
    
    foreach (var tenantId in tenantIdList)
    {
        using (_unitOfWorkManager.Current.SetTenantId(tenantId)
        {
	         //code for specific tenant - inserts, updates, deletes in this tenant database
        }
    }
}

Is somehow possible and safe make foreach loop parallel (TPL - Parallel.ForEach) or not in such background job or worker? Thank you for explanations.

It cannot be overriden. So you suggest that such codelist (SQL table) is without TenantId column, BUT the data (rows) are copied in each tenant database (we want this code list that is stored in db)?

DeviceType code list: NO ONE could add/edit/delete records. Code list is predefined and maintained by us developers only.

Device: This is not code list. These are "concrete data".

Showing 1 to 10 of 55 entries