News Feeds

Current Information

NOTE: The project is no longer maintained, because CodeDOM implementation is now part of the oficial F# distribution. For more information about ASP.NET support in F#, please visit my blog entry focused on this topic: http://tomasp.net/articles/aspnet-in-fsharp.aspx.

Project Home Page

CodeDOM (Code Document Object Model) is set of objects (located in System.CodeDom namespace) that can be used for representing logical structure of .NET source code. These classes are used for generating Web service references (using wsdl.exe tool), for generating typed datasets and in many other situations. Probably the most interesting use of CodeDOM classes is in ASP.NET where ASP.NET generates code from aspx/ascx files and compiles this code into web site assemblies (together with the code written in code behind files). This means, that you can use any language for developing ASP.NET web sites, as long as you implement CodeDOM provider that generates source code from CodeDOM structure and can compile these source files (this can be simply done by executing command line compiler).

Project goals

Goal of this project is to implement fully functional CodeDOM provider for the F# language with support for all constructs that can be expressed by the CodeDOM. In the earlier releases, we focus on implementing features that are required by standard .NET tools that use CodeDOM (like ASP.NET, wsdl, xsd and LINQ data objects generator). For the fully functional version, some features must be added to the F# language, because it currently lacks support for example for enumerations, so another goal of this project is to find all language constructs that are supported by CodeDOM and not by the F# language.

Try it!

The initial release (v0.9.0.0) can be found at the CodePlex Releases page. If you want to look at the example that shows how to use it look at my blog post below or download the ASP.NET Demo sources. You can also try the Visual Studio template for creating F# Web applications (more information about these two can be found in my blog).


Related links

Project participation

If you are interested in this project and you want to help with developing of some parts, or if you are working on a project that is related to CodeDOM and F#, please let me know. Any help or feedback is kindly welcome!

Tomas Petricek
http://tomasp.net
tomas@tomasp.net
Last edited Mar 8 2008 at 10:18 PM by tomasp, version 7
Comments
No comments yet.

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | CodePlex Blog | Version 2008.12.9.14291