C
C#15mo ago
Exi

✅ Embed ConsoleApplication In BlazorWasm ClientPage

Hey, I was wondering if its possible to embed a console application in my frontend. Right now I start that console application via client and it opens a new window on the server. My dream scenario would be to embed that window into my client page and dont open a "new console window". Only input to that console would be any char at the end to close the console / finish the process. It gets started with some arguments and just does the stuff and I show the console to see whats going on there.. (I dont have access to the sourcecode of the console app, thats 3rd party stuff) Is that even possible and any thoughts about that? Kind regards Exi
2 Replies
Angius
Angius15mo ago
You'd have to compile that console app to WASM code Or at least compile it to a DLL that the WASM-compiled .NET Runtime can run If all you have is an .exe... I don't think it's possible Not easily at least
Exi
ExiOP15mo ago
Alr, thanks! That's all I need to know :D

Did you find this page helpful?