Category Archives: F#

C# Async Examples in F# – Part 3

This post is the third of a series where I am converting the C# 101 Async Samples into F#. See below for the other entries in the series: C# Async Examples in F# – Part 1 C# Async Examples in F# – Part 2 The third async example deals with running operations in parallel. The […]

Also posted in Async, C# | 2 Comments

C# Async Examples in F# – Part 2

This post is the second of a series where I am converting the C# 101 Async Samples into F#. See below for the other entries in the series: C# Async Examples in F# – Part 1 C# Async Examples in F# – Part 3 The second C# Async example deals with making multiple asynchronous web […]

Also posted in Async, C# | 1 Comment

C# Async Examples in F# – Part 1

This post is the first of a series where I am converting the C# 101 Async Samples into F#. See below for the other entries in the series: C# Async Examples in F# – Part 2 C# Async Examples in F# – Part 3 Some of you may be familiar with my boss and C# […]

Also posted in Async, C# | 4 Comments

Five Reasons the MVP Summit was Awesome

At the start of March, I was fortunate enough to follow up my awesome time at the Java Posse Roundup with an equally awesome time at Microsoft’s MVP Summit. It was my first time at a Summit, so much like the Roundup, I didn’t know what to expect. In the end, it was every bit […]

Also posted in Conferences | Leave a comment

F# on (Ubuntu) Linux with Mono and Monodevelop

This week, I’m attending the Java Posse Roundup to learn about the interesting things happening on the JVM, meet smart people, and hopefully write some Scala and Clojure code. One of the more surprising emails that I got after registering for the conference came from Dick Wall who asked if I could take an afternoon […]

Also posted in mono | 19 Comments

C# Expressions vs. F# Quotations: A Syntax Comparison

In C# the easiest and most common way to create an expression is by implicitly converting a single line lambda into an expression: This implicit conversion is great for some APIs, like the mocking library MOQ: When I use MOQ, I’m glad that the l => l.Count lambda automatically gets converted to an expression, but […]

Also posted in C# | Leave a comment

Revisiting Elevate: Seq.pairwise for C#

I’ve been working on a few different projects over the last few months including some work outside of the .NET space. This has been good for my clients, but not so good for Elevate. Fortunately, I found some time the other day to add a new feature: a pairwise implementation for C#. In F#, the […]

Also posted in C#, Elevate | Leave a comment

5 Reasons to use F# Interactive in Visual Studio 2010

Note: While the following post is targeted at Visual Studio 2010 users, most of the points apply even if you aren’t using Visual Studio 2010. F# Interactive (FSI) is easy (and free) to install for Visual Studio 2008 users and command line users running in Windows or Mono. Details are available at the F# Developer […]

Posted in F# | 6 Comments

F# Object Expressions vs Mocking Libraries: Am I Missing Something?

Object expressions are a cool feature of F#. For those unfamiliar, they allow you to easily instantiate anonymous classes: There are times when it’s useful to instantiate anonymous classes in this fashion (a topic for another post), but I’m not convinced that mocking is one of them. However, based on based on a couple of […]

Also posted in testing, Unit Testing | 2 Comments

Building F# Projects in Expression Blend Without Installing Visual Studio

Recently, one of our projects hit a snag when I added a F# project to our WPF application. While our developers were able to build the project in Visual Studio 2010 and the Expression Blend 4 RC, our designer was unable to build from within the Expression Blend 4 RC because he did not have […]

Also posted in Expression Blend | 3 Comments