Mehr lesen
Building Web APIs with ASP.NET Core is a hands-on tutorial for creating web APIs using ASP.NET Core. This edition will help you learn how to use the ground-breaking Minimal API model to write REST APIs with the least possible dependencies and just a few lines of code. You will 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 would encounter in a real-life 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.
Über den Autor / die Autorin
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.
Zusammenfassung
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.