2026-09-27 18:28:16 +02:00
.
2026-09-27 18:28:16 +02:00
.10
2026-05-04 00:04:38 +02:00
.10
2026-05-04 00:04:38 +02:00
.10
2026-05-04 00:04:38 +02:00
.
2026-05-04 00:09:09 +02:00
2024-07-08 11:15:36 +02:00
2024-07-08 11:15:36 +02:00
.
2026-04-20 23:07:36 +02:00
.
2026-03-30 18:03:18 +02:00
.
2025-12-27 13:22:51 +01:00

Groepel.Net.Common

A collection of common utilities and libraries for .NET applications, providing reusable components for everyday development tasks.

Projects

This solution consists of several NuGet packages:

  • Groepel.Net.Common: Core utilities including data transfer objects (DTOs), extension methods, helper classes, and common services like date/time providers, serializers, and GUID providers.
  • Groepel.Net.Common.Mail: Email functionality using MailKit for sending emails with support for various configurations.
  • Groepel.Net.Common.QrCodes: QR code generation services using QrCoder, including standard, minified, and PETSCII QR codes.
  • Groepel.Net.Common.SSH: SSH and SFTP client implementations using SSH.NET for secure file transfers and remote command execution.

Requirements

  • .NET 9.0 or later

Usage

Groepel.Net.Common

Register services in your DI container:

builder.Services.AddGroepelCommonServices();

Use extensions and helpers:

using Groepel.Net.Common.Extensions;

// Example usage of extensions
var result = someString.ToTitleCase();

Groepel.Net.Common.Mail

Configure and use the email service:

builder.Services.AddGroepelMailServices(configuration);

Send an email:

var emailer = serviceProvider.GetRequiredService<IEmailer>();
await emailer.SendEmailAsync(new MailDto { ... });

Groepel.Net.Common.QrCodes

Generate QR codes:

var qrService = serviceProvider.GetRequiredService<IQrCodeService>();
var qrCode = qrService.GenerateQrCode("Hello World");

Groepel.Net.Common.SSH

Connect via SSH:

var sshClient = new GroepelSshClient(connectionInfo);
await sshClient.ConnectAsync();
// Execute commands or transfer files

Building from Source

Clone the repository and build:

git clone <repository-url>
cd Groepel.Net.Common
dotnet build

Testing

Run tests:

dotnet test
Description
No description provided
Readme 257 KiB
Languages
C# 100%