Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a way to easily test the Blazor WebAssembly publish output #17528

Open
danroth27 opened this issue Dec 2, 2019 · 3 comments
Open

Provide a way to easily test the Blazor WebAssembly publish output #17528

danroth27 opened this issue Dec 2, 2019 · 3 comments

Comments

@danroth27
Copy link
Member

@danroth27 danroth27 commented Dec 2, 2019

We don't have a simple way to test the publish output of a Blazor WebAssembly app. You basically have to deploy the published app to some environment to try running it (IIS or some other static site host).

We have the Blazor dev server. Could we make that a stand alone tool that you could use for this purpose?

@javiercn

This comment has been minimized.

Copy link
Member

@javiercn javiercn commented Dec 2, 2019

@danroth27 thanks for contacting us :trollface:

You can do & 'C:\Program Files (x86)\IIS Express\iisexpress.exe' /path:$PWD /port:5000 in the published output folder and navigate to port 5000 :)

@javiercn javiercn added the area-blazor label Dec 2, 2019
@danroth27

This comment has been minimized.

Copy link
Member Author

@danroth27 danroth27 commented Dec 2, 2019

What about SPA routing?
What if I'm not on Windows?

@javiercn

This comment has been minimized.

Copy link
Member

@javiercn javiercn commented Dec 2, 2019

Maybe rely on the community :) https://www.nuget.org/packages/dotnet-serve/

@mkArtakMSFT mkArtakMSFT added this to the blazor-wasm-preview6 milestone Dec 5, 2019
@mkArtakMSFT mkArtakMSFT added this to Triage in Blazor WASM via automation Dec 5, 2019
@mkArtakMSFT mkArtakMSFT moved this from Triage to 3.1 - Preview 6 in Blazor WASM Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Blazor WASM
  
3.2 - Preview 2
5 participants
You can’t perform that action at this time.