0
votes

I'm using the '.net Core hosted' option on a Blazor WebAssembly solution.

This creates a .net Core Web API project for you as part of the solution.

If I created this myself and launch the project it will launch a Swagger UI interface to the API. If I launch the Server project in the '.net Core hosted' Blazor app, it launches the client app (as expected).

How can I get a Swagger UI for the Web API server app? (to test the API with).

I can find nothing on Google about this - this link didn't help: Can I use Swashbuckle to generate Swagger UI from Blazor project c#

thx.