Open Closed

Issue with DefaultBrandingProvider #1930


User avatar
0
Spospisil created
  • ABP Framework version: v4.4.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I've implemented the DefaultBrandingProvider class to put the logon on the identity server 'login' screen and it does not use the image I provided in the logoUrl property.


1 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi @Spospisil, you need to override LogoReverseUrl in YourProjectBrandingProvider on your *.Web layer.

    [Dependency(ReplaceServices = true)]
    public class YourProjectBrandingProvider : DefaultBrandingProvider
    {
      public override string AppName => "YourProjectName";
    
      public override string LogoReverseUrl => "/images/logo/abp-purple.png"; //override LogoReverseUrl
    }
    

    I've added an image under wwwroot/images/logo named abp-purple.png. And I've also cleared the cache to see the result.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13