886610_10151451110768427_208262636_o%20(1)_large

Valerio Gheri

A look into the future of .Net

.Net, Asp.Net and Visual Studio vNext

Hello,

Today I presented and demoed the next version of the .Net development stack to the colleagues here at ricardo.ch.
I truly think that the new version of the stack will bring back that feeling of being on the cutting edge of technology once again, and this is a very important feeling for developers and also very important to attract new . . .

Read More

December 18, 2014

Sending push notifications to Android devices using Microsoft Azure NotificationHub API

Flow I adopted to provide Push Notification support to my WebAPI and Android projects using Microsoft Azure NotificationHubs API for a scalable, reliable and fast service:

  1. The Android client after having successfully logged-in, query the GCM for the GCMDeviceRegistrationID and then calls the WebAPI backend hitting the endpoint . . .

Read More

July 01, 2014

HOW TO SECURE YOUR HTTP API ENDPOINTS USING FACEBOOK AS OAUTH PROVIDER

This post is the natural follow-up of my previous post “How to build and test your Rest API with Node.js, Express and Mocha”.
Here I’ll show you a possible solution to the problem of authenticating your API users via Facebook, accessing some user’s basic info like name, profile pic and email and using the given Facebook access token to secure . . .

Read More

June 19, 2014

HOW TO BUILD AND TEST YOUR REST API WITH NODE.JS, EXPRESS AND MOCHA

Heads-up: this post refers to Express v3, which is now obsolete!

If you need to build an API, you want it done quickly and simply and you love JavaScript, then this article is for you!
I’m going to show a simple, quick and effective way to build and unit test your API and your routes, using Node.js, Express and a few amazing test libraries: . . .

Read More

June 19, 2014

ASP.NET MVC 5: HOW TO RETRIEVE USER INFORMATION ON LOGIN WITH FACEBOOK

My current project is an MVC 5 web site that allows users to log in with their Facebook account. The new Asp.Net Identity framework makes it really easy to just drop this feature into your project.The concept of claims is really interesting but in my opinion it is till a little confused and lacks a clear and “object oriented” way to define . . .

Read More

June 19, 2014

ASP.NET WEBAPI IDENTITY SYSTEM: HOW TO LOGIN WITH FACEBOOK ACCESS TOKEN

A quick guide to solve a typical yet not much supported problem

The context

I’m working on a project where I have a RESTful HTTP API implemented using the WebAPI framework that is consumed by a native Android application.
This application allows the user to login using their Facebook account and this feature is implemented using the Facebook SDK for Android.
Now the Facebook SDK always gives you an access . . .

Read More

June 18, 2014

Moving to Silvrback

Hi everybody, I finally decided to make the move, buy me a proper domain and move my WordPress hosted blog on to Silvrback, which looks very promising.
The blog is not yet in its final form as I still have to upload a proper header image and all my old posts are missing: I'll try to import as many as I can, probably starting with the . . .

Read More

June 18, 2014

Archive