Share via


Visual F# Samples and Walkthroughs

This topic provides links to samples and walkthroughs for Visual F#.

Samples

For F# samples that you can download, see F# Samples.

Walkthroughs

The documentation for F# includes the walkthroughs that the following table describes.

Title

Description

Walkthrough: Your First F# Program

This walkthrough is a good starting point if you are new to Visual F#.

Walkthrough: Using Visual F# to Create, Debug, and Deploy an Application

This walkthrough introduces you to the experience of using F# in Visual Studio 2010 together with .NET Framework 4.

Functions as First-Class Values (F#)

This topic walks you through functions in the F# language. Functions are an important fundamental language construct in F#.

Walkthrough: Creating a Portable F# Library

This topic walks you through how to use portable libraries in F#, which you need when you use F# in Windows Store apps, Silverlight apps, and desktop apps.

Walkthrough: Publishing an F#/C# MVC Application to Windows Azure

In this walkthrough and its accompanying sample, you’ll use C# and F# to start to develop web applications and cloud services that are hosted in Windows Azure. By following this walkthrough, you’ll get a web application, the WordGrid sample, running in Windows Azure as a cloud service. You can use that sample to explore how to integrate F# with a C# web application and, in general, how to use the power of F# in Windows Azure. The sample uses the ASP.NET Model View Controller (MVC) 4 framework, which provides a powerful and versatile library for web applications.

Walkthrough: Creating an Internet Game with F#, C#, and Windows Azure

By reviewing this topic and the sample that accompanies it, you’ll learn how to create a web application (in this case, a word game) by using F#, C#, ASP.NET Model-View-Controller (MVC), Windows Azure, and JavaScript. This topic demonstrates several useful coding techniques by explaining code excerpts from the WordGrid sample. You can build this sample as a web application and then run it locally or deploy it to Windows Azure as a cloud service. If you deploy it, players can access it from anywhere in the world by using their browsers.

Walkthrough: Accessing a SQL Database by Using Type Providers (F#)

Explains how to use the SqlDataConnection type provider to access the tables and stored procedures of a SQL database, based on a connection string for a direct connection to a database. The access uses a using a LINQ to SQL mapping.

Walkthrough: Accessing a SQL Database by Using Type Providers and Entities (F#)

Explains how to use the SqlEntityConnection type provider to access the tables and stored procedures of a SQL database, based on a connection string for a direct connection to a database. The access uses a LINQ to Entities mapping. This method works with any database but the example demonstrated is SQL Server.

Walkthrough: Accessing an OData Service by Using Type Providers (F#)

Explains how to use the ODataService type provider to access an OData service in a strongly typed way based on a service URL.

Walkthrough: Accessing a Web Service by Using Type Providers (F#)

Explains how to use the WsdlService type provider to access a WSDL web service in a strongly typed way based on a service URL.

Walkthrough: Generating F# Types from a DBML File (F#)

Explains how to use the DbmlFile type provider to access the tables and stored procedures of a SQLdatabase, based on a DBML file giving a Linq to SQL database schema specification.

Walkthrough: Generating F# Types from an EDMX Schema File (F#)

Explains how to use the EdmxFile type provider to access the tables and stored procedures of a SQL database, based on a EDMX file giving an Entity Framework schema specification.

See Also

Concepts

Visual F# Development Portal

Other Resources

Visual F#