Название: ASP.NET Core APIs Succinctly Автор: Dirk Strauss Издательство: Syncfusion Inc. Год: 2023 Язык: английский Формат: pdf (true) Размер: 10.1 MB
APIs are such a critical part of software that “API-first” has become a popular approach to development, one where the API is designed before the app itself is written. Without a well-designed API, your app is isolated from the greater app ecosystem. In ASP.NET Core APIs Succinctly, author Dirk Strauss guides you through designing your own REST API, using it to return and modify data, and versioning it as you continue to develop it.
The API we will be creating will be concerned with book information for my library of books. It will contain basic book information such as ISBN, title, and description. You can make this book information as verbose as you want to, but for this project, I have kept the information about a book in my library simple.
Our focus is creating an API, but it would be incomplete for me to not go through the initial creation and setup of the project. To this end, I will show you how to get a basic ASP.NET Core Web API project created that targets .NET 5.0. I will also show you how to set up a basic data service using Entity Framework so that we can have some data to test our API with.
A system can request information from an API, and the API will just return the raw data as well as other information that can be interpreted by the requesting system. This is all done without much input from a human. This means that whenever you open a mobile application (for example), chances are that the application is making use of an API call at some point in its lifecycle without you knowing it.
Table of contents:
Designing Your API Returning Data with Your API Modifying Data with Your API Versioning Your API
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.