Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I use this tool in code? #643

Closed
oliver021 opened this issue Oct 20, 2021 · 1 comment
Closed

How can I use this tool in code? #643

oliver021 opened this issue Oct 20, 2021 · 1 comment

Comments

@oliver021
Copy link

What I need is a method or the way to use a string like c # code to execute at runtime. In other words, an endpoint sends c # code and it must be executed. I would greatly appreciate the help. Greetings

@ironsm4sh
Copy link

You may want to take a look at https://github.com/dotnet/interactive
The sample simple-fsharp-console dynamically loads F# code as user input and then executes it.
You could do the same for C# by using the CSharpKernel instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants