HLCores.Configurations
2.0.0
dotnet add package HLCores.Configurations --version 2.0.0
NuGet\Install-Package HLCores.Configurations -Version 2.0.0
<PackageReference Include="HLCores.Configurations" Version="2.0.0" />
paket add HLCores.Configurations --version 2.0.0
#r "nuget: HLCores.Configurations, 2.0.0"
// Install HLCores.Configurations as a Cake Addin #addin nuget:?package=HLCores.Configurations&version=2.0.0 // Install HLCores.Configurations as a Cake Tool #tool nuget:?package=HLCores.Configurations&version=2.0.0
HLCores.Configurations
HLCores.Configurations is a generic pakage that contained any necessary packages for creating a web APIs with ASP.NET Core.
Features
- HLCores.Configurations.AuthenticationConfig.
- HLCores.Configurations.Database.
- HLCores.Configurations.DI.
- HLCores.Configurations.SwaggerGenConfig.
Usage
1. AuthenticationConfig
Enables JWT-bearer authentication using the default scheme. JWT bearer authentication performs authentication by extracting and validating a JWT token from the Authorization request header.
Follow: HLCores.Configurations.AuthenticationConfig
2. DatabaseConfiguration
HLCores Configurations Database is config generate and execute script sql file.
I used the use SQL Server SMO (Server Management Object) package to do this, please refer to the documentation at Server Management Objects (SMO).
Follow: HLCores.Configurations.Database
3. DependencyInjectionConfiguration
HLCores.Configurations.DI is DependencyInjection using ServiceLifetime by attribute.
Follow: HLCores.Configurations.DI
4. SwaggerGenConfig
HLCores.Configurations.SwaggerGenConfig is custom service configufation registers Swagger.
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
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 8.0.11)
- Microsoft.AspNetCore.OpenApi (>= 8.0.11)
- Microsoft.EntityFrameworkCore (>= 8.0.11)
- Microsoft.SqlServer.SqlManagementObjects (>= 172.52.0)
- Swashbuckle.AspNetCore (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.