|
 |
Sunday, April 28, 2002 |
ConsoleHost
This is my version of Scott Guthrie's example demonstrating how to process ASP.NET requests outside of IIS. Mine automatically copies itself to the current directory's bin subdirectory (else it won't work) and also allows you to pass in parameters from the command line.
I had trouble getting Radio to "upstream" this file until I changed the extension. Anybody know what's up with that?
11:20:03 PM
|
|
 |
Saturday, April 27, 2002 |
RSDL
I've been playing around with generating code for web sevices done the REST way for a while now. RSDL is the result. It can generate proxies for web resources (using my Xml2CodeDom tool) for any of the big three .NET languages. The RSDL vocabulary is language agnostic, however, so it should be possible to generate proxies for any language. I thought it was about time I released it considering all of the discussions about SOAP vs. REST that's been going on recently. The vocabulary was originally based on Paul Prescod's WRDL but has since been simplified to my liking. It's not much but I think it has the potential to become more. Comments would be lovely.
8:26:26 PM
|
|
 |
Monday, April 22, 2002 |
Generating Code For Fun and Profit
I did something like this for work (using C++ and ADO Recordsets) though it was nowhere near as comprehensive. I'm just glad to see that more and more people are starting to see the light.
6:59:06 PM
|
|
 |
Sunday, April 21, 2002 |
Dogfood
In my neverending quest to amuse myself by confusing myself, I've reimplemented my Xml2CodeDom tool in XML so that it can now generate itself.
It took over 1600 lines of XML to generate only 130 lines of C# code so I don't expect that developers will be flocking over to this new format anytime soon. It was a fun experiment while it lasted.
This could, however, have some interesting applications for language agnostic code generation. Maybe tools like CollectionGen could use something like this in order to support all features for more than just one language without having to actually duplicate the logic for each language.
5:26:20 PM
|
|
 |
Monday, April 15, 2002 |
In response to Chris Sells' query for a declarative language for constructing .NET CodeDom graphs, I present Xml2CodeDom. This tiny program uses reflection to construct objects and set properties as specified in an XML file. The resultant graph can then be used to generate compilable code in C#, JScript.NET, VB.NET, or any other language for which an appropriate ICodeGenerator implementation is available. Unfortunately, even the simplest of programs can turn into verbose monstrosities as evidenced by this HelloWorld example. But imagine having to write the code that constructs that tree by hand!
11:23:36 PM
|
|
© Copyright 2002 .
|
|
|