Activities of "improwise"

[maliming] said: hi

This exception doesn't happen in the .NET CLI and the Rider IDE, so it's related to Visual Studio.

You can eliminate it in VS or catch the exception.

try 
{ 
    var accessToken = ctx.Request.Query["access_token"]; 
    var path = ctx.Request.Path; 
 
    if (!string.IsNullOrEmpty(accessToken) && 
        path.StartsWithSegments("/signalr-hubs/chat")) 
    { 
        ctx.Request.Headers["Authorization"] = "Bearer " + accessToken; 
    } 
 
    await next(); 
} 
catch (IOException ex) when (ctx.RequestAborted.IsCancellationRequested) 
{ 
    // Read stream exceptions caused by the client disconnecting or canceling the request can usually be ignored. 
} 
catch (OperationCanceledException) when (ctx.RequestAborted.IsCancellationRequested) 
{ 
    // Same as above. 
} 

Thanks.

Thanks, but we are aware how to either change the code or the settings of Visual Studio to avoid this but we believe we shouldn't have to and that the ABP code should instead be updated to handle this unless there is a good reason for not handling this?

[maliming] said: hi

I think there will be no exception if you run the api by dotnet run command.

If so, you can ignore this exception in VS.

Thanks.

I believe this is something that should be handled better in the code, as this would require manual configuration in every project using the Chat module which should not be needed.

Thanks.

[maliming] said: hi

We will adjust Angular to display name and surname in the next patch version.

Also, how could we disable/hide everything but the logout button in this absurdly complicated user menu that make it seem like you are logged in as an admin even though it is a normal user?

Our Angular team will guide you in removing the menu items.

For MVC:

You can add a new MyUserMenuContributor to remove them.

PostConfigure<AbpNavigationOptions>(options => 
{ 
    options.MenuContributors.Add(new MyUserMenuContributor()); 
}); 
public class MyUserMenuContributor : IMenuContributor 
{ 
    public virtual Task ConfigureMenuAsync(MenuConfigurationContext context) 
    { 
        if (context.Menu.Name != StandardMenus.User) 
        { 
            return Task.CompletedTask; 
        } 
 
        context.Menu.TryRemoveMenuItem("Account.LinkedAccounts"); 
        context.Menu.TryRemoveMenuItem("Account.AuthorityDelegation"); 
        context.Menu.TryRemoveMenuItem("Account.ExternalLogins"); 
 
        return Task.CompletedTask; 
    } 
} 
 

Thanks.

Thanks you.

Please consider refunding this ticket as it seems it identified a problem.

Also, how could we disable/hide everything but the logout button in this absurdly complicated user menu that make it seem like you are logged in as an admin even though it is a normal user?

This seem to be related

https://abp.io/support/questions/5889/Use-user-first-name-and-last-name-on-the-menu-profile--instead-of-user-name-in-ABPUSer-table

but seems complicated and will probably break if LeptonX theme is updated.

We would ideally just want to his the username below the profile picture, and then have all UIs show Firstname Lastname when you go into the user accont menu (like with the MVC UI)

Ai instructions seems wrong here, referring to non existent files etc

Please fix the servicebot closing unresolved issues

ABP support team answer please

[maliming] said: hi

Every template project will include a footer component in next version. So developers can easily to customize it.

_ViewImports.cshtml is useful if you need use more razor features in this folder.

https://learn.microsoft.com/en-us/aspnet/core/mvc/views/layout?view=aspnetcore-10.0#importing-shared-directives

Thanks.

Thank you, that seems like a good solution/workaround.

Please consider refunding this ticket as it seems it was warranted and resulted in a change ABP side.

Thanks.

BTW, if you copy Themes folder, you will also get the _ViewImports.cshtml file but I guess that should perhaps not be included?

Showing 1 to 10 of 379 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.2.0-preview. Updated on February 17, 2026, 09:10
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.