Compiling source at runtime using dotnet 5

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • .NET Runtime

    .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.

  • I'm a long way from rebuilding this in .NET 5, but based on this it looks like you may need to move to something Roslyn based.

  • CodingTrainer

    Website for people to train in computer programming

  • I have a working example that you can look at: https://github.com/ddashwood/CodingTrainer. This was a project I did for my Masters degree, which allows users (in my case, the users were C# students) to type in code, then it runs the code and analyses whether it's correct. From memory, the CodeHost, PartiallyTrusted and SandboxHost projects are the ones you'd need. Feel free to PM me if you need any more info.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • ClearScript

    A library for adding scripting to .NET applications. Supports V8 (Windows, Linux, macOS) and JScript/VBScript (Windows).

  • Along the same lines, I use Microsoft ClearScript which uses JavaScript.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts