blazorwebassemblyjelastic

Host blazor webassembly in Jelastic cloud


Is it possible to tweak Jelastic's .NET Core application server to build and launch blazor webassembly? Basically instead of dotnet run I need to execute something like

dotnet publish --configuration Release
dotnet run --configuration Release --project Server

Solution

  • For publishing, the post-deploy hook should be used

    cd $WEBROOT && dotnet publish --configuration Release
    

    For running, these variables should be set

    APP_NAME=Server
    RUN_OPTION= --configuration Release