Kevin.HttpServiceLibrary 1.0.1

dotnet add package Kevin.HttpServiceLibrary --version 1.0.1
                    
NuGet\Install-Package Kevin.HttpServiceLibrary -Version 1.0.1
                    
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.HttpServiceLibrary" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kevin.HttpServiceLibrary" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Kevin.HttpServiceLibrary" />
                    
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.HttpServiceLibrary --version 1.0.1
                    
#r "nuget: Kevin.HttpServiceLibrary, 1.0.1"
                    
#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.HttpServiceLibrary@1.0.1
                    
#: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.HttpServiceLibrary&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Kevin.HttpServiceLibrary&version=1.0.1
                    
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
  • MessageContract 1.0.0
  • Serilog 4.2.0 (with various extensions)

HubServiceLibrary

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

HttpServiceLibrary

  • CommonLibrary 1.0.0
  • MessageContract 1.0.0
  • 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 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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 108 7/15/2025
1.0.0 112 7/14/2025