Create fully featured APIs with the ASP.NET Core framework! This practical guide shows you how to design and implement APIs using the REST and GraphQL standards.
In ASP.NET Core Web API
you will learn how to:
ASP.NET Core Web API
- Set up your environment with VS 2019, Node, Git, and more
- Create a 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
is a practical beginner’s guide to creating your first web APIs using ASP.NET Core. In it, you’ll develop an API that feeds web-based services, including websites and mobile apps, for a board games application. The book is structured just like a real-world development project, with each chapter introducing a new feature request. You’ll build your API with an ecosystem of ASP.NET Core tools that help simplify everything from setting up your data model to generating documentation.
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’s designed to maximize code execution speed and reliability, and its “no compile” development experience means you’re 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.
about the book
ASP.NET Core Web API
is a hands-on tutorial for creating web APIs using ASP.NET Core. In it, you’ll learn to use the groundbreaking Minimal API model to write REST APIs with the least possible dependencies and just a few lines of code. You’ll also discover comprehensive best practices for REST and explore modern API approaches using GraphQL. Each chapter contains realistic user stories, backlog items, and development tasks just like you’d encounter in a real software project. The skills you build while developing the book’s example project will transfer seamlessly into your daily work as an ASP.NET developer.
about the reader
For junior developers with some experience using the .NET Framework.
about the author
Valerio De Sanctis
has more than 20 years of experience in web development and project management using ASP.NET, PHP, and Java. He has held senior positions at financial and insurance companies, most recently as Chief Technology Officer, Chief Security Officer, and Chief Operating Officer. Since 2018, he has been a Microsoft Most Valuable Professional (MVP) for Developer Technologies & Cloud and Datacenter Management.