-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[mt] Add signalR WBT on WASM browser app #100723
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
Conversation
|
Tagging subscribers to 'arch-wasm': @lewing |
maraf
left a comment
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.
I think we should have a separate test app where single aspnetcore server will be hosting both blazor and wasmbrowser client.
One of the ideas I want to maintain for these test apps is that you can run them without WBT (we are not there quite yet, for example the one we have doesn't have any UI, but I want to head there).
|
Before I start separating the logic into another app - any ideas why we have integrity errors even though the WASM files are not edited between publish and serving? Last run did not have it and there was no change in server's setup between the commits |
Why is it downloading |
yes, it's |
src/mono/wasm/testassets/WasmOnAspNetCore/AspNetCoreServer/publish/web.config
Outdated
Show resolved
Hide resolved
...sm/testassets/WasmOnAspNetCore/AspNetCoreServer/publish/WasmBrowserClient.runtimeconfig.json
Outdated
Show resolved
Hide resolved
src/mono/wasm/testassets/WasmOnAspNetCore/WasmBrowserClient/wwwroot/main.js
Outdated
Show resolved
Hide resolved
src/mono/wasm/testassets/WasmOnAspNetCore/WasmBrowserClient/wwwroot/main.js
Outdated
Show resolved
Hide resolved
src/mono/wasm/testassets/WasmOnAspNetCore/WasmBrowserClient/SignalRTest.cs
Outdated
Show resolved
Hide resolved
Looking into binlog from the wasm app publish, the integrity visible in binlog is different from what the browser got. Suggesting a stale boot config was loaded, but I dunno how that could happened |
…pletionSource` completion.
src/mono/wasm/testassets/WasmOnAspNetCore/BlazorClient/BlazorClient.csproj
Outdated
Show resolved
Hide resolved
src/mono/wasm/testassets/WasmOnAspNetCore/BlazorClient/wwwroot/favicon.ico
Outdated
Show resolved
Hide resolved
src/mono/wasm/testassets/WasmOnAspNetCore/WasmBrowserClient/WasmBrowserClient.csproj
Outdated
Show resolved
Hide resolved
src/mono/wasm/testassets/WasmOnAspNetCore/AspNetCoreServer/Program.cs
Outdated
Show resolved
Hide resolved
maraf
left a comment
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.
Looks great!
|
ST works. MT fails with (both Debugging the problem, from some reason Edit: |
* WIP, fixing net::ERR_CONNECTION_REFUSED. * Change of setup - aspnet project serving WASM static files. * Enable SharedArrayBuffer. * WIP, investigating `JsonSerializerIsReflectionDisabled` * Fix serialization issue. * Fixed * Cleanup. * Trying to fix integrity check issue. * Async interop + more logging. * Move test preparation code to a method. * Remove buttons, match other TestAppScenarios style. * Moved the test out of TestAppScenarios. Standalone version works. * Working version of test. * Cleanup. * Cleanup. * @maraf's feedback - simplify the prebuild steps. * WIP - merging blazor and wasmapp into one proj. * Missing change in a non-related test. * Do not pack blazor into a subfolder. * Remove old app. * Connect test logic, simplify. * Not intentional. * AspServer serves only "standard content types" * Prevent loosing `InnerException` on exceptions thrown during `TaskCompletionSource` completion. * Revert. * Cleanup. * @maraf's cleanup * SignalR hub is located in a url with path. * Fix "GET http://localhost:5000/wasmclient, Response status code: 404"

aspenetcore server,blazor client,wasmbrowser client,shared lib.AspNetCore, not sure where?