On The Hub: F# and ASP.NET 2.0 (CodeDom provider)


The Microsoft MVP Tomas Petricek has been continuing his exploration of F# LINQ-style quotations to implement a first cut at an F# CodeDom provider, with a view to building entire web applications in F# alone.  He’s posted a blog entry on The Hub (n.b. you currently have to register with The Hub for this entry):



I was recently working on CodeProvider for the F# language, which is a class that generates source code from given CodeDom code representation. I wanted to implement it, because ASP.NET 2.0 uses CodeDom to generate source (from ASPX files) that is together with manually written F# code behind files compiled into web application binaries. This means that with F# CodeProvider you can write ENTIRE web application in F# (including in-line code enclosed in <% … source code … %>).


I posted this to the internal discussion first, to get some feedback before I make it public. Also, thanks to everybody who helped me by answering my questions in the F# mailing list.

Comments (3)

  1. Alex says:

    The "forum discussion" link is broken? (At least I get "The forum you requested does not exist.")

  2. Tomas says:

    Hi, I think that the internal discussion at HubFS is accessible only for the Hub contributors.

    Anyway, I found some time and wrote about it to my blog at the Hub, so it should be availble for everybody now: http://cs.hubfs.net/blogs/tomasp/archive/2006/08/13/475.aspx

Skip to main content