hi
You can check this. I copied the code from base.
protected async override Task<IdentityUser> RegisterLocalUserAsync()
{
var userDto = await RegisterLocalUser2Async();
var user = await UserManager.GetByIdAsync(userDto.Id);
user.Name = Input.FirstName;
user.Surname = Input.LastName;
(await UserManager.UpdateAsync(user)).CheckErrors();
return user;
}
protected virtual async Task<IdentityUser> RegisterLocalUser2Async()
{
ValidateModel();
var captchaResponse = string.Empty;
if (UseCaptcha)
{
captchaResponse = HttpContext.Request.Form[RecaptchaValidatorBase.RecaptchaResponseKey];
}
var userDto = await AccountAppService.RegisterAsync(
new RegisterDto
{
AppName = "MVC",
EmailAddress = Input.EmailAddress,
Password = Input.Password,
UserName = Input.FirstName + Input.LastName,
ReturnUrl = ReturnUrl,
ReturnUrlHash = ReturnUrlHash,
CaptchaResponse = captchaResponse
}
);
return await UserManager.GetByIdAsync(userDto.Id);
}
You need to include
your navigation entity.
https://support.abp.io/QA/Questions/2301#answer-c47f204b-9a58-626b-5c6a-3a00e7a19105
https://docs.abp.io/en/abp/5.0/Entity-Framework-Core#explicit-lazy-loading https://docs.microsoft.com/en-us/ef/core/querying/related-data/eager
Maybe the x.Asset
is null. Can you try to include it? or ignore it?
Can you check this (x => x.Asset.Equals(ConvertInt64(row[0].ToString())))
Try to use constant expressions.
You can use Github as an external login to check the entire process.
Create a new project with angular as UI then add AddGitHub
https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers
hi
Can you share the full error stack?
Isn't that something you should offer in the framework, large file upload?
We should follow the Microsoft recommendation.
How does the File Management Module deal with such large files?
It only has simple http upload.