Eliassen.Common.AspNetCore
0.1.84
See the version list below for details.
dotnet add package Eliassen.Common.AspNetCore --version 0.1.84
NuGet\Install-Package Eliassen.Common.AspNetCore -Version 0.1.84
<PackageReference Include="Eliassen.Common.AspNetCore" Version="0.1.84" />
paket add Eliassen.Common.AspNetCore --version 0.1.84
#r "nuget: Eliassen.Common.AspNetCore, 0.1.84"
// Install Eliassen.Common.AspNetCore as a Cake Addin #addin nuget:?package=Eliassen.Common.AspNetCore&version=0.1.84 // Install Eliassen.Common.AspNetCore as a Cake Tool #tool nuget:?package=Eliassen.Common.AspNetCore&version=0.1.84
Eliassen.Common.AspNetCore
This library provides a set of extension methods for configuring common ASP.NET Core middleware and extensions.
Common.AspNetCore.ApplicationBuilderExtensions
This class provides extension methods for configuring common ASP.NET Core middleware.
Methods
UseCommonAspNetCoreMiddleware(Microsoft.AspNetCore.Builder.IApplicationBuilder, Eliassen.Common.AspNetCore.MiddlewareExtensionBuilder)
Adds common ASP.NET Core middleware to the specified application builder.
Parameters
builder
: The instance.middlewareBuilder
: The instance.
Return value
The updated instance.
Common.AspNetCore.MiddlewareExtensionBuilder
This class represents a builder for configuring middleware extensions.
Properties
HealthCheckPath
Gets or initializes the path for health checks.
Common.AspNetCore.ServiceCollectionExtensions
This class provides extension methods for configuring common ASP.NET Core extensions in the IServiceCollection
.
Methods
TryCommonAspNetCoreExtensions(Microsoft.Extensions.DependencyInjection.IServiceCollection, Microsoft.Extensions.Configuration.IConfiguration, Eliassen.AspNetCore.Mvc.AspNetCoreExtensionBuilder, Eliassen.AspNetCore.JwtAuthentication.JwtExtensionBuilder)
Tries to add common ASP.NET Core extensions to the specified IServiceCollection
.
Parameters
services
: The instance.configuration
: The configuration containing settings for ASP.NET Core extensions.aspNetBuilder
: Optional builder for configuring ASP.NET Core extensions. Default is null.jwtBuilder
: Optional builder for configuring JWT extensions. Default is null.
Return value
The updated instance.
This library is designed to simplify the process of configuring common ASP.NET Core middleware and extensions in your ASP.NET Core applications.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Eliassen.AspNetCore.Abstractions (>= 0.1.84)
- Eliassen.AspNetCore.JwtAuthentication (>= 0.1.84)
- Eliassen.AspNetCore.Mvc (>= 0.1.84)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Eliassen.Common.AspNetCore:
Package | Downloads |
---|---|
Eliassen.Common.Complete
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.