Introduction to the Roslyn Scripting API
Posted by: C# Frequently Asked Questions,
on 02 Dec 2011 |
View original | Bookmarked: 0 time(s)
by Brian Rasmussen
In this post we take a look at how the Roslyn Scripting API can enable applications to evaluate code at runtime. While this has been possible since the dawn of .NET through the use of Reflection, Lightweight Code Generation, CodeDom, etc., it has never been particularly easy. All of these mechanisms are either hard to use, require MSIL knowledge, or just have inherent limitations.
Roslyn not only makes dynamic code evaluation a lot easier, it also provides the necessary APIs to...