This is a basic ASP.NET WebAPI example. It uses OAuth2 for authentication. And there's a sample client in the solution that consumes this WebApi.
mustafasacli/AspNet-WebApi-OAuth2-Server-Client-Sample
ASP.NET WebAPI Example + OAuth2 + Client application (C#)
C#