This is technical demo to apply F-Sharp (F#) language in real world application.
This application is close to real world enterprise application (with very optimal solutions, at least in 2011).

The function of this application is to get Stock Quote Data and Historical Stock Prices from Yahoo Finance

Architecture visaul presentation: Architecture.pptx

There are two web user interfaces:
1. Silverlight 5.0 MVVM made with Expression Blend
- Silverlight F# 2.0 ViewModel and client logics dll
2. HTML 5.0 jQuery 1.6.1 Javascript (Ajax)

Those both uses the same underlying WCF REST JSON WebService.
The WebService has both accesspoints, JSON and SOAP, but JSON is used.

The WebService uses F# 2.0 business logics.

StocksApplicationSL - Silverlight XAML application
StocksApplicationViewModel - Silverlight F# Library

StocksApplication.Web - Website/application, contains StocksService.svc-webservice and html-client
StocksServiceLogics - F# Library

StocksApplicationVS2010 should work with VS2010 and with Blend. I made another just becaus Blend is still Beta.

What you need to use this software (is all the latest patches...):

- Visual Studio 2010 SP1

- Microsoft Expression Blend Preview for Silverlight 5:

- Microsoft Silverlight 4 Tools for Visual Studio 2010
If you have problems with this, you should extract the package (with 7zip) and install FSharpRuntimeSL4.msi

- Silverlight 5 Beta SDK

- Microsoft Silverlight 5 Beta Tools for Visual Studio 2010 Service Pack 1

- Update to the F# to use with Silverlight 5.0:
- More info:

- F# PowerPack

- Windows Update? ;-)

Further development of this application is managed in GitHub:

You are free to use this as an architectural reference application. :-)
(Lisence: LGPLv3)


New versions:

Last edited Jan 29, 2014 at 7:18 PM by Thorium, version 3