greenoldman
greenoldman

Reputation: 21082

How to run published Blazor web client from the folder?

This question might be seen as follow-up of my previous one: How to run compiled blazor web client from command line?

I have correctly written Blazor web client (solution with only single project), I can run it from Visual Studio or from command line.

Now I published the project to the folder and I would like to run it from that folder -- the thing is all content is placed in "wwwroot/_framework" subfolder and I don't see server code needed for running all this stuff.

So how I make VS to publish server needed as well?

In short I would like to get all the files needed, so I can type "dotnet myapp.dll" or something like this, server will start with my blazor app. Exactly what happens when I run it from VS.

Upvotes: 9

Views: 2016

Answers (1)

Kaloyan Drenski
Kaloyan Drenski

Reputation: 1076

You can run it through IIS or Docker and something like Nginx.

Upvotes: -2

Related Questions