Could you share a minimal reproduceible project with me? i will check it.
shiwei.liang@volosoft.com
Hi,
You can consider this https://learn.microsoft.com/en-us/ef/core/modeling/inheritance
Hi,
To add a new menu to the Bottom, you have to custom the side-menu layout
You can set the HTTP Request timeout.
BWT, I don't remember uploading a very large file like this.
Hi,
you can try to create a new uow to create a user.
for example:
Guid userId;
using (var uow = _unitOfWorkManager.Begin(requiresNew: true, isTransactional: true))
{
var newUserName = await GetUniqueUserNameAsync(input.Name.Trim(), input.Surname.Trim());
var user = new IdentityUser(_guidGenerator.Create(), newUserName.Trim(), input.Email, tenantId);
var creationResult = await _identityUserManager.CreateAsync(user, input.Password.Trim());
creationResult.CheckErrors();
await _identityUserManager.SetEmailAsync(user, input.Email.Trim());
await _identityUserManager.SetPhoneNumberAsync(user, input.PhoneNumber.Trim());
user.Name = input.Name.Trim();
user.Surname = input.Surname.Trim();
......
userId = user.Id;
await uow.CompleteAsync();
}
var userDetails = await _identityUserManager.GetByIdAsync(userId);
Hi,
okay
Test is configured using the Production Redis db for now so that I can keep everything consistent for troubleshooting.
Don't use Production Redis db for Test env.
I think it's related to the session check.
you can try this to check if it's works:
[ExposeServices(typeof(IdentitySessionChecker))]
public class MyIdentitySessionChecker : IdentitySessionChecker
{
public MyIdentitySessionChecker(IOptions<AbpClaimsPrincipalFactoryOptions> abpClaimsPrincipalFactoryOption, IdentitySessionManager identitySessionManager, IDistributedCache<IdentitySessionCacheItem> cache, IClock clock, IWebClientInfoProvider webClientInfoProvider, IOptions<IdentitySessionCheckerOptions> options) : base(abpClaimsPrincipalFactoryOption, identitySessionManager, cache, clock, webClientInfoProvider, options)
{
}
public override Task<bool> IsValidateAsync(string sessionId)
{
return Task.FromResult(true);
//return base.IsValidateAsync(sessionId);
}
}
Hi,
you can use CSS
to change the style without any problem.
Sorry, I don't know what exact question is