فتح مغلق

MyProjectBrandingProvider is missing in the template #4371


User avatar
0
info@ericverschoor.nl خلقت
  • ABP Framework version: v7.0.0
  • UI type: Blazor Server
  • DB provider: EF Core
  • Tiered (MVC): no
  • Steps to reproduce the issue:"
  1. Create a new solution using abp suite
  2. start the application

You'll notice that the page title of the Web.Public does not contains the project title, It is using the default name of the DefaultBrandingProvider 'MyApplication'.

Reason the MyProjectBrandingProvider is missing in the Web.Public project but it does exist in the Blazor project.

Solution Add a MyProjectBrandingProvider to **MyProject.Web.Public **

namespace MyProject.Web.Public;

[Dependency(ReplaceServices = true)]
public class MyProjectBrandingProvider : DefaultBrandingProvider
{
    public override string AppName => "MyProject";
}

Please fix this in the abp templates


3 إجابة (إجابات)
  • User Avatar
    0
    maliming خلقت
    فريق الدعم Fullstack Developer

    Thanks, I will fix this.

  • User Avatar
    0
    info@ericverschoor.nl خلقت

    can you also refund this ticket?

  • User Avatar
    0
    maliming خلقت
    فريق الدعم Fullstack Developer

    Refunded

Made with ❤️ on ABP v8.2.0-preview Updated on مارس 25, 2024, 15:11