Web API Development with ASP.NET Core 8: Learn techniques, patterns, and tools for building high-performance, robust, and scalable web APIs
Author: Xiaodi Yan (Author)
Publisher finelybook 出版社: Packt Publishing
Publication Date 出版日期: 2024-04-05
Language 语言: English
Print Length 页数: 804 pages
ISBN-10: 180461095X
ISBN-13: 9781804610954
Book Description
Develop web API applications using design patterns, advanced customization, and cutting-edge technologies, such as SignalR, gRPC, and GraphQL, while leveraging powerful cloud platforms and tools to accelerate development
Key Features
- Gain proficiency in building modern ASP.NET Core web API applications
- Develop the skills to effectively test, debug, and secure your web API applications
- Streamline development workflows and boost productivity with cloud computing platforms and industry-standard CI/CD tools
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
Web API applications have become increasingly significant in recent years, fueled by the ever-accelerating pace of technological advancements. However, with this rapid evolution comes a pressing challenge: the need to create web API applications that are not only functional but also adaptable, maintainable, and scalable to meet the demands of users and businesses alike. This book will help you address this challenge head-on, equipping you with the knowledge and skills required to develop web API applications from scratch.
By providing a deeper understanding of the various protocols implemented by ASP.NET Core, including RESTful, SignalR (WebSocket), gRPC, and GraphQL, supplemented by practical examples and optimization techniques, such as using middleware, testing, caching, and logging, this book offers invaluable insights for both newcomers as well as seasoned developers to meet modern web development requirements. Additionally, you’ll discover how to use cloud platforms such as Azure and Azure DevOps to enhance the development and operational aspects of your application.
By the end of the book, you’ll be fully prepared to undertake enterprise-grade web API projects with confidence, harnessing the latest advancements in ASP.NET Core 8 to drive innovation.
What you will learn
- Build a strong foundation in web API fundamentals
- Explore the ASP.NET Core 8 framework and other industry-standard libraries and tools for high-performance, scalable web APIs
- Apply essential software design patterns such as MVC, dependency injection, and the repository pattern
- Use Entity Framework Core for database operations and complex query creation
- Implement robust security measures to protect against malicious attacks and data breaches
- Deploy your application to the cloud using Azure and leverage Azure DevOps to implement CI/CD
Who this book is for
This book is for developers who want to learn how to build web APIs with ASP.NET Core and create flexible, maintainable, scalable applications with .NET platform. Basic knowledge of C#, .NET, and Git will assist with understanding the concepts more easily.
Table of Contents
- Fundamentals of Web APIs
- Getting Started with ASP.NET Core Web APIs
- ASP.NET Core Fundamentals (Part 1)
- ASP.NET Core Fundamentals (Part 2)
- Data Access in ASP.NET Core (Part 1: Entity Framework Core Fundamentals)
- Data Access in ASP.NET Core (Part 2: Entity Relationships)
- Data Access in ASP.NET Core (Part 3: Tips)
- Security and Identity in ASP.NET Core
- Testing in ASP.NET Core (Part 1 – Unit Testing)
- Testing in ASP.NET Core (Part 2 – Integration Testing)
- Getting Started with gRPC
- Getting Started with GraphQL
- Getting Started with SignalR
- CI/CD for ASP.NET Core Using Azure Pipelines and GitHub Actions
- ASP.NET Core Web API Common Practices
- Error Handling, Monitoring, and Observability
- Cloud-Native Patterns
- Leveraging Open-Source Frameworks