Recent snippets

Popular snippets

  • Composable WCF Web API using Async

    A functional wrapper around the new WCF Web APIs (http://wcf.codeplex.com/). Composition is achieved through the use of the HttpRequestMessage -> Async signature. Pushing the app calls in the MessageHandler intercepts all requests and allows you to take control at the earliest point possible before operation selection occurs. Extending this slightly to call the innerChannel's SendAsync would allow you to create a middleware layer that would work both with this and other, normal Web API services.

    63 people like this

    Posted: 15 years ago by Ryan Riley

  • Load XAML

    This example shows how to load a Xaml file allowing to use WPF from F#. It also shows how to access WPF objects and register event handlers.

    109 people like this

    Posted: 15 years ago by Antonio Cisternino

  • Factory Pattern

    Factory pattern in F#

    82 people like this

    Posted: 14 years ago by Tao Liu

Snippets by tags

collections (16) wpf (20) learning f# (16) computation builder (17) lazy (20) silverlight (22) staging (18) mailboxprocessor (27) list (56) async (98) tutorial (17) json (16) agent (20) f# (43) algorithms (25) kata (17) computation expression (15) web (29) regex (17) recursion (33)

View all...

Database contains 3208 snippets out of which 1719 is public.