How to send push notifications to mobile devices with ServiceStack and PushSharp

PushSharp is a c# library, useful for sending Push Notifications to a very large range of devices (iOS, Android, Windows Phone, Chrome, Amazon, etc.). It allows you to generalize the sending of push notifications, without worrying about the type of device that will receive it.

We’ll use ServiceStack as a framework for building a simple webservice.

Full code available on Github

Continue reading


ServiceStack Tutorial: How to upload and download binary files from Azure

ServiceStack is an excellent framework for creating WebServices with dotNet. When I first started to build SOA in C#, I inevitably ran into the slowness and heaviness of WCF and the immaturity of Web APIs.
Looking for alternatives, I came across ServiceStack’s site. I discovered this elegant, well-designed, fast and intuitive framework.

If you’re not familiar with ServiceStack, I suggest you to read this brief introduction on the official website.

This tutorial will deal with the issue of uploading/downloading binary files to/from Azure via ServiceStack. I’ll assume a basic knowledge of ServiceStack and Azure.

Continue reading