ASP.NET Core in Action, Third Edition
eBook - ePub

ASP.NET Core in Action, Third Edition

  1. 984 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

ASP.NET Core in Action, Third Edition

About this book

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 reader For beginning to intermediate web developers. Examples are in C#. About the author Andrew Lock is a Microsoft MVP who has worked with ASP.NET Core since before its first release. Table of Contents 1 Getting started with ASP.NET Core
2 Understanding ASP.NET Core
3 Your first application
4 Handling requests with the middleware pipeline
5 Creating a JSON API with minimal APIs
6 Mapping URLs to endpoints using routing
7 Model binding and validation in minimal APIs
8 An introduction to dependency injection
9 Registering services with dependency injection
10 Configuring an ASP.NET Core application
11 Documenting APIs with OpenAPI
12 Saving data with Entity Framework Core
13 Creating a website with Razor Pages
14 Mapping URLs to Razor Pages using routing
15 Generating responses with page handlers in Razor Pages
16 Binding and validating requests with Razor Pages
17 Rendering HTML using Razor views
18 Building forms with Tag Helpers
19 Creating a website with MVC controllers
20 Creating an HTTP API using web API controllers
21 The MVC and Razor Pages filter pipeline
22 Creating custom MVC and Razor Page filters
23 Authentication: Adding users to your application with Identity
24 Authorization: Securing your application
25 Authentication and authorization for APIs
26 Monitoring and troubleshooting errors with logging
27 Publishing and deploying your application
28 Adding HTTPS to an application
29 Improving your application's security
30 Building ASP.NET Core apps with the generic host and Startup
31 Advanced configuration of ASP.NET Core
32 Building custom MVC and Razor Pages components
33 Calling remote APIs with IHttpClientFactory
34 Building background tasks and services
35 Testing applications with xUnit
36 Testing ASP.NET Core applications

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access ASP.NET Core in Action, Third Edition by Andrew Lock in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in C. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. inside front cover
  2. ASP.NET Core in Action
  3. Copyright
  4. Praise for the Second Edition
  5. contents
  6. front matter
  7. 1 Getting started with ASP.NET Core
  8. Part 1 Getting started with minimal APIs
  9. 2 Understanding ASP.NET Core
  10. 3 Your first application
  11. 4 Handling requests with the middleware pipeline
  12. 5 Creating a JSON API with minimal APIs
  13. 6 Mapping URLs to endpoints using routing
  14. 7 Model binding and validation in minimal APIs
  15. Part 2 Building complete applications
  16. 8 An introduction to dependency injection
  17. 9 Registering services with dependency injection
  18. 10 Configuring an ASP.NET Core application
  19. 11 Documenting APIs with OpenAPI
  20. 12 Saving data with Entity Framework Core
  21. Part 3 Generating HTML with Razor Pages and MVC
  22. 13 Creating a website with Razor Pages
  23. 14 Mapping URLs to Razor Pages using routing
  24. 15 Generating responses with page handlers in Razor Pages
  25. 16 Binding and validating requests with Razor Pages
  26. 17 Rendering HTML using Razor views
  27. 18 Building forms with Tag Helpers
  28. 19 Creating a website with MVC controllers
  29. 20 Creating an HTTP API using web API controllers
  30. 21 The MVC and Razor Pages filter pipeline
  31. 22 Creating custom MVC and Razor Page filters
  32. Part 4 Securing and deploying your applications
  33. 23 Authentication: Adding users to your application with Identity
  34. 24 Authorization: Securing your application
  35. 25 Authentication and authorization for APIs
  36. 26 Monitoring and troubleshooting errors with logging
  37. 27 Publishing and deploying your application
  38. 28 Adding HTTPS to an application
  39. 29 Improving your application’s security
  40. Part 5 Going further with ASP.NET Core
  41. 30 Building ASP.NET Core apps with the generic host and Startup
  42. 31 Advanced configuration of ASP.NET Core
  43. 32 Building custom MVC and Razor Pages components
  44. 33 Calling remote APIs with IHttpClientFactory
  45. 34 Building background tasks and ser vices
  46. 35 Testing applications with xUnit
  47. 36 Testing ASP.NET Core applications
  48. appendix A. Preparing your development environment
  49. Appendix B. Useful references
  50. index
  51. inside back cover