Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

A Blast from the Past - Dynamic Coding

$
0
0
A Blast from the Past - Dynamic Coding
.NET Development
A Blast from the Past - Dynamic Coding
Feb. 27, 2013
09:34 am
3Q50KIWF2Show this entire thread in new window
Gratar Image based on email address
From:JeffL
To:All
I was Googling the net for help on Dynamic coding in C# the other day to convert part of a VFP application that is very dynamic into a C# application.

Anyway, I'm reading stuff I found and then at the bottom of one recent article there's mention and a link to Rick Strahl and "Dynamically executing code in .Net" at http://www.west-wind.com/presentations/DynamicCode/DynamicCode.htm. I thought to myself - well, I'm going there right now.

The article was last updated September 8, 2002. Wow, that's old I thought. There's source code and DLLs. So, I downloaded them to give Rick's wwScripting class a try.

The only slight problem I had was the .NET compiler was complaining that a couple things were deprecated that I quickly fixed and was up and running.

// DEPRECATED this.oCompiler = new CSharpCodeProvider().CreateCompiler();this.oCompiler = CodeDomProvider.CreateProvider("CSharp");


Thanks Rick. Great article and still timely and still a time saver.



Viewing all articles
Browse latest Browse all 10393

Trending Articles