C# scripting console for a ASP.NET MVC project base on Roslyn
C# scripting console for a ASP.NET MVC project base on Roslyn
I needed a way to provide the advanced users scripting support in a ASP.NET MVC application running in Windows Azure. I choose C# as tre scripting language.
The C# scripting solution is based on Roslyn. The sample solution shows a basic scripting console to run C# scripts in a context containing one repository class.
var data = Repository.GetAll();
data.Count()