HMENetCore 6.0.41
dotnet add package HMENetCore --version 6.0.41
NuGet\Install-Package HMENetCore -Version 6.0.41
<PackageReference Include="HMENetCore" Version="6.0.41" />
<PackageVersion Include="HMENetCore" Version="6.0.41" />
<PackageReference Include="HMENetCore" />
paket add HMENetCore --version 6.0.41
#r "nuget: HMENetCore, 6.0.41"
#addin nuget:?package=HMENetCore&version=6.0.41
#tool nuget:?package=HMENetCore&version=6.0.41
HMENetCore
Description
HMENetCore
is based on The basic function encapsulation library of NET Core provides commonly used utility classes, extension methods, and general models, aiming to simplify the development process and improve code reusability. This library is applicable to NET Standard 2.1,. NET 6,. NET 8, and NET 9 environment, supporting cross platform development.
Features
1. Dependency auto registration (Autoregister)
Function: Simplify the service registration process for Dependency Injection (DI) containers. Core category: NetCoreDIModuleRegistry. cs: Automatically scans and registers services in the assembly. ServiceLocator. cs: Implementation of service locator pattern (recommended to use with caution). UseDIAattributie.cs: Mark the services that need to be injected through attributes.
2. Base Model
Function: Define a universal request/response model and standardize interface interactions. Core category: DBModelBase.cs: Base class for database entities. PageModel. cs: Paging request/response model. RequestModel. cs/ResponseModel. cs: Generic request/response encapsulation. TableAttribute. cs: Definition of table column attributes (for dynamic table structures).
3. Cache tool (Cached)
Function: Simplify caching operations (such as memory caching, distributed caching). Core category: RunCacheHelper.cs: Cache read-write encapsulation, supports expiration time, cache key generation, etc.
4. Common Help Class
Function: Provides cross domain tools and methods that cover common development needs. Core category: Asynchronous tool: Asynchronous Helper.cs (Asynchronous Lock, Task Scheduling). Computer tool: ComputerHelper.cs (for obtaining hardware information). Encryption and decryption: EncryptionHelper.cs (AES, RSA, etc.). HTTP Tools: FHIR Core. cs/HttpHelper. cs (HTTP Request Encapsulation). Lambda expression: LambdaHelper.cs (dynamically generated expression tree). Extension method: PredicteExpressions. cs (predicate logic extension). Reflection tool: ReflectionHelp.cs (dynamic calling, property manipulation). Task queue: TaskQeuryHelper.cs (Task Scheduling and Queue Management). URL tool: urlsHelper. cs (URL parsing and generation). Code Validation: VerifiCodeHelper.cs (captcha generation and validation). XML/ZIP tools: XMLHelper.cs/ZipHelper.cs.
5. Data Converter
Function: Processing data format conversion and type mapping. Core category: Attribute operation: AttributeHelper.cs (attribute value reading). Deep Copy: AutoCopyHelper.cs (Object Deep Copy). Boolean/Byte Tools: BoolHelper. cs/ByteHelper. cs. Data table conversion: DataTableHelper.cs (conversion between DataStable and object). Date and time: FHIR Helper.cs (time formatting, time zone conversion). Dictionary tool: DictionaryHelper.cs (dictionary extension operation). Enumeration tool: VNet Helper. cs (enumeration description, name conversion). JSON/Object Tools: JsonHelper.cs/Object Helper.cs. Random number: RandomHelper.cs (generates random strings and numbers). Serialization: SequenceHelper.cs (JSON/XML serialization). Stream tool: StreamHelper.cs (Stream Read Write Encapsulation). String tool: StringHelper.cs (string checksum, formatting). Type Tool: TypesHelper. cs (Type Judgment and Conversion). Verification tool: VerifiyHelper.cs (Data Verification Logic).
6. Logging tool (Logger)
Function: Unified logging interface, supporting multiple logging frameworks such as NLog and Serilog. Core category: ILog4NetHelper.cs/Log4NetHelper.cs: Log4Net wrapper. LogHelper.cs: General log interface.
Installation
You can install the HMENetCore
package via the NuGet package manager:
Using .NET CLI
dotnet add package HMENetCore --version 6.0.41
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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 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 is compatible. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- log4net (>= 3.1.0)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Microsoft.CSharp (>= 4.7.0)
- Microsoft.Extensions.DependencyInjection (>= 9.0.5)
- Newtonsoft.Json (>= 13.0.3)
- SharpZipLib (>= 1.4.2)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Drawing.Common (>= 9.0.5)
- System.Runtime.Caching (>= 9.0.5)
- System.Text.Json (>= 9.0.5)
-
net6.0
- log4net (>= 3.1.0)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Microsoft.Extensions.DependencyInjection (>= 8.0.1)
- Newtonsoft.Json (>= 13.0.3)
- SharpZipLib (>= 1.4.2)
- System.Drawing.Common (>= 8.0.16)
- System.Runtime.Caching (>= 8.0.1)
-
net8.0
- log4net (>= 3.1.0)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Microsoft.Extensions.DependencyInjection (>= 9.0.5)
- Newtonsoft.Json (>= 13.0.3)
- SharpZipLib (>= 1.4.2)
- System.Drawing.Common (>= 9.0.5)
- System.Runtime.Caching (>= 9.0.5)
-
net9.0
- log4net (>= 3.1.0)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Microsoft.Extensions.DependencyInjection (>= 9.0.5)
- Newtonsoft.Json (>= 13.0.3)
- SharpZipLib (>= 1.4.2)
- System.Drawing.Common (>= 9.0.5)
- System.Runtime.Caching (>= 9.0.5)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on HMENetCore:
Package | Downloads |
---|---|
HMENetCore.SqlSugar
HMENetCore.SqlSugar for netstandard2.1 .net6 .net8 .net9. Supports multiple databases such as MySql, SQLServer, SQLite, Oracle, PostgreSQL, Dameng, MariaDB, Tidb, Odbc, Doris, and more. |
|
HMENetCore.MongoDB
HMENetCore.MongoDB for netstandard2.1 .net6 .net8 .net9. MongoDB.Driver 3.0 only supports MongoDB database versions 4.0 and above |
|
HMENetCore.Redis
HMENetCore.Redis for netstandard2.1 .net6 .net8 .net9 |
|
HMENetCore.Elasticsearch
HMENetCore.Elasticsearch for netstandard2.1 .net6 .net8 .net9 |
|
HMENetCore.RabbitMQ
HMENetCore.RabbitMQ for netstandard2.1 .net6 .net8 .net9 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
6.0.41 | 364 | 6/10/2025 |
6.0.41-preview | 254 | 6/10/2025 |
6.0.40 | 143 | 5/19/2025 |
6.0.39 | 330 | 5/15/2025 |
6.0.38 | 328 | 4/24/2025 |
6.0.37 | 194 | 4/24/2025 |
6.0.36 | 148 | 4/11/2025 |
6.0.35 | 378 | 4/9/2025 |
6.0.33 | 298 | 3/17/2025 |
6.0.32 | 125 | 2/24/2025 |
6.0.31 | 178 | 2/20/2025 |
6.0.30 | 299 | 2/19/2025 |
6.0.21 | 143 | 2/6/2025 |
6.0.20 | 302 | 2/5/2025 |
6.0.19 | 175 | 1/10/2025 |
6.0.18 | 157 | 1/7/2025 |
6.0.17 | 172 | 1/6/2025 |
6.0.13 | 514 | 11/28/2024 |
6.0.12 | 218 | 11/20/2024 |
6.0.11 | 115 | 11/18/2024 |
6.0.8 | 249 | 11/15/2024 |
6.0.6 | 307 | 10/9/2024 |
6.0.5 | 232 | 9/10/2024 |
6.0.3 | 221 | 9/9/2024 |
6.0.2 | 121 | 8/28/2024 |
6.0.1 | 403 | 8/16/2024 |