e23bf6825e
Fixes https://github.com/aspnet/Docs/issues/7407 [Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/web-api/?view=aspnetcore-2.1&branch=pr-en-us-7491#annotate-class-with-apicontrollerattribute) |
||
---|---|---|
.. | ||
WebApiSample.Api | ||
WebApiSample.Api.Pre21 | ||
WebApiSample.DataAccess | ||
README.md | ||
global.json |
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: