HLCores 2.1.0
dotnet add package HLCores --version 2.1.0
NuGet\Install-Package HLCores -Version 2.1.0
<PackageReference Include="HLCores" Version="2.1.0" />
<PackageVersion Include="HLCores" Version="2.1.0" />
<PackageReference Include="HLCores" />
paket add HLCores --version 2.1.0
#r "nuget: HLCores, 2.1.0"
#:package HLCores@2.1.0
#addin nuget:?package=HLCores&version=2.1.0
#tool nuget:?package=HLCores&version=2.1.0
HLCores
HLCores 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.
- HLCores.Extensions.IQueryable.
- HLCores.Extensions.Linq.
- HLCores.Utilities.DateTime.
- HLCores.Utilities.Files.
- HLCores.Utilities.Mapper.
- HLCores.Utilities.Pagination.
- HLCores.Utilities.Pluralize.
- HLCores.Utilities.PredicateBuilder.
- HLCores.Utilities.SettingsConfig.
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.
Follow: HLCores.Configurations.SwaggerGenConfig
5. IQueryableExtensions
HLCores.Extensions.IQueryable is typically a static class that contains extension methods for the IQueryable<T> interface in .NET. These methods are used to extend and simplify LINQ queries , especially when working with data sources like Entity Framework or LINQ to SQL.
Follow: HLCores.Extensions.IQueryable
6. LinqExtensions
HLCores.Extensions.Linq is custom functions linq.
Follow: HLCores.Extensions.Linq
7. DateTimeUtility
HLCores.Utilities.DateTime is a utility support getting datetime data by categories year, quarter, month, week, day.
Language Code default is en-us.
Follow: HLCores.Utilities.DateTime
8. FilesUtility
HLCores.Utilities.Files is a utility that includes functions to save files, delete files, read files, download files, retrieve all files in folders and subfolders, save files in html content.
Follow: HLCores.Utilities.Files
9. MapperUtility
HLCores.Utilities.Mapper is a utility that helps you convert data transfer objects quickly.
Follow: HLCores.Utilities.Mapper
10. PaginationUtility
HLCores.Utilities.Pagination is a data pagination utility.
Follow: HLCores.Utilities.Pagination
11. PluralizeUtility
HLCores.Utilities.Pluralize is a utility returns the plural form of the specified English word.
The utility is inspired by Pluralize.NET of sarathkcm and developed to .Net version 7.
Follow: HLCores.Utilities.Pluralize
12. PredicateBuilderUtility
HLCores.Utilities.PredicateBuilder is a design pattern (often implemented as a utility class) that allows you to dynamically build LINQ expression trees at runtime — especially for Where() clauses with optional or conditional filters .
Follow: HLCores.Utilities.PredicateBuilder
13. SettingsConfigUtility
HLCores.Utilities.SettingsConfig is a utility get a valued stored in the appsettings.
Follow: HLCores.Utilities.SettingsConfig
| 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- HLCores.AsQueryableProvider (>= 2.0.0)
- HtmlAgilityPack (>= 1.11.71)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 8.0.11)
- Microsoft.AspNetCore.OpenApi (>= 8.0.11)
- Microsoft.EntityFrameworkCore (>= 8.0.11)
- Microsoft.EntityFrameworkCore.SqlServer (>= 8.0.11)
- Microsoft.SqlServer.SqlManagementObjects (>= 172.52.0)
- Swashbuckle.AspNetCore (>= 7.0.0)
- System.Drawing.Common (>= 8.0.11)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.