Kevin.CommonLibrary 1.0.3

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

Libraries

A collection of C# libraries developed by leung0514.

Overview

This repository contains reusable C# libraries that can be used across different projects. Each library is packaged and published as a separate NuGet package.

Libraries

  • MessageContract: Message contract library defining data contracts, DTOs, and interfaces for standardized communication between services and components.

  • CommonLibrary: Core shared library for .NET projects. Provides common utilities, extensions, helpers, and base implementations used across services and applications. Includes reusable components for logging, configuration, security, and data access patterns.

  • HubServiceLibrary: A comprehensive library that facilitates SignalR-based communication in microservices architecture. It provides both producer (client-side) and consumer (server-side) implementations for handling real-time message exchange.

  • HttpServiceLibrary: A library for HTTP-based communication in microservices architecture. Provides standardized HTTP client implementations, request/response handling, and resilience patterns for service-to-service communication.

  • UnitTestLibrary: Testing utilities and helper classes to simplify unit testing of applications and services. Includes mocks, fixtures, and assertion extensions for common testing scenarios.

Dependencies

CommonLibrary

  • Mapster 7.4.0
  • Kevin.MessageContract *
  • Serilog 4.2.0 (with various extensions)

HubServiceLibrary

  • Kevin.CommonLibrary *
  • Microsoft.AspNetCore.Mvc.Core 2.3.0
  • Microsoft.AspNetCore.SignalR.Client 9.0.2
  • Microsoft.AspNetCore.App (framework reference)

HttpServiceLibrary

  • Kevin.CommonLibrary *
  • Kevin.MessageContract *
  • Likely includes HTTP client libraries and resilience patterns

UnitTestLibrary

  • Likely includes testing frameworks and mocking libraries

License

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

Usage

These libraries are available as NuGet packages. To use them in your project, add them as dependencies:

dotnet add package Kevin.MessageContract
dotnet add package Kevin.CommonLibrary
dotnet add package Kevin.HubServiceLibrary
dotnet add package Kevin.HttpServiceLibrary
dotnet add package Kevin.UnitTestLibrary

Contributing

Contributions are welcome. Please feel free to submit a Pull Request.

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 (2)

Showing the top 2 NuGet packages that depend on Kevin.CommonLibrary:

Package Downloads
Kevin.HubServiceLibrary

The HubServiceLibrary is a comprehensive library that facilitates SignalR-based communication in the microservices architecture. It provides both producer (client-side) and consumer (server-side) implementations for handling real-time message exchange.

Kevin.HttpServiceLibrary

The HttpServiceLibrary is a comprehensive library that facilitates Http communication.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.3 110 7/15/2025
1.0.2 109 7/15/2025
1.0.1 121 7/14/2025
1.0.0 114 7/14/2025