Building Web APIs with ASP.NET Core, Video Edition

Video description

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

Table of contents

  1. Part 1. Getting started
  2. Chapter 1. Web APIs at a glance
  3. Chapter 1. ASP.NET Core
  4. Chapter 1. Summary
  5. Chapter 2. Our first web API project
  6. Chapter 2. Installing Visual Studio
  7. Chapter 2. Creating the web API project
  8. Chapter 2. MyBGList project overview
  9. Chapter 2. Exercises
  10. Chapter 2. Summary
  11. Chapter 3. RESTful principles and guidelines
  12. Chapter 3. API documentation
  13. Chapter 3. API versioning
  14. Chapter 3. Exercises
  15. Chapter 3. Summary
  16. Part 2. Basic concepts
  17. Chapter 4. Working with data
  18. Chapter 4. Creating the database
  19. Chapter 4. EF Core
  20. Chapter 4. Exercises
  21. Chapter 4. Summary
  22. Chapter 5. CRUD operations
  23. Chapter 5. Injecting the DbContext
  24. Chapter 5. Seeding the database
  25. Chapter 5. Reading data
  26. Chapter 5. Updating and deleting data
  27. Chapter 5. Exercises
  28. Chapter 5. Summary
  29. Chapter 6. Data validation and error handling
  30. Chapter 6. Error handling
  31. Chapter 6. Exercises
  32. Chapter 6. Summary
  33. Part 3. Advanced concepts
  34. Chapter 7. Application logging
  35. Chapter 7. ASP.NET logging
  36. Chapter 7. Unstructured vs. structured logging
  37. Chapter 7. Third-party logging providers
  38. Chapter 7. Exercises
  39. Chapter 7. Summary
  40. Chapter 8. Caching techniques
  41. Chapter 8. HTTP response caching
  42. Chapter 8. In-memory caching
  43. Chapter 8. Distributed caching
  44. Chapter 8. Exercises
  45. Chapter 8. Summary
  46. Chapter 9. Authentication and authorization
  47. Chapter 9. ASP.NET Core Identity
  48. Chapter 9. Authorization settings
  49. Chapter 9. Role-based access control
  50. Chapter 9. Exercises
  51. Chapter 9. Summary
  52. Chapter 10. Beyond REST
  53. Chapter 10. GraphQL
  54. Chapter 10. Google Remote Procedure Call
  55. Chapter 10. Other REST alternatives
  56. Chapter 10. Exercises
  57. Chapter 10. Summary
  58. Part 4. Toward production
  59. Chapter 11. API documentation
  60. Chapter 11. API documentation best practices
  61. Chapter 11. Filter-based Swagger customization
  62. Chapter 11. Exercises
  63. Chapter 11. Summary
  64. Chapter 12. Release and deployment
  65. Chapter 12. Creating a Windows VM server
  66. Chapter 12. Configuring the Windows VM server
  67. Chapter 12. Publishing and deploying
  68. Chapter 12. Summary

Product information

  • Title: Building Web APIs with ASP.NET Core, Video Edition
  • Author(s): Valerio De Sanctis
  • Release date: June 2023
  • Publisher(s): Manning Publications
  • ISBN: None