By tag: CodeDom
0
kicks
Dynamically Read, Compile, and Run Source Code From a Text File
Here is a simple tutorial on how to read, compile, and run code that is written in a text file.
0
kicks
Using the CodeDom to do scripting with .Net
The company I work for, Interactive Medica, provides SaaS business solutions for the pharmaceutical industry. Many of our clients receive data from third-parties which they need us to import into our system. This is pretty straight-forward and common in many industries. The data arrives in different...
0
kicks
CodeDom API + PropertyGrid = Web Service GUI (wizdl)
This open source utility allows you to quickly import and call methods on any web service using a dead simple GUI.
Supports web service methods having complex parameters and return values.
The C# implementation details are as follows:
Use ServiceDescriptionImporter to generate proxy classes...
0
kicks
Extreme (and silly) AOP in C#
Taking AOP to an extreme example, by placing the whole program in attributes.
0
kicks
CodeDOM in C# 2.0
CodeDOM is a very powerful Application Programming Interface (API) that is available with Microsoft .NET 2.0. This API can do wonders for you by generating code on the fly. This article takes a look at this technology and explains it with code examples wherever appropriate.
0
kicks
Dynamically Compiling C# from IronPython
Using the CodeDom and CSharpProvider APIs to dynamically compile C# source to in memory assemblies is one way to overcome the limtiation that you can't access attributes from IronPython. It also makes all sorts of interesting things possible.
0
kicks
C# 2.0: Arity - ever heard of it?
Arity is the number of arguments that a method takes.
If you ever used reflection and CodeDOM, this is a good thing to know of.
0
kicks
Write your own Code Generator or Template Engine in .NET
This paper demonstrates building a code generator, template engine, template parser, or template processor in .NET. The demo implementation uses cutting edge .NET technologies available today such as C# .NET 2.0, MS Provider Pattern, Enterprise Library January 2006, CodeDom etc.