Creating Web API in ASP.NET Core 2.0
Introduction
Let's create a Web API with the latest version of ASP.NET Core and Entity Framework Core.

In this guide, we'll use WideWorldImporters database to create a Web API.

REST APIs provide at least the following operations:

GET
POST
PUT
DELETE
There are other operations for RESTful, but they aren't necessary for this guide.

Those operations allow clients to perform actions through RESTful API, so our Web API must contain those operations.

WideWorldImporters database contains 4 schemas:

Application
Purchasing
Sales
Warehouse
In this guide, We'll work with Warehouse.StockItems table. We'll add code to work with this entity: allow to retrieve stock items, retrieve stock item by id, create, update and delete stock items from database.


www.codingame.com/playgrounds/35462/creating-web-api-in-asp-net-...



Eklenme Tarihi - 10-10-2019 | Son Güncelleme - 10-10-2019332 kez gösterildi.