AspNetCore.Docs/aspnetcore/web-api/define-controller/samples
Scott Addie 52c49c924d
Update sample apps to 2.1 RTM (#6752)
Addresses https://github.com/aspnet/Docs/issues/5495

Updates 2 web API samples and a Partial Tag Helper sample from 2.1 RC1 to 2.1 RTM.
2018-05-31 13:24:21 -05:00
..
WebApiSample.Api Update sample apps to 2.1 RTM (#6752) 2018-05-31 13:24:21 -05:00
WebApiSample.Api.Pre21 Add Web API controller definition doc (#6003) 2018-04-24 14:03:55 -05:00
WebApiSample.DataAccess Add Web API controller definition doc (#6003) 2018-04-24 14:03:55 -05:00
README.md Add Web API controller definition doc (#6003) 2018-04-24 14:03:55 -05:00
global.json Add Web API controller definition doc (#6003) 2018-04-24 14:03:55 -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: