Recent snippets

  • empty list constructor

    Shows empty list constructor

    0 people like this

    Posted: 6 days ago by fsoikin

  • MailboxProcessor multi reader

    MailboxProcessor multi reader example

    2 people like this

    Posted: 1 month ago by Zack

  • Walkthrough: Creating an Asynchronous HTTP Handler

    The Microsoft tutorial Walkthrough: Creating an Asynchronous HTTP Handler did not describe how to use IHttpAsyncHandler from F#.
    It was also a bit complicated, because it did not show how to do it from Visual Studio. Here is the Visual Studio F# version. 1. Create empty ASP.NET Web Application. Call it FSharpHttpAsyncHandler. 2. Add a F# library project to the solution. Call it FSharpHttpAsyncHandler.Lib. 3. Add the following code to Library1.fs in FSharpHttpAsyncHandler.Lib 4. Add a reference to System.Web in FSharpHttpAsyncHandler.Lib 5. Add a reference to FSharpHttpAsyncHandler.Lib in FSharpHttpAsyncHandler. 6. Add the following to Web.config in FSharpHttpAsyncHandler. 7. In the Web tab of the project properties of FSharpHttpAsyncHandler, set Start url to http://localhost://whatever.SampleAsync 8. Run debug.

    4 people like this

    Posted: 1 month ago by Erling Hellenäs

Popular snippets

Snippets by tags

dsl (22) json (12) sequence (29) regex (12) array (18) html (14) http (15) tryfsharp (48) computation builder (14) wpf (18) web (23) pattern matching (12) mailboxprocessor (26) math (32) seq (50) string (18) parsing (22) staging (18) lists (13) quotations (17)

View all...

Database contains 2179 snippets out of which 1498 is public.