Customizing ASP.NET Core 5.0 - Jürgen Gutsch

Customizing ASP.NET Core 5.0

Turn the right screws in ASP.NET Core to get the most out of the framework

(Autor)

Buch | Softcover
160 Seiten
2021
Packt Publishing Limited (Verlag)
978-1-80107-786-6 (ISBN)
34,90 inkl. MwSt
Microsoft’s ASP.NET Core is a powerful web framework full of hidden features that this book will help you to understand. You’ll get hands-on with customizing ASP.NET Core to suit your application development needs with the help of practical examples and best practices.
A guide to discovering the hidden behaviors of ASP.NET Core that can be customized to optimize your .NET 5 applications

Key Features

Customize the default behavior of ASP.NET Core to get the most out of the framework
Enhance the app configuration, change the default dependency injection, and build your own tag helpers
Discover best practices for configuring ASP.NET Core, from user interface design to hosting it on platforms

Book DescriptionASP.NET Core is the most powerful Microsoft web framework. Although it’s full of rich features, sometimes the default configurations can be a bottleneck and need to be customized to suit the nature and scale of your app. If you’re an intermediate-level .NET developer who wants to extend .NET Core to multiple use cases, it's important to customize these features so that the framework works for you effectively.

Customizing ASP.NET Core 5.0 covers core features that can be customized for developing optimized apps. The customization techniques are also updated to work with the latest .NET 5 framework.

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 application development book, you’ll have the skills you need to 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 5
Understand dependency injection in .NET and learn how to add third-party DI containers
Discover the concept of middleware and write your own 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
Develop custom routing endpoints and add third-party endpoints
Configure WebHostBuilder effectively for your web applications

Who this book is forThis .NET 5 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 from southern Germany. He has been working 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 member of the .NET developer community, speaking at conferences and user group events. Jürgen writes for developer magazines; he also publishes articles on his blog and contributes to several open source projects. Jürgen has been a Microsoft MVP for Developer Technologies since 2015. 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

Customizing Logging
Customizing App Configuration
Customizing Dependency Injection
Configuring and Customizing HTTPS with Kestrel
Using IHostedService and BackgroundService
Writing Custom Middleware
Content Negotiation Using a Custom OutputFormatter
Managing Inputs with Custom ModelBinders
Creating a Custom ActionFilter
Creating Custom TagHelpers
Configuring WebHostBuilder
Using Different Hosting Models
Working with Endpoint Routing

Erscheinungsdatum
Vorwort Damien Bowden
Verlagsort Birmingham
Sprache englisch
Maße 75 x 93 mm
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Software Entwicklung SOA / Web Services
Mathematik / Informatik Informatik Web / Internet
ISBN-10 1-80107-786-X / 180107786X
ISBN-13 978-1-80107-786-6 / 9781801077866
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich