Add Support for F# Code-Behind ASP.NET
Elevating F# to a more equal footing with VB and C# for ASP.NET

7 comments
-
ErikSchierboom commented
I would also love to see this. Writing F# has been a great experience and I think ASP.NET applications can benefit greatly from the stuff F# brings to the table.
-
Talbott Crowell commented
Please place F# on equal footing with VB and C# for support in ASP.NET. F# is the only functional-first language in the .NET space.
-
John Tarbox commented
As a Windows developer since Windows 2.0, I can honestly say that F# is one of the best things to come from Microsoft. It is time to make it a full member of the .NET family and improve the tooling and tinplating support. Choosing between VB.Net and C# for code behind is really no choice at all; F# offers a truly different alternative with substantial advantages in many use cases.
-
Jack Fox commented
As a professional with 30 years experience in application engineering development and management, I have seen bona fide technologies and fads come and go. I am skating to where the puck is going to be. Functional languages are here to stay, and over time will gain a larger role in most areas of application development. It has not gained the attention of marketers, yet, but more and more pros know what I am talking about. F# is a superior technology that MS should be paying more attention to.
-
mob commented
I would really love to at least have an F# web application project template. I use FubuMVC and that's all I need to get going. The F# web dev story is pretty weak compared to C# and I'd love to see that change. The web is where its at for the foreseeable future and I think 1st class support will be a key ingredient in pushing F# into the mainstream.
-
Tomas Petricek commented
As an F# MVP who is interested in web programming, I would love to see this issue addressed in one way or another.
Of course, the perfect solution would be full F# support (for writing code-behind in ASP.NET Web Forms and for writing models & controllers in the ASP.NET MVC framework and also as a language supported by the Razor engine).
This should not be too much work, but I can imagine that the F# community does not need all of those. For example, the MVC model fits more naturally with functional languages, so I find supporting F# in ASP.NET MVC more important than WebForms. Moreover, I'm happy to write C# code in the Razor view code (although F# would be very nice there).
So, having at least an ASP.NET MVC project template that uses F# for writing model & controller components would be a huge step forward and I think it would enable most of the scenarios - such as integrating awesome F# data access features like F# 3.0 type providers in web applications.
-
The following feedback item along with votes was transferred from the Visual Studio User Voice site. If you would like to view the original comment history, click here http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2315429-add-support-for-f-code-behind-asp-net