How do I deploy a Microsoft Blazor application? Print

  • deploy blazor
  • 3

  1. Open your Visual Studio then click "Create a new project" option to create a new project


    deploy blazor app step 1



  2. Choose "Blazor App" then click Next


    deploy-blazor-website-app-step-2


  3. Configure your project name and location, then create it.


    deploy-microsoft-blazor-step-3

  4. Choose the .NET Core version and choose the Blazor App type, then click "Create" button to create your Blazor App. We recommend deploying as a WebAssembly (WASM).


    deploy-blazor


  5. If you want to publish this project to our server, please right-click the project name and click publish option to publish your project. On the Publish page please choose the "Import Profile" option and click "Next".

    deploy-microsoft-blazor-hosting-adaptive



  6. You can get our server publish setting info from your Plesk Control Panel.



    web deploy publishing settings



  7. Then click "Browse..." button to import our configuration file

    deploy-blazor-step-7


  8.  Then enter the web deploy publish password (same as your Control Panel password by default) to publish your project.

    deploy-blazor-step-8



  9. When your project publishes to our server you can use the browser to test it.

    deploy-blazor-step-9

Note: All web files reside in the /httpdocs folder which is your root folder by default.


Was this answer helpful?

« Back