46 people following this project (follow)

[New]

Writing F# Type Providers with the F# 3.0 Developer Preview - An Introductory Guide and Samples

(Type provider code is upgraded to Beta) 

the download section has two files, one is for preview version which will be supported for another 3 months and the latest one is for beta release.

F# 3.0 Type Providers and Query

 

LINQ Query: 

SQL DataProvider:

OData Service Provider and Azure Data market:

Other Providers:

 

 

Basic

Arithmetic

Types and Functions

Loops

Enum, Struct, and Class

Others

Exceptions

Array and Sequence:

Options, Union, and Record

Operators:

 

Intermediate

Quotation:

Interop and Office Interop

Extension Methods

 

Others:

Units of Measure

 Computation Expression

Object Expression

Advanced and Others

 

Design Patterns:

Cloud:

Active Pattern:

Others:

Portable:

Prerequisites and Machine Setup 

This sample package requires Visual Studio 11 Developer Beta from MSDN.

SQL Server (Optional)

Because the SQL sample requires the local database to be setup. You need to set up a local SQL database named FSharpSample with sa password = FSharpSample1234. You can use CreateFSharpSampleDatabase.sql or setup.exe to setup your database tables and populate sample data. If you decide not to setup the database, some of the samples won't be compiled into the final binary result.

If you see a security dialog about trusting type provider, please click "Yes" to trust the type provider in order to make the sample run correctly.

Web Service Access (Optional)

You need to sign up for a free account on https://datamarket.azure.com/account/info and https://www.bingmapsportal.com/application/index/1034110 if you intend to run the web service samples. After you sign up on both web sites, you can replace the ADM user ID, ADM account ID, and Bing developer account information at the end of Support.Helper.fs.

Office Setup (Optional)

In order to run the office interop samples, you need to setup Word and Excel 2010 on your computer.


Last edited Fri at 7:22 PM by ttliu2000, version 66