ASP.NET Core in Action, Second Edition is a comprehensive guide to creating web applications with ASP.NET Core 5.0. Go from basic HTTP concepts to advanced framework customization.
Fully updated to ASP.NET 5.0, ASP.NET Core in Action, Second Edition is a hands-on primer to building cross-platform web applications with your C# and .NET skills. Even if you've never worked with ASP.NET you'll start creating productive cross-platform web apps fast. And don’t worry about late-breaking changes to ASP.NET Core.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the technology
Build full-stack web applications that run anywhere. Developers love ASP.NET Core for its libraries and pre-built components that maximize productivity. Version 5.0 offers new features for server-side apps, as well as background services for cross-platform development.
About the book
ASP.NET Core in Action, Second Edition is a comprehensive guide to creating web applications with ASP.NET Core 5.0. Go from basic HTTP concepts to advanced framework customization. Illustrations and annotated code make learning visual and easy. Master logins, dependency injection, security, and more. This updated edition covers the latest features, including Razor Pages and the new hosting paradigm.
Developing apps for Windows and non-Windows servers
Building custom components
Logging, testing, and security
About the reader
For intermediate C# developers.
About the author
Andrew Lock is a Microsoft MVP who has worked with ASP.NET Core since before its first release.
Table of Contents
PART 1 - GETTING STARTED WITH ASP.NET CORE
1 Getting started with ASP.NET Core
2 Your first application
3 Handling requests with the middleware pipeline
4 Creating a website with Razor Pages
5 Mapping URLs to Razor Pages using routing
6 The binding model: Retrieving and validating user input
7 Rendering HTML using Razor views
8 Building forms with Tag Helpers
9 Creating a Web API for mobile and client applications using MVC
PART 2 - BUILDING COMPLETE APPLICATIONS
10 Service configuration with dependency injection
11 Configuring an ASP.NET Core application
12 Saving data with Entity Framework Core
13 The MVC and Razor Pages filter pipeline
14 Authentication: Adding users to your application with Identity
15 Authorization: Securing your application
16 Publishing and deploying your application
PART 3 - EXTENDING YOUR APPLICATIONS
17 Monitoring and troubleshooting errors with logging
18 Improving your application’s security
19 Building custom components
20 Building custom MVC and Razor Pages components
21 Calling remote APIs with IHttpClientFactory
22 Building background tasks and services
23 Testing your application