Carlos Mendible 1/29/2017

.NET Core, Roslyn and Code Generation

Read Original

This technical article explores code generation alternatives to T4 templates in the .NET Core ecosystem. It provides a step-by-step tutorial on using Roslyn (Microsoft's compiler API) to parse C# code and programmatically change the namespace of a class, serving as an introductory example of Roslyn's capabilities for code manipulation and generation.

.NET Core, Roslyn and Code Generation

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week