In Video Editions the narrator reads the book while the content, figures, code listings, diagrams, and text appear on the screen. Like an audiobook that you can also watch as a video.
Build fully-featured APIs with ASP.NET Core! This all-practical guide is written like a real development project, taking you hands-on with modern APIs utilizing REST and GraphQL standards.
In Building Web APIs with ASP.NET Core you will learn how to:
Set up your environment with VS 2022, 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
Handle requests and routes using controllers and Minimal API
Release and deploy your Web API in production on cloud-based hosting services such as MS Azure
Building Web APIs with ASP.NET Core 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 cleverly structured to mirror 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 Web APIs are the front door to an application, providing controlled access to its data and features. ASP.NET Core, Microsoft’s web framework, simplifies and accelerates API creation with powerful, developer-friendly features, including an innovative “no compile” coding experience. It is reliable, fast, free, open-source, and backed by Microsoft’s legendary support.
About the Book Building Web APIs with ASP.NET Core teaches you how to write safe, maintainable, and performant REST APIs. It’s full of best practices for modern and classic API styles, including REST and GraphQL. You’ll love the groundbreaking Minimal API model that helps you build pro-quality APIs with just a few lines of code. Each chapter contains realistic user stories, backlog items, and development tasks.
What's Inside
Create an ASP.NET Core project from scratch
Set up a data model with Entity Framework Core
Create backend controllers
Design an API to serve data
About the Reader For 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.
Quotes Great blend of foundational and advanced concepts and techniques. - Darren Gillis, BlackLabel Digital
REST, authentication/authorization, validation, and even documentation are all covered in one place. This is the book you’re looking for! - Paul Brown, VacoBuilt
Fantastic! Provides realistic examples and gets the reader comfortable quickly with API development. - Foster Haines, J2 Interactive
I like the pragmatic way to learn by building a real ASP.NET Core API. - Enzo Aggazio, SCAI Lab
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.