Activities of "liangshiwei"

Hi,

As david.hurtado said.

You need add <add key="BlazoriseMyGet" value="https://www.myget.org/F/blazorise/api/v3/index.json" /> to your NuGet.Config and restore package.

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.

Showing 6121 to 6130 of 6693 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.