Orion.Foundations 0.1.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package Orion.Foundations --version 0.1.3
                    
NuGet\Install-Package Orion.Foundations -Version 0.1.3
                    
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="Orion.Foundations" Version="0.1.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Orion.Foundations" Version="0.1.3" />
                    
Directory.Packages.props
<PackageReference Include="Orion.Foundations" />
                    
Project file
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 Orion.Foundations --version 0.1.3
                    
#r "nuget: Orion.Foundations, 0.1.3"
                    
#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.
#:package Orion.Foundations@0.1.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Orion.Foundations&version=0.1.3
                    
Install as a Cake Addin
#tool nuget:?package=Orion.Foundations&version=0.1.3
                    
Install as a Cake Tool

Orion.Core

NuGet Version License .NET

Core utilities and extensions for the Orion IRC Server project.

IRC is not dead, long live IRC!

About

Orion.Core provides essential utilities, extensions, and base classes for building IRC server components. This library forms the foundation of the Orion IRC Server ecosystem, offering common functionality that can be used across various Orion modules or in your own IRC-related projects.

Installation

dotnet add package Orion.Core

Or using the Package Manager Console:

Install-Package Orion.Core

Key Features

  • Base64 Extensions: Handle Base64 encoding and decoding
  • ByteUtils: Utilities for MD5 checksum operations
  • DateTime Extensions: Unix timestamp operations, epoch conversion
  • Encryption Extensions: String encryption/decryption
  • Environment Variable Replacement: Replace environment variables in strings
  • Hash Utilities: Cryptographic operations, password handling, AES encryption
  • Host Mask Utilities: IRC host mask operations
  • IP Address Extensions: IP address handling
  • JSON Utilities: Serialization and deserialization with AOT support
  • String Utilities: Various string manipulations, including case conversions
  • YAML Utilities: YAML serialization and deserialization

Examples

Base64 Operations

using Orion.Core.Extensions;

// Convert string to Base64
string encoded = "Hello, World!".ToBase64();

// Convert Base64 to string
string decoded = encoded.FromBase64();

// Check if a string is Base64
bool isBase64 = encoded.IsBase64String();

DateTime Operations

using Orion.Core.Extensions;

// Get Unix timestamp
long timestamp = DateTime.UtcNow.ToUnixTimestamp();

// Convert from Unix timestamp
DateTime date = timestamp.FromEpoch();

String Case Conversions

using Orion.Core.Extensions;

string text = "HelloWorld";

string snake = text.ToSnakeCase();     // "hello_world"
string camel = text.ToCamelCase();     // "helloWorld"
string pascal = text.ToPascalCase();   // "HelloWorld"
string kebab = text.ToKebabCase();     // "hello-world"
string title = text.ToTitleCase();     // "Hello World"

Environment Variable Replacement

using Orion.Core.Extensions;

string template = "The home directory is {HOME}";
string result = template.ReplaceEnvVariable();
  • Orion.Core.Server: Server-side core functionality
  • Orion.Irc.Core: IRC protocol implementation
  • Orion.Network.Core: Networking abstractions

License

This project is licensed under the MIT License - see the LICENSE file for details.

Product 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.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Orion.Foundations:

Package Downloads
Orion.Network.Core

Networking abstractions for Orion IRC Server

Orion.Network.Tcp

TCP implementation for Orion IRC Server networking

Orion.Core.Server.Web

Web API and HTTP interface for Orion IRC Server

Orion.Core.Server

Server-side core functionality for Orion IRC Server

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.30.1 282 5/15/2025
0.30.0 247 5/13/2025
0.29.0 257 5/12/2025
0.28.4 229 5/12/2025
0.28.3 233 5/12/2025
0.28.2 245 5/12/2025
0.28.1 159 5/11/2025
0.28.0 88 5/10/2025
0.27.1 182 5/8/2025
0.27.0 159 5/8/2025
0.26.0 165 5/8/2025
0.25.2 155 5/8/2025
0.25.1 152 5/8/2025
0.25.0 174 5/8/2025
0.24.0 162 5/6/2025
0.23.0 161 5/6/2025
0.22.3 164 5/6/2025
0.22.2 165 5/5/2025
0.22.0 127 5/2/2025
0.21.0 125 5/2/2025
0.20.0 134 5/2/2025
0.19.1 131 5/2/2025
0.19.0 160 5/1/2025
0.18.1 162 5/1/2025
0.18.0 165 4/30/2025
0.17.0 162 4/29/2025
0.16.0 184 4/29/2025
0.15.0 175 4/28/2025
0.14.3 187 4/28/2025
0.14.2 176 4/28/2025
0.14.1 171 4/28/2025
0.14.0 160 4/28/2025
0.13.0 171 4/28/2025
0.12.3 171 4/28/2025
0.12.2 175 4/28/2025
0.12.1 173 4/28/2025
0.12.0 167 4/28/2025
0.11.1 167 4/28/2025
0.11.0 169 4/28/2025
0.10.0 168 4/28/2025
0.9.0 168 4/23/2025
0.8.0 168 4/23/2025
0.7.0 179 4/22/2025
0.6.1 161 4/22/2025
0.6.0 181 4/20/2025
0.5.0 187 4/20/2025
0.4.0 179 4/20/2025
0.3.0 110 4/19/2025
0.2.0 158 4/18/2025
0.1.10 198 4/18/2025
0.1.9 186 4/18/2025
0.1.8 193 4/18/2025
0.1.7 170 4/18/2025
0.1.6 176 4/18/2025
0.1.5 181 4/18/2025
0.1.4 183 4/18/2025
0.1.3 199 4/17/2025
0.1.2 210 4/17/2025