About This Book
ASP.NET Core Fundamentals provides a comprehensive guide to building production-grade web applications and APIs using .NET 10. This book bridges the gap between introductory tutorials and real-world system design, offering practical patterns for security, performance, and maintainability.
Who this book is for
This book targets intermediate to advanced .NET developers who understand C# fundamentals and are ready to architect production systems. Whether you are migrating from .NET Framework, upgrading from earlier Core versions, or seeking to modernize existing applications, you will find actionable guidance for building secure, scalable solutions. Senior developers and architects will discover patterns for structuring complex codebases, while mid-level developers will gain the depth needed to move beyond basic implementations.
What you will learn and build
You will learn to design and deploy robust web applications using ASP.NET Core's full capabilities. The book covers minimal APIs and MVC controllers, Razor Pages, and modern authentication mechanisms including JWT and Identity. You will implement efficient data access with Entity Framework Core, apply caching and rate limiting for performance, and design RESTful APIs with OpenAPI documentation. Testing strategies using xUnit and WebApplicationFactory, along with observability through OpenTelemetry and structured logging, ensure your applications are maintainable. Finally, you will master deployment scenarios including Docker containerization, CI/CD pipelines, and Native AOT compilation for optimal performance.
How to use this book (recommended reading path)
Part I establishes essential foundations including middleware, routing, and configuration patterns. Read this sequentially if you are new to ASP.NET Core architecture. Part II covers web application development with controllers, Minimal APIs, and Razor Pages. Part III focuses on data architecture and application services. Part IV addresses API design, testing, and observability. Part V prepares you for production with performance tuning and deployment strategies. Experienced developers can reference specific chapters, but following Parts I, III, and V provides a complete architectural foundation. Parts II and IV allow you to specialize based on your project needs.
High-level prerequisites
You should have intermediate proficiency in C# and familiarity with object-oriented programming principles. Basic understanding of HTTP, REST concepts, and relational databases is assumed. Experience with the .NET CLI and either Visual Studio or VS Code is necessary. While prior ASP.NET Core experience helps, the book provides sufficient context for developers transitioning from other web frameworks or older .NET versions.
