Activities of "liangshiwei"

I will check it out.

Hi,

You can see the login endpoint in the IdentityServer project.

Hi,

I can't reproduce problem, can you provide more steps or simaple project? thanks.

Try:

Configure<AppUrlOptions>(options =>
{
    options.Applications["Mp_App"].RootUrl = your url....;
});

HI,

Add NuGet.Config to your solution folder

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="BlazoriseMyGet" value="https://www.myget.org/F/blazorise/api/v3/index.json" />
  </packageSources>
</configuration>

Hi,

Using global filters is great, but you pay attention to the following:

  1. Do not use CurrentUser's roles. It is parsed from the token and will not be kept up to date,
  2. You can store roles in the cache and always keep the cache up to date
  3. Follow the custom filter document: https://docs.abp.io/en/abp/latest/Data-Filtering#defining-custom-filters

HI,

AppName is your front-end type, can be web, ios, angular.... . It can also be any value.

You can create a new appservices like:

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IAccountAppService))]
public class  MyAccountAppService : AccountAppService
{


    public MyAccountAppService(IdentityUserManager userManager, IAccountEmailer accountEmailer, IAccountPhoneService phoneService, IIdentityRoleRepository roleRepository, IdentitySecurityLogManager identitySecurityLogManager, IBlobContainer<AccountProfilePictureContainer> accountProfilePictureContainer, ISettingManager settingManager, IOptions<IdentityOptions> identityOptions) : base(userManager, accountEmailer, phoneService, roleRepository, identitySecurityLogManager, accountProfilePictureContainer, settingManager, identityOptions)
    {
    }

    public async Task<IdentityUserDto> MyRegisterAsync(MyRegisterDto input)
    {
        var result =await base.RegisterAsync(new RegisterDto() {....});

        var user = await UserManager.FindByIdAsync(result.Id.ToString());

        user.Surname = input.SurName;
            .....

        await UserManager.UpdateAsync(user);
    }
}
Answer

if i stop it and restart it from visual studio we get a context already closed exception

Maybe related to your application, can you make a simple project to reproduce ? thanks.

HI,

You can check the log output, the application will stop after the migration is successful.

You need to update your project version.

Showing 6121 to 6130 of 6692 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20