AspNetCore.Docs/aspnetcore/web-api/define-controller/samples
Scott Addie 4b4b8e5f2a Replace line numbers range with snippet name 2018-07-24 21:44:05 -05:00
..
WebApiSample.Api Add version to App package references (#7551) 2018-07-10 22:43:09 -05:00
WebApiSample.Api.Pre21 Replace line numbers range with snippet name 2018-07-24 21:44:05 -05:00
WebApiSample.DataAccess Convert synchronous web API methods to async (#7544) 2018-07-10 14:08:50 -05:00
README.md Remove locale from URLs 2018-07-06 21:30:47 -05:00

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: