Kevin.CommonLibrary
1.0.3
dotnet add package Kevin.CommonLibrary --version 1.0.3
NuGet\Install-Package Kevin.CommonLibrary -Version 1.0.3
<PackageReference Include="Kevin.CommonLibrary" Version="1.0.3" />
<PackageVersion Include="Kevin.CommonLibrary" Version="1.0.3" />
<PackageReference Include="Kevin.CommonLibrary" />
paket add Kevin.CommonLibrary --version 1.0.3
#r "nuget: Kevin.CommonLibrary, 1.0.3"
#:package Kevin.CommonLibrary@1.0.3
#addin nuget:?package=Kevin.CommonLibrary&version=1.0.3
#tool nuget:?package=Kevin.CommonLibrary&version=1.0.3
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 | Versions 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. |
-
net8.0
- Kevin.MessageContract (>= 1.0.0)
- Mapster (>= 7.4.0)
- Serilog (>= 4.2.0)
- Serilog.AspNetCore (>= 9.0.0)
- Serilog.Extensions.Hosting (>= 9.0.0)
- Serilog.Sinks.Console (>= 6.0.0)
- Serilog.Sinks.File (>= 6.0.0)
- Serilog.Sinks.MSSqlServer (>= 8.1.0)
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.