Open Closed

ABP Blazor server does not load resources under IIS applications #5339


User avatar
0
karl.ettinger@energieag.at created
  • ABP Framework version: v7.2.2
  • UI type: Blazor-Server
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  • abp new Acme.BookStore -u blazor-server -csf
  • Adding the line " app.UsePathBase("/BookStore");" at the beginning of OnApplicationInitialization
  • Changing to in _Host.cshtml
  • Change App:SelfUrl, App:RedirectAllowedUrls and AuthServer:Authority to https://localhost:44341/BookStore in appsettings.json
  • Creating an application in IIS under Default Web Site

I followed these instructions "https://learn.microsoft.com/en-us/aspnet/core/blazor/host-and-deploy/?view=aspnetcore-7.0&tabs=visual-studio#app-base-path".

Result: All links work but some resources are not loaded

What am I doing wrong?


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Steps to reproduce the issue:"

    abp new Acme.BookStore -u blazor-server -csf

    Can you share your project with me?

    liming.ma@volosoft.com

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    We will fix this in 2.3 official version of Lepton.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Your questions credits have been Refunded.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11