The .NET Framework 5.0 (or later) is expected to include the much anticipated Compiler As A Service feature (code named Roslyn). Since the .NET Framework 1.0 the compiler has been written in unmanaged C++. With the release of Roslyn it is written in C#. This means it is simply an assembly of .NET types wrapped up in a Console Application. And here’s the all-important part – the types are public. You can use the same types that the compiler uses in your own applications. You can compile code on the fly. Effectively you can turn any .NET language into a scripting language. This session shows a preview of what the support will look like in the .NET Framework 5.0 and focuses on practical examples focussed mainly on refactoring existing code.
Developer, speaker, author, blogger, MVP, founder of #dotnetdevnet and #dddsw bio from Twitter
Sign in to add slides, notes or videos to this session