HLCores.Configurations
1.1.0
dotnet add package HLCores.Configurations --version 1.1.0
NuGet\Install-Package HLCores.Configurations -Version 1.1.0
<PackageReference Include="HLCores.Configurations" Version="1.1.0" />
paket add HLCores.Configurations --version 1.1.0
#r "nuget: HLCores.Configurations, 1.1.0"
// Install HLCores.Configurations as a Cake Addin #addin nuget:?package=HLCores.Configurations&version=1.1.0 // Install HLCores.Configurations as a Cake Tool #tool nuget:?package=HLCores.Configurations&version=1.1.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 | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net7.0
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 7.0.20)
- Microsoft.AspNetCore.OpenApi (>= 7.0.20)
- Microsoft.EntityFrameworkCore (>= 7.0.20)
- Microsoft.SqlServer.SqlManagementObjects (>= 171.30.0)
- Swashbuckle.AspNetCore (>= 6.7.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.