ASP.NET API sample