ASP.NET Core in Action, Third Edition

  • 18h 35m
  • Andrew Lock
  • Manning Publications
  • 2023

Build professional-grade full-stack web applications using C# and ASP.NET Core.

In ASP.NET Core in Action, Third Edition you’ll learn how to:

  • Build minimal APIs for serving JSON to client-side applications
  • Create dynamic, server-side rendered applications using Razor Pages
  • User authentication and authorization
  • Store data using Entity Framework Core
  • Unit and integration tests for ASP.NET Core applications
  • Write custom middleware and components

Fully updated to ASP.NET Core 7.0! In ASP.NET Core in Action, Third Edition Microsoft MVP Andrew Lock teaches you how you can use your C# and .NET skills to build amazing cross-platform web applications. This revised bestseller reveals the latest .NET patterns, including minimal APIs and minimal hosting. Even if you've never worked with ASP.NET, you'll start creating productive cross-platform web apps fast. Illustrations and annotated code make learning visual and easy.

about the technology

The ASP.NET Core web framework delivers everything you need to build professional-quality web applications. With productivity-boosting libraries for server-side rendering, secure APIs, easy data access and more, you’ll spend your time implementing features instead of researching syntax and tracking down bugs. This book is your guide.

about the book

ASP.NET Core in Action, Third Edition shows you how to create production-grade web applications with ASP.NET Core 7.0. You’ll learn from hands-on examples, insightful illustrations, and nicely explained code. Updated coverage in this Third Edition includes creating minimal APIs, securing APIs with bearer tokens, WebApplicationBuilder, and more.

About the Author

Andrew Lock is a Microsoft MVP who has worked with ASP.NET Core since before its first release.

In this Book

  • Preface
  • About This Book
  • About the Cover Illustration
  • Getting Started With ASP.NET Core
  • Understanding ASP.NET Core
  • Your First Application
  • Handling Requests With the Middleware Pipeline
  • Creating a JSON API With Minimal APIs
  • Mapping URLs to Endpoints Using Routing
  • Model Binding and Validation in Minimal APIs
  • An Introduction to Dependency Injection
  • Registering Services With Dependency Injection
  • Configuring an ASP.NET Core Application
  • Documenting APIs With OpenAPI
  • Saving Data With Entity Framework Core
  • Creating a Website With Razor Pages
  • Mapping URLs to Razor Pages Using Routing
  • Generating Responses With Page Handlers in Razor Pages
  • Binding and Validating Requests With Razor Pages
  • Rendering HTML Using Razor Views
  • Building Forms With Tag Helpers
  • Creating a Website With MVC Controllers
  • Creating an HTTP API Using Web API Controllers
  • The MVC and Razor Pages Filter Pipeline
  • Creating Custom MVC and Razor Page Filters
  • Authentication: Adding Users to Your Application With Identity
  • Authorization: Securing Your Application
  • Authentication and Authorization for APIs
  • Monitoring and Troubleshooting Errors With Logging
  • Publishing and Deploying Your Application
  • Adding HTTPS to an Application
  • Improving Your Application’s Security
  • Building ASP.NET Core Apps With the Generic Host and Startup
  • Advanced Configuration of ASP.NET Core
  • Building Custom MVC and Razor Pages Components
  • Calling Remote APIs With IHttpClientFactory
  • Building Background Tasks and Ser Vices
  • Testing Applications With xUnit
  • Testing ASP.NET Core Applications
  • Appendix A. Preparing Your Development Environment
  • Appendix B. Useful References
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE

Rating 4.6 of 66 users Rating 4.6 of 66 users (66)
Rating 4.6 of 36 users Rating 4.6 of 36 users (36)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.3 of 93 users Rating 4.3 of 93 users (93)
Rating 4.5 of 2861 users Rating 4.5 of 2861 users (2861)
Rating 4.3 of 193 users Rating 4.3 of 193 users (193)