InnoAndLogic.Shared 1.0.9

dotnet add package InnoAndLogic.Shared --version 1.0.9
                    
NuGet\Install-Package InnoAndLogic.Shared -Version 1.0.9
                    
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="InnoAndLogic.Shared" Version="1.0.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="InnoAndLogic.Shared" Version="1.0.9" />
                    
Directory.Packages.props
<PackageReference Include="InnoAndLogic.Shared" />
                    
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 InnoAndLogic.Shared --version 1.0.9
                    
#r "nuget: InnoAndLogic.Shared, 1.0.9"
                    
#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 InnoAndLogic.Shared@1.0.9
                    
#: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=InnoAndLogic.Shared&version=1.0.9
                    
Install as a Cake Addin
#tool nuget:?package=InnoAndLogic.Shared&version=1.0.9
                    
Install as a Cake Tool

InnoAndLogic.Shared

Overview

InnoAndLogic.Shared is a shared library designed to provide reusable components for .NET projects. It includes utilities, models, and enums that simplify common development tasks and promote code reuse across projects.

Features

  • Encryption Utilities: Securely encrypt and decrypt data using AES with password-based key derivation.
  • Result Handling: Fluent APIs for handling operation results, including success and failure states.
  • Error Codes: Predefined enums for consistent error handling.

Usage

This library is published as a NuGet package and can be used in various projects, including InnoAndLogic.Persistence and other .NET applications.

Installation

To install the NuGet package, use the following command: dotnet add package InnoAndLogic.Shared

Example Usage

Encryptionusing InnoAndLogic.Shared;

var password = "securePassword"; var salt = 12345678L; var data = new byte[] { 1, 2, 3, 4 };

// Encrypt data var encrypted = Encryption.Encrypt(password, salt, data);

// Decrypt data var decrypted = Encryption.Decrypt(password, salt, encrypted);

Result Handlingusing InnoAndLogic.Shared;

using InnoAndLogic.Shared.Models;

var result = Result.Success; result = result.Then(() ⇒ Result.Failure(ErrorCodes.ValidationError, "Invalid input"));

if (result.IsFailure) { Console.WriteLine(result.ErrorMessage); }

License

This library is licensed under the MIT License. See the LICENSE file for details.

Repository

For more information, visit the GitHub repository.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on InnoAndLogic.Shared:

Package Downloads
InnoAndLogic.Persistence

A library for database persistence and migrations using PostgreSQL.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.9 472 7/22/2025
1.0.5 185 7/20/2025
1.0.4 181 7/20/2025
1.0.3 181 7/19/2025
1.0.2 112 7/17/2025
1.0.1 113 7/17/2025
1.0.0 114 7/17/2025