4
votes

I am following instructions on how to deploy Blazor WebAssembly (HOSTED) as stated here

https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/blazor/?view=aspnetcore-3.1&tabs=visual-studio

It is unclear when I want to publish project do I run publish on a WebAssembly project or on Server project. Both projects under same solution do allow publish and publish directories are created separately, for example

/bin/Release/netstandard2.1/publish

and

/bin/Release/netcoreapp3.1/publish

Which directory out of these two should I deploy to production server?

1

1 Answers

4
votes

Publish the server. It contains the app.