HyperCube.Queue.Core
0.0.11
dotnet add package HyperCube.Queue.Core --version 0.0.11
NuGet\Install-Package HyperCube.Queue.Core -Version 0.0.11
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="HyperCube.Queue.Core" Version="0.0.11" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HyperCube.Queue.Core" Version="0.0.11" />
<PackageReference Include="HyperCube.Queue.Core" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add HyperCube.Queue.Core --version 0.0.11
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: HyperCube.Queue.Core, 0.0.11"
#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.
#addin nuget:?package=HyperCube.Queue.Core&version=0.0.11
#tool nuget:?package=HyperCube.Queue.Core&version=0.0.11
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
HyperCube Framework
Overview
HyperCube is a high-performance, modular framework designed to accelerate development of:
- Console applications
- Server applications
- Web applications (backend)
Built with a focus on modularity, documentation, and developer experience, HyperCube provides the building blocks for creating robust applications quickly and efficiently.
Features
- Modular Architecture: Build your application using composable modules that can be easily reused across projects
- Comprehensive Utilities: Ready-to-use utility classes for common operations:
- String manipulation (case conversions, environment variable handling)
- Cryptography (hashing, encryption, password management)
- JSON & YAML serialization with AOT support
- IP address handling
- Performance Optimized: Built with AOT (Ahead-of-Time) compilation support
- Well Documented: Thorough XML documentation for all components
- Developer Friendly: Intuitive API design with consistent patterns
Installation
dotnet add package HyperCube.Core
Core Utilities
String Manipulation
using HyperCube.Core.Utils;
using HyperCube.Core.Extensions;
// Case conversions
var snakeCase = "HelloWorld".ToSnakeCase(); // "hello_world"
var kebabCase = "HelloWorld".ToKebabCase(); // "hello-world"
var camelCase = "Hello_World".ToCamelCase(); // "helloWorld"
// Environment variable replacement
var path = "{HOME}/documents".ReplaceEnvVariable(); // "/home/user/documents"
Cryptography
using HyperCube.Core.Utils;
// Simple hashing
var hash = HashUtils.ComputeSha256Hash("sensitive data");
// Password management
var passwordHash = HashUtils.CreatePassword("secure_password"); // Returns "Hash:Salt"
var isValid = HashUtils.VerifyPassword("secure_password", passwordHash); // true
// Encryption/Decryption
var key = Convert.FromBase64String(HashUtils.GenerateBase64Key());
var encrypted = HashUtils.Encrypt("secret message", key);
var decrypted = HashUtils.Decrypt(encrypted, key); // "secret message"
JSON Handling with AOT Support
using HyperCube.Core.Utils;
using System.Text.Json.Serialization;
// Define your context for AOT support
[JsonSourceGenerationOptions(
PropertyNamingPolicy = JsonKnownNamingPolicy.SnakeCaseLower,
WriteIndented = true)]
[JsonSerializable(typeof(MyClass))]
public partial class MyJsonContext : JsonSerializerContext {}
// Serialize/deserialize with AOT support
var json = JsonUtils.Serialize(myObject, MyJsonContext.Default);
var obj = JsonUtils.Deserialize<MyClass>(json, MyJsonContext.Default);
// Or use extension methods
var json = myObject.ToJson(MyJsonContext.Default);
var obj = json.FromJson<MyClass>(MyJsonContext.Default);
License
HyperCube is licensed under the MIT License - see the LICENSE file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- HyperCube.Core (>= 0.0.11)
- HyperCube.Server.Core (>= 0.0.11)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.4)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.4)
- Microsoft.Extensions.Options (>= 9.0.4)
- System.Reactive (>= 6.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.