Customizing ASP.NET Core 6.0 - Second Edition: Learn to turn the right screws to optimize ASP.NET Core applications for better performance

Jürgen Gutsch

  • 出版商: Packt Publishing
  • 出版日期: 2021-12-31
  • 售價: $1,360
  • 貴賓價: 9.5$1,292
  • 語言: 英文
  • 頁數: 202
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1803233605
  • ISBN-13: 9781803233604
  • 相關分類: .NETASP.NET
  • 下單後立即進貨 (約3~4週)

商品描述

Key Features

  • Second edition updated and enhanced to cover the latest .NET 6 features and changes
  • Learn expert techniques to implement authentication and authorization for securing your web apps
  • Discover best practices for configuring ASP.NET Core, from user interface design to hosting it on platforms

Book Description

ASP.NET Core comes packed full of hidden features for building sophisticated web applications. You'd be missing out on a lot of its capabilities by not customizing it to work for your applications. With Customizing ASP.NET Core 6.0, you'll discover techniques to help you get the most out of the framework to deliver robust applications.

In this updated second edition, you'll cover the latest features and changes in the .NET 6 LTS version. You'll find new insights and customization techniques for important topics such as authentication and authorization. The book will also show you how to work with caches and change the default behavior of ASP.NET Core apps. You'll learn essential concepts relating to optimizing the framework, such as configuration, dependency injection, routing, action filters, and more. As you progress, you'll be able to create custom solutions that meet the needs of your use case with ASP.NET Core. Later chapters will cover expert techniques and best practices for using the framework for your app development needs, from UI design to hosting. Finally, you'll focus on the new endpoint routing in ASP.NET Core to build custom endpoints and add third-party endpoints to your web apps for processing requests faster.

By the end of this book, you'll be able to customize ASP.NET Core to develop robust optimized apps.

What you will learn

  • Explore various application configurations and providers in ASP.NET Core 6
  • Enable and work with caches to improve the performance of your application
  • Understand dependency injection in .NET and learn how to add third-party DI containers
  • Discover the concept of middleware and write your middleware for ASP.NET Core apps
  • Create various API output formats in your API-driven projects
  • Get familiar with different hosting models for your ASP.NET Core app

Who this book is for

This .NET 6 book is for .NET developers who need to change the default behaviors of the framework to help improve the performance of their applications. Intermediate-level knowledge of ASP.NET Core and C# is required before getting started with the book.

作者簡介

Jürgen Gutsch is a .NET-addicted web developer. He has worked with .NET and ASP.NET since the early versions in 2002. Before that, he wrote server-side web applications using classic ASP. He is also an active part of the .NET developer community. Jürgen writes for the dotnetpro magazine, one of the most popular German-speaking developer magazines. He also publishes articles in English on his blog, ASP.NET Hacker, and contributes to several open source projects. Jürgen has been a Microsoft MVP since 2015. The best way to contact him is by using Twitter at sharpcms. He works as a developer, consultant, and trainer for the digital agency YOO Inc., located in Basel, Switzerland. YOO Inc. serves national as well as international clients and specializes in creating custom digital solutions for distinct business needs.

目錄大綱

Table of Contents

  1. Customizing Logging
  2. Customizing App Configuration
  3. Customizing Dependency Injection
  4. Configuring and Customizing HTTPS with Kestrel
  5. Configuring WebHostBuilder
  6. Using Different Hosting Models
  7. Using IHostedService and BackgroundService
  8. Writing Custom Middleware
  9. Working with Endpoint Routing
  10. Customizing ASP.NET Core Identity
  11. Configuring Identity Management
  12. Content Negotiation Using a Custom OutputFormatter
  13. Managing Inputs with Custom ModelBinder
  14. Creating a Custom ActionFilter
  15. Working with Caches
  16. Creating Custom TagHelper