Tuesday, September 17, 2013

CodeDOM in .Net



CodeDOM is code document object model. It can be represented as Tree structure. It looks like nested architecture. We can say as mentioned in the below figure.










It helps in generating source code in multi language using one model. It automatically generates code for ASP.NET, XML Web services client proxies, code wizards, designers, or other code-emitting mechanisms.
The purpose of code generators is to minimize repetitive coding tasks, and to minimize the number of human-generated source code lines being created. The CodeDOM is a very handy .NET API which allows you to programmatically compile code using the .NET compilers and programmatically construct code without just pasting together strings. 
 


No comments:

Copyright © Codingnodes,2014.All Rights Reserved.