Activities of "liangshiwei"

Hi,

I don't know what the logged-in users mean.

From your description, it sounds like a user who is using the application.

Just a suggestion:

You can use the SianglR and store the user information at the OnConnectedAsync event.

public class ActiveHub:...
{
   private readonly ICurrentUser _currentUser;
   
    ......   

   public override async Task OnConnectedAsync()
   {
        await AddActiveUserToCache();
    
        return base.OnConnectedAsync();
   }
   
   public async Task AddActiveUserAsync()
   {
       var userId = _currentUser....;
       .....
   }
   
    public override async Task OnDisconnectedAsync(Exception exception)
    {
        await RemoveActiveUserAsync();
        return base.OnDisconnectedAsync(exception);
    }   

   public async Task RemoveActiveUserAsync()
   {
       ....
   }
}

Hi,

Usually, we don't introduce changes in minor releases, like 5.1.0 to 5.1.x

But for 5.1.x to 5.2.0, we may introduce some changes,

You can check our migration guide: https://docs.abp.io/en/abp/latest/Migration-Guides/Index, https://docs.abp.io/en/commercial/latest/release-notes and release logs to know what's changed.: https://docs.abp.io/en/commercial/latest/release-notes

Hi,

You need to check our migration guide: https://github.com/abpframework/abp/blob/dev/docs/en/Migration-Guides/Abp-6_0.md

Use CLI: switch-to-preview or just change all ABP's NuGet packages version to 6.0.0-rc.2

BTW, I recommend you wait for the 6.0 stable release.

Change all Microsoft.Extensions.FileProviders.Embedded packages version to 6.0.5

And change the Volo.Payment.Stripe.HttpApi to stable version 5.3.3.

Hi,

System.Threading.Tasks.TaskCanceledException: A task was canceled.

It looks like the user canceled the request, not a bug.

Run app y connect 115 user o more

Our abo.io platform is also based on ABP and audit module and there is no problem,

Hi,

Sorry, this is our current module's design. but you can easy to custom it for your case.

For example:

public class MyFeatureDefinitionProvider : FeatureDefinitionProvider
{
    public override void Define(IFeatureDefinitionContext context)
    {
        var myApp = context.AddGroup("MyApp");
        myApp.AddFeature("Account.Enable", "true",new FixedLocalizableString("Enable account"), valueType: new ToggleStringValueType());

    }
}

public class MyPermissionDefinitionProvider : PermissionDefinitionProvider
{
    public override void Define(IPermissionDefinitionContext context)
    {
        var accountGroup = context.GetGroup(AccountPermissions.GroupName);

        foreach (var permission in accountGroup.Permissions)
        {
            permission.RequireFeatures("Account.Enable");
        }
    }
}

Hi,

It looks like you are using the nightly builds version, you need to switch to stable first: https://docs.abp.io/en/abp/latest/CLI#switch-to-stable

Hi,

It's still working for you. https://support.abp.io/QA/Questions/2031/Commercial-source-code-to-angular-package#answer-c9240a14-80f6-80b2-ecff-39ffce7e7ea8

If you need the v6 source code, I can share the source code with you via email.

Hi,

Yes you can.

public class MyProfileManagementPageContributor : IProfileManagementPageContributor
{
    public async Task ConfigureAsync(ProfileManagementPageCreationContext context)
    {
        context.Groups.RemoveAll(x => x.Id == "Volo-Abp-Account-PersonalInfo");
    }
}

Hi,

The profile manage UI is extensible, you can easy to add a new tab.

For example:

public class MyProfileManagementPageContributor : IProfileManagementPageContributor
{
    public async Task ConfigureAsync(ProfileManagementPageCreationContext context)
    {
        context.Groups.Add(
            new ProfileManagementPageGroup(
                "my-account-profile",
                "My account profile",
                typeof(MyPictureManagementGroupViewComponent)
            )
        );
    }
}
public class MyPictureManagementGroupViewComponent: AbpViewComponent
{
    public virtual async Task<IViewComponentResult> InvokeAsync()
    {
        return View("~/Pages/<Your path>/Default.cshtml");
    }
}
&lt;h1&gt;Hello world&lt;/h1&gt;
public class YourModule : AbpModule
{
   public override void ConfigureServices(ServiceConfigurationContext context)
   {
       Configure<ProfileManagementPageOptions>(options =>
       {
           options.Contributors.Add(new MyProfileManagementPageContributor());
       });
       
        Configure<AbpBundlingOptions>(options =>
        {

            options.ScriptBundles
                .Configure(typeof(Volo.Abp.Account.Public.Web.Pages.AccountManageModel).FullName,
                    configuration =>
                    {
                        configuration.AddFiles("/Pages/<Your path>/Default.js");
                    });
        });
   }
}
Showing 4841 to 4850 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.