F# is excellent for building scalable, robust web solutions:
Some specific options for web application development are:
WebSharper - Allows end-to-end web applications with both client and server developed in F#.
WebSharper includes TypeScript interoperability, mobile web apps, getting started material, templates and much more.
ASP.NET MVC - A widely used open source web framework from Microsoft.
Views are implemented in HTML with some C#. Models and controllers are implemented in F#.
The F#/C# Web Templates (Visual Studio, ASP.NET MVC 4)
include templates for ASP.NET MVC 4 (ASPX/Razor) and Single Page Applications with Backbone.js or Knockout.js.
The F#/C# ASP.NET MVC 3 Templates include templates for ASP.NET MVC 3 (ASPX/Razor). The F#/C# Web Templates (MonoDevelop, ASP.NET MVC 4) are a similar se of cross-platform templates for MonoDevelop.
FunScript - An F# to JavaScript converter with TypeScript interoperability.
PicoMvc is a micro framework for F# web programming.
F# shines in the area of Web API development through frameworks like ServiceStack, ASP.NET Web API, Frank and NancyFx.
Common hosting options are:
The Cloud Programming section contains more details on cloud programming with F#. Some specific resources related to web programming are:
It is common to create a suite of unit tests when building web solutions. A list of open source libraries that assist with unit testing is available here:
Here are a few Visual Studio 2012 project templates available for building unit tests:
Several books have been written that include information on building web applications with F#:
There are several presentations and tutorials available that include information on build web applications with F#:
For those still using Silverlight, you can use F# to build Silverlight projects in whole or in part. Some resources are: