Eliassen.Common.AspNetCore 0.1.85

This package has a SemVer 2.0.0 package version: 0.1.85+2.
dotnet add package Eliassen.Common.AspNetCore --version 0.1.85                
NuGet\Install-Package Eliassen.Common.AspNetCore -Version 0.1.85                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Eliassen.Common.AspNetCore" Version="0.1.85" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Eliassen.Common.AspNetCore --version 0.1.85                
#r "nuget: Eliassen.Common.AspNetCore, 0.1.85"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Eliassen.Common.AspNetCore as a Cake Addin
#addin nuget:?package=Eliassen.Common.AspNetCore&version=0.1.85

// Install Eliassen.Common.AspNetCore as a Cake Tool
#tool nuget:?package=Eliassen.Common.AspNetCore&version=0.1.85                

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last updated
0.1.85 45 10/10/2024
0.1.84 38 10/10/2024
0.1.83 42 9/27/2024
0.1.82 130 8/23/2024
0.1.81 104 8/1/2024
0.1.81-dev-gh-pipline.3 46 8/1/2024