Showing posts with label Nashville .NET User Group. Show all posts
Showing posts with label Nashville .NET User Group. Show all posts

Friday, March 20, 2009

Presentation: An Introduction to F# - Slides and Sample Code

Thanks to all who came out to the Nashville .NET User Group last night. As promised, here are the slides and examples.

Click here for a zipped file containing the slides and sample script.

Click here for a zipped file containing the source code of the sample application.

Tuesday, March 17, 2009

Sample F# Application - A Simple Quiz Provider

One of the things that we will be discussing at the Nashville .NET User Group Tomorrow night, March 19, 2009, is a sample application that has a service layer built in F#.  To access the sample code click here.

A few notes:

- The code is broken out into two main layers: Service and Presentation. 

- The service layer is built in F# and the presentation layer is build in C# with ASP.NET MVC RC1.

- The tests are written in C# (even in the service layer) to provide examples of language interoperability.

- To keep things as simple as possible, the data is stored in an XML file rather than a database.  All interaction with the data is through Linq to XML.

- The intent of this example is to help existing object-oriented developers ease into the language.  Because of this, many functional programming approaches are not utilized to the full extent.

- This uses the F# Sept. 2008 CTP.