-
Notifications
You must be signed in to change notification settings - Fork 53
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
[wasm] Add a new wasm webserver
command
#1001
Conversation
- ends after a timeout, or can be killed.
- Convert all the command line arguments to TestWebServerOptions. This also helps to avoid having to add new method arguments to WebServer to add more options. - And add a --web-server-use-default-files option that serves files like `index.html` and `default.html` by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGMT. Could you please explain where/how this would be used ? Thanks.
Do we want to merge it with the simple server from the runtime repo? |
Do you mean the webserver in the app host? |
Do you mean use this xharness instead of simple server ? Pros: one codebase, consistent behavior We also want to have blazor like server as part of the host. Should we replace simple server with that ? |
Prompted by need to run blazor published apps by starting a webserver for them. See dotnet/runtime#82748 |
Another consideration is that the web server in the host, should be rather production grade. xharness is rather test utility. |
Yep, I don't think it is worth trying to share the webserver here, and in the apphost. And I'm looking at this as for tests, and a generic-ish one (though it has some wasm specific bits, which is fine). |
Failures are unrelated. |
@premun the Apple-simulator job keeps failing. It isn't related to this pr, but I can't merge because of it. What can I do? |
Seems like the queue is backed up. I can try to merge myself. |
index.html
.Prompted by need to run blazor published apps by starting a webserver for them