Publisher's Synopsis
Create fully featured APIs with the ASP.NET Core framework!
Building Web APIs with ASP.NET Core is a practical beginner's guide to creating your first web APIs using the REST and GraphQL standards. The book is structured just like a real-world development project, with each chapter introducing a new feature request.
This edition will help you develop an API that feeds web-based services, including websites and mobile apps, for a board games application. You will build your API with an ecosystem of ASP.NET Core tools that helps simplify everything from setting up your data model to generating documentation.
You will learn how to:
- Set up your environment with VS 2022, Node, Git, and more
- Create an ASP.NET Core project from scratch
- Integrate with SQL Server
- Use Entity Framework Core to set up a data model
- Create back-end controllers
- Design an API to serve data
- Write API documentation using Swagger and Swashbuckle
- Consume an API using typical web client-side frameworks, including Angular and ReactJS
- Handle requests and routes using controllers and Minimal API
About the technology
APIs are the backbone of modern software and a vital skill for anyone serious about professional development. The free and open-source ASP.NET Core framework is one of the best tools available for creating APIs! It is designed to maximise code execution speed and reliability, and its "no compile" development experience means you are never stuck waiting for your code. Widely used by both small companies and big enterprises, ASP.NET Core benefits from both the support of its open-source community and the backing of Microsoft and the Azure cloud.