How to use Extism .NET SDK with PowerShell #125
StSchnell
started this conversation in
Show and tell
Replies: 2 comments
-
Very cool! thank you very much for posting the tutorial here! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Super cool! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I read in the overview of run WebAssembly in your app, that the .NET SDK supports C# and F#. As far as I know, nearly everything that is possible with C# should also possible with PowerShell. So I implemented the approach shown in the example how to create a plug-in in PowerShell. In this case, I read the WASM file from a local source that exists in the same directory as the PowerShell script.
Here the code:
It works perfectly.
The PowerShell script approach offers further perspectives for the use of Extism and WebAssembly.
Beta Was this translation helpful? Give feedback.
All reactions