6 posts about System.CodeDom by 4 contributors.
Know System.CodeDom? Share what you know with developers who are learning it.
System.CodeDom in .NET enables dynamic application creation by programmatically generating and compiling code at runtime, facilitating flexible and customizable software development processes.
This article throws light on how a code can be built dynamically, compiled and run.
Learn how to generate and compile .NET assemblies at runtime in VB.NET using System.CodeDom.Compiler and System.Reflection.Emit, including a template-like generic programming example.
One not so well known feature of .NET platform is possibility to invoke compiler and practically create code and assembly from running instance of application. It is possible to do that in two ways. First one is a bit simpler and involves namespaces System.CodeDom and System.CodeDom.Compiler, second one is more efficient and utilizes namespace System.Reflection.Emit. Since there are very few examples about how to use System.CodeDom.Compiler I will start with it.
CS CODEDOM Parser is utility which parses the C# source code and creates the CODEDOM tree of the code(general classes that represent code, part of .NET Framework - namespace System.CodeDom).
One not so well known feature of .NET platform is possibility to invoke compiler and practically create code and assembly from running instance of application. It is possible to do that in two ways. First one is a bit simpler and involves namespaces System.CodeDom and System.CodeDom.Compiler, second one is more efficient and utilizes namespace System.Reflection.Emit. Since there are very few examples about how to use System.CodeDom.Compiler I will start with it.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article