AspNetCore.Docs/aspnetcore/web-api/define-controller/samples
Luke Latham 34b33e245b Add version to App package references (#7551)
Fixes #7532
2018-07-10 22:43:09 -05:00
..
WebApiSample.Api Add version to App package references (#7551) 2018-07-10 22:43:09 -05:00
WebApiSample.Api.Pre21 Convert synchronous web API methods to async (#7544) 2018-07-10 14:08:50 -05:00
WebApiSample.DataAccess Convert synchronous web API methods to async (#7544) 2018-07-10 14:08:50 -05:00
README.md

README.md

ASP.NET Core Web API Controller Sample

This sample app consists of the following projects:

  • WebApiSample.Api: An ASP.NET Core 2.1 project targeting .NET Core 2.1.
  • WebApiSample.Api.Pre21: An ASP.NET Core 2.0 project targeting .NET Core 2.0.
  • WebApiSample.DataAccess: A .NET Standard 2.0 class library serving as a data access tier for the 2 Web API projects.

This sample illustrates variations of Web API controller creation: