BaristaCore icon indicating copy to clipboard operation
BaristaCore copied to clipboard

Use Blazor + ChakraCore to dynamically compile and execute C#/Razor via WASM

Open Oceanswave opened this issue 6 years ago • 0 comments

This is a bit theoretical, but with Blazor, it should be possible to have BaristaCore compile C# code to WASM and then execute the result using the ChakraCore runtime. This would go towards one of the BaristaCore goals of having multiple languages (not just JavaScript) participate in the serverless execution environment that it provides.

Doing so would be an interesting foray to having a completely sandboxed C# runtime/serverless execution environment with BaristaCore (Remember VS for Applications?...)

Given the current goals of Blazor, and it's seeming desire to be a WASM web framework rather than a generic C# WASM generator, it may require stripping out the pertinent bits.

Oceanswave avatar Mar 01 '18 03:03 Oceanswave