We have no plans to support F# in WebMatrix, in fact today F# doesn't really (officially) work with ASP.NET. But this is something we could look at in the future if people are interested. It'd be interesting to hear what scenarios you feel F# would enable
for you as a web developer.
Hope this helps
Thanks
David
David Fowler
Senior SDE, ASP.NET Team, Microsoft
Marked as answer by tahtouh on Jul 14, 2010 09:12 PM
Hi thank you for replying, like you said F# doesn't officially work with ASP.NET (or Silverlight) which is a bit frustrating for everyone learning the language.
However, this is temporary and the templates and tools support is surely on the way. I think F# with its lightweight and succinct (yet powerful) syntax would make the perfect combination with WebMatrix and produce fshtml files that are easy to read and maintain.
My vote is for F# with WebMatrix, F# is more likely to be easy than writin in C# for these scenarios, as an example,
<ul>
@foreach(var num in Enumerable.Range(0,10)) {
<li> @num </li>
}
</ul>
In F#, I can easily write it as
@Enumerable.Range(0,10) |> Seq.forEach(f =>
<li>@num </li>
)
F# has a good way to just write mock up code and prepare prototypes, "It would enable quick adaptation to WebMatrix too". You should be looking to support this! If someone can write a FSharpCodeParser it would be great too.
tahtouh
Member
1 Points
2 Posts
WebMatrix and F#
Jul 12, 2010 10:25 AM|LINK
Hello.
Is WebMatrix going to support F# since it's a first class .NET programming language. If yes, is this planned for the first stable release.
Thanks.
webmatrix F#
davidfowl
Contributor
2676 Points
605 Posts
Microsoft
Re: WebMatrix and F#
Jul 14, 2010 07:54 AM|LINK
Hi tahtouh,
We have no plans to support F# in WebMatrix, in fact today F# doesn't really (officially) work with ASP.NET. But this is something we could look at in the future if people are interested. It'd be interesting to hear what scenarios you feel F# would enable for you as a web developer.
Hope this helps
Thanks
David
Senior SDE, ASP.NET Team, Microsoft
tahtouh
Member
1 Points
2 Posts
Re: WebMatrix and F#
Jul 14, 2010 08:41 PM|LINK
Hi thank you for replying, like you said F# doesn't officially work with ASP.NET (or Silverlight) which is a bit frustrating for everyone learning the language.
However, this is temporary and the templates and tools support is surely on the way. I think F# with its lightweight and succinct (yet powerful) syntax would make the perfect combination with WebMatrix and produce fshtml files that are easy to read and maintain.
webmatrix F#
fahadsuhaib
Member
2 Points
1 Post
Re: WebMatrix and F#
Jul 16, 2010 04:58 AM|LINK
My vote is for F# with WebMatrix, F# is more likely to be easy than writin in C# for these scenarios, as an example,
<ul>
@foreach(var num in Enumerable.Range(0,10)) {
<li> @num </li>
}
</ul>
In F#, I can easily write it as
@Enumerable.Range(0,10) |> Seq.forEach(f =>
<li>@num </li>
)
F# has a good way to just write mock up code and prepare prototypes, "It would enable quick adaptation to WebMatrix too". You should be looking to support this! If someone can write a FSharpCodeParser it would be great too.
Fahad
<div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"><ul></div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"> @foreach(var num in Enumerable.Range(0,10)) {</div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"> <li> @num </li></div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"> }</div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"> </ul></div>