b10558c28d
* Added missing ProducesResponseType, aligned response types Fixes #10613 * Apply suggestions from code review Co-Authored-By: bartlannoeye <bart.lannoeye@gmail.com> * Use StatusCodes instead of int for define-controller samples * Use StatusCodes instead of int for action-return-samples * Apply PR remarks |
||
---|---|---|
.. | ||
WebApiSample.Api.21 | ||
WebApiSample.Api.22 | ||
WebApiSample.Api.Pre21 | ||
WebApiSample.DataAccess | ||
README.md | ||
WebApiSample.sln |
README.md
ASP.NET Core Web API Controller Sample
This sample app consists of the following projects:
- *WebApiSample.Api.22: An ASP.NET Core 2.2 project targeting .NET Core 2.2.
- WebApiSample.Api.21: 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: