Articles : Page 1 of 1
-
F# Programming: Authoring an F#/C# VSIX Project Template
Sep 1126Encourage reuse and cut out those repetitive, time-wasting setup chores by creating a Visual Studio Extension project template composed of a C# ASP.NET MVC 3 Web app and two F# libraries. Dan Mohl MSDN Magazine October 2011...
-
F# + Razor View Engine = FSRazor
Feb 1107Last month InfoQ posted some info from the ASP.NET team about using F# with the new Razor view engine. It seemed like it should be pretty simple, so I thought I'd give it a shot. My (very rough) progress so far is available on GitHub. The solution includes a sample project with a simple F# view using expression blocks: ?<h2>@("FS" + "Razor")</h2><p>@( let even_odd s = match s % 2 with | 0 -> sprintf "%i is even!" s | _ -> sprintf "%i is odd!" s DateTime.Now.Second |> even_odd )</p> A usele...
- 1

