Open Closed

UI Issues after publishing project template to Azure #1866


User avatar
0
balessi75 created
  • ABP Framework version: v4.4.2
  • UI type: Blazor Server
  • DB provider: EF Cor
  • Tiered (MVC) or Identity Server Separated (Angular):no

We just created our first abp commercial app using abp suite (Blazor Server/EF Core). We introdoced no code to the templated application. After running the DB migrations, we were able to sucessfully run the application locally through Visual Studio - everything woked as expected.

We then published the app to Azure Web Services through a Visual Studio right click and publish. After launching the app hosted in azure, we found UI issues that I hope someone can help me with. When logging in as the default admin, the user avatar image and user name is missing on the menu on the upper right of the application. Additionally, the Saas and Administrationmenu items on the left nav menu are not visible. When clicking into any item under the user drop down on the upper right of the app, the Saas and Administration items then apper on the left nav menu. But, when we click on a Saas or Administration item we receive an abp message "Authorization failed! Given policy has not granted.".

The same DB was used when running locally and when running in azure.

Any help would be greatly appreciated.


2 Answer(s)
  • User Avatar
    0
    balessi75 created

    For anyone running into this issue... the following link provided the resolution. Websockets in your Azure App Service need to be turned on

    https://stackoverflow.com/questions/47652865/azure-webapps-404-error

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Thanks balessi75

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