Small script to generate a X509 certificate for testing purposes. In my case, for generating signed PDF documents. This will write the certificate and it's key out into a Pkcs 12 store. It relies on the BouncyCastle library (version 1.7 worked fine).
3 people like thisPosted: 11 years ago by mavnn
Simple, but slow. Don't do this at home :)
0 people like thisPosted: 10 years ago by mavnn
A simple computational expression to deal with asynchronous calls that return a choice type to signal failure.
Useful for calling remote services that may fail - you can call the remote service with functions of type "request -> Async
Posted: 10 years ago by mavnn
A quick NodaTime.Instant generator for FsCheck
3 people like thisPosted: 10 years ago by mavnn
Playing with simplified domain modules and event sourcing in F#
6 people like thisPosted: 9 years ago by mavnn
We sometimes come across business processes where it's important to respond within a particular time window. Here's an experiment modelling that with Hopac
2 people like thisPosted: 9 years ago by mavnn
Playing with Chiron for JSON storage.
5 people like thisPosted: 9 years ago by mavnn
No nulls FsCheck
2 people like thisPosted: 9 years ago by mavnn
Sometimes you have a type safe method you need to wrap inside a generic (type/method). Here's an easy but nasty way of doing it
2 people like thisPosted: 8 years ago by mavnn
From progfsharp tutorials
0 people like thisPosted: 10 years ago by mavnn
Selection of helper functions for generating test data.
1 people like thisPosted: 10 years ago by mavnn
Using Type Provider generated functions for type safe logging.
0 people like thisPosted: 10 years ago by mavnn
It's probably not possible, but I'm going to see how far I can get...
1 people like thisPosted: 10 years ago by mavnn
Adding together Option types
5 people like thisPosted: 9 years ago by mavnn
Turn a project based nuspec into a project type paket template (see http://fsprojects.github.io/Paket/template-files.html )
3 people like thisPosted: 9 years ago by mavnn
"let rec inline" doesn't always behave as expected
2 people like thisPosted: 9 years ago by mavnn
Don't do this at home, folks - the modules here should obviously be in separate processes to actually get any benefit from busing stuff around. Still, I think this gives a minimal implementation of NServiceBus on Rabbit to play with; just past the code below into a console app and either add a "rabbit connection" to config or pass it in via the command line. You'll need to nuget (or paket) reference NServiceBus.RabbitMQ, Argu, and their dependencies. I've put all the config in code as it makes experimentation easier.
1 people like thisPosted: 8 years ago by mavnn