-
Notifications
You must be signed in to change notification settings - Fork 55
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
Hosting in ASP.NET Core #191
Comments
Thanks for the suggestion. At this point, there is no sample on how to do that, but if If you be added in the publish targets: Uno.Wasm.Bootstrap/src/Uno.Wasm.Bootstrap/build/Uno.Wasm.Bootstrap.Publish.targets Line 5 in 8add3fd
or after the build dist target:
|
Hello. |
|
|
Alternatively, you can put Uno wasm app directly in wwwroot folder. Here's what it might looks like in a Dockerfile:
P.S. I'm using .NET 5.0 in my project for now. I haven't tried 6.0 yet, so things might be different there. |
I would like to host an Uno WASM project inside an ASP.NET Core project (similar to hosting Blazor WebAssembly). I dug a little into how Blazor does it, and it looks like they generate a StaticWebAssets.xml file based on referenced projects. This allows the ASP.NET Core app to serve static files from the WebAssembly project. Could you add similar targets to the Uno WASM build scripts to piggyback on this functionality?
Also, is there a sample showing how to do this? I'm making progress, but it's a slow going.
The text was updated successfully, but these errors were encountered: