Açık Kapalı

Deployment of Blazor Web Assembly to Container (Docker) #5297


User avatar
0
Spospisil oluşturuldu
  • ABP Framework version: v7.3.0
  • UI type: Blazor Web Assembly
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

We have generated a tiered Blazor Web Assembly solution that we are deploying to docker. We have the API, Auth Server and Public UI projects running find in the containers, however we don't see how we will 'host' the Blazor Web Assembly application. Do you have a recommended way to deploy/access the Blazor Web Assembly application? Currently we are relying on the Public Web Site for this, but it is not working.

Please explain how we can get the Blazor Web Assembly UI to render.


4 Cevap
  • User Avatar
    0
    gterdem oluşturuldu
    Senior .NET Developer

    You can check the docker deployment docs for application templates: https://docs.abp.io/en/commercial/latest/startup-templates/application/deployment-docker-compose?UI=Blazor&DB=EF&Tiered=Yes

  • User Avatar
    0
    Spospisil oluşturuldu

    How would we go about hosting the Blazor application as part of the public site deployment as we would prefer not to use NGINX as your link requires us to use?

  • User Avatar
    0
    Spospisil oluşturuldu

    Hi,

    I found this posting that appears to show what I am looking to do, albeit I want the public web site generated by ABP to be the hosting site vs the API host as described.

    https://community.abp.io/posts/blazor-webassembly-asp.net-core-hosted-zbjvgrc9

  • User Avatar
    0
    alper oluşturuldu
    Destek Takımı Director

    can we close this ?

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