ServiceStack extensibility using MEF

A while back, I had started playing with the Managed Extensibility Framework (MEF) from Big Mike – an extensibility framework that lets you discover components that implements your interface, thus allowing you to do Software Composition. For close to a year now, I have also been playing with ServiceStack – a clean and elegant Open Source solution for Web Services.

I’ve wondered for quite a while now if the two could be combined, i.e. if it was possible to do Service Composition by using MEF and ServiceStack. I figured it could be done, but could never find the time to verify my assumptions…until now.

Continue reading “ServiceStack extensibility using MEF”

ServiceStack extensibility using MEF

Uploading a file and getting back its URL with AWS

I was playing with Amazon Web Services (AWS) over the weekend, trying out a few things including Amazon S3 for file storage. Unfortunately I could not find a quick and easy way to upload an image and retrieve its URL in single call in the AWS SDK…so I got creative
Continue reading “Uploading a file and getting back its URL with AWS”

Uploading a file and getting back its URL with AWS

Forms authentication with NancyFx

In theses past weeks, I’ve been playing around with NancyFx – a simple web framework a la Ruby Sinatra. So far it has been a joy to use. While I still love ASP.NET MVC, I find myself a bit more appreciative each day of the simplicity of Nancy.

One of the thing that I had set out to do was to build a simple registration module using Forms Authentication for a sample app, and to verify that the authentication worked by trying to access a secured module.

Continue reading “Forms authentication with NancyFx”

Forms authentication with NancyFx