.NET Core, Roslyn and Code Generation
Read OriginalThis 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.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser