Recent snippets

Popular snippets

  • get the list of LAN Sql servers

    get the list of ethernet sql servers

    90 people like this

    Posted: 14 years ago by nCdy

  • 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.

    57 people like this

    Posted: 14 years ago by Ryan Riley

  • FSX Structure

    I use this basic template when writing .fsx files that I might want to compile. It adjusts the difference in command line/entrypoint handling between a script and a compiled assembly. This example shows the details for a WPF script — replace the #r's and/or remove the STAThread for a WinForms or Console script.

    124 people like this

    Posted: 14 years ago by Blake Coverett

Snippets by tags

monad (24) string (29) collections (16) json (16) wpf (20) algorithms (26) tryfsharp (48) pattern matching (15) sequences (48) list (56) learning f# (16) async (98) html (16) parsing (28) agent (20) computation expression (15) mailboxprocessor (27) silverlight (22) reflection (19) array (22)

View all...

Database contains 3205 snippets out of which 1719 is public.