hi
Active Directory requires the username with its domain name like "domain\user".
domain\user
is a good solution, then you can split the domain and username in your custom ldap service.
You can also add a new setting and override the setting page.
I don't know your use case, just tell you you can change this service to change /Abp/ServiceProxyScript
endpoint.
Its looks good.
Can you send me a project that I can debug? liming.ma@volosoft.com
You can create a new project via CLI
You can replace the AbpServiceProxyScriptController
https://github.com/abpframework/abp/blob/e3e1779de6df5d26f01cdc8e99ac9cbcb3d24d3c/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ProxyScripting/AbpServiceProxyScriptController.cs#L32
hi
How do you decrypt it?
https://github.com/abpframework/abp/blob/e3e1779de6df5d26f01cdc8e99ac9cbcb3d24d3c/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ProxyScripting/AbpServiceProxyScriptController.cs#L32
: )
You can share it to liming.ma@volosoft.com
hi
Can you share the full code of your DataSeedContributor
U need to add some sample master data in site settings,tax settings and product settings
You can create a DataSeedContributor
to seed these data like IdentityServerDataSeedContributor
.
BTW: Never call the Result of an asynchronous method but use await
Maybe this is the cause of the error.
public async Task<List<PurchaseOrder>> GetNearDueDatesAsync()
{
var CurrentDate = DateTime.Today;
var statusId = _statusRepository.GetListAsync().Result.FirstOrDefault(r => r.Name.ToUpper() == StatusConsts.OpenStatus.ToUpper()).Id;
var query = (await GetDbContextAsync()).PurchaseOrders
.Where(x => x.DeliveryDueDate.Date >= CurrentDate.Date && x.StatusId == statusId);
return await query.Take(DashboardConsts.ShowDataCount).ToListAsync();
}
to
public async Task<List<PurchaseOrder>> GetNearDueDatesAsync()
{
var CurrentDate = DateTime.Today;
var statusId = (await _statusRepository.GetListAsync()).FirstOrDefault(r => r.Name.ToUpper() == StatusConsts.OpenStatus.ToUpper()).Id;
var query = (await GetDbContextAsync()).PurchaseOrders
.Where(x => x.DeliveryDueDate.Date >= CurrentDate.Date && x.StatusId == statusId);
return await query.Take(DashboardConsts.ShowDataCount).ToListAsync();
}
``