componentize-dotnet icon indicating copy to clipboard operation
componentize-dotnet copied to clipboard

Possibility to dynamic import the wasm.

Open shuowpro opened this issue 3 months ago • 1 comments

Hi, there

this is a good repo, solved us a lot of problem, I am trying to explore a way to use the wasm as a plugin and on the host, we can dynamically import the wasm module, if something goes wrong, like the wasm is not correct, or the wasm is missing, we should catch the file missing exception, and do a failure recovery, or we want to refresh the wasm for every 5 min, how could I achieve it?

shuowpro avatar Nov 11 '25 10:11 shuowpro

@shuowpro I am not sure I fully follow your question, this project is for building the wasm binaries but doesn't load/run them. You could look at a project like Spin, wasmcloud, wasmtime or https://github.com/bytecodealliance/wasmtime-dotnet for running the wasm

Let me know if you there was something specific you are looking for from this project.

jsturtevant avatar Nov 24 '25 19:11 jsturtevant