-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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] Design application startup, template, configuration #70892
Comments
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsTODO
|
If we package dotnet.js as npm module, we should probably include the runtime DLLs in the package. Current problem is that it uses But I don't have |
I believe we have completed some of the items, and others will have to be in 8.0 . |
the If we want to be able to pass host arguments to the mono runtime, we should do it by other means than mixing into the application arguments of NodeJS app. Maybe we could do it by setting environment variables for the NodeJS process. In case of the browser, we have
|
I mean The |
we could do the same for the browser and the The For that we would have to modify the BrowserHost to produce The |
cc @ilonatommy |
@maraf said that
|
IF 1) is correct THEN we could provide convenience methods to be able to parse the mono options from args in the parsing user's version of runArgs.json is very easy with If the use-case is to change something like Finally, the BUT I would be missing ability to pass mono options on node commandline to ANY wasm app. On the other hand, that's true for any .NET executable file. You can't use application's arguments to configure CLR either. |
It's not for WBT, it's for users:)
My plan was to move Maybe we can:
|
Sorry, I misspoke, and confused two things here. I meant:
So, updated:
|
If they are stored as file, what should happen when user does something like this?
On the browser, what about injecting params dynamicly into the served html as browserLink does? |
I like that a lot ^^ And for node we could use environment variables as side channel for mono options. |
For WASI we will have the same issue. And there is no JS and env variables do not flow into inside the VM automatically. |
TODO
mono-config.json
runArgs.json
PATH
-like DLL resolution for nodeJS, (and WASI?)proxyConsoleMethod
from template, or integrate them with runtimeTry to load assemblies to VFS (instead of WASM memory) and let runtime load them from theremono-config
(faster startup, in-place URLs of all assets)The text was updated successfully, but these errors were encountered: