![]() |
VOOZH | about |
dotnet add package SerializableHttps --version 1.2.8
NuGet\Install-Package SerializableHttps -Version 1.2.8
<PackageReference Include="SerializableHttps" Version="1.2.8" />
<PackageVersion Include="SerializableHttps" Version="1.2.8" />Directory.Packages.props
<PackageReference Include="SerializableHttps" />Project file
paket add SerializableHttps --version 1.2.8
#r "nuget: SerializableHttps, 1.2.8"
#:package SerializableHttps@1.2.8
#addin nuget:?package=SerializableHttps&version=1.2.8Install as a Cake Addin
#tool nuget:?package=SerializableHttps&version=1.2.8Install as a Cake Tool
<p align="center"> <img src="https://github.com/user-attachments/assets/8ae7bc6c-2243-47dc-aec1-4660514c39b2" width="200" height="200" /> </p>
👁 Build and Publish
👁 Nuget
👁 Nuget
👁 GitHub last commit (branch)
👁 GitHub commit activity (branch)
👁 Static Badge
👁 Static Badge
👁 Static Badge
This is a project to make it easier to work with the HttpClient in C#.
The idea is that instead of manually serialising and deserialising json content, you can just let this library do it for you!
In its most simple form, a HTTP call can be made as follows:
var input = new InputModel(){
Value = 34512,
Name = "something"
};
var client = new SerializableHttpsClient();
var result = client.Post<InputModel,OutputModel>(input, "https://localhost/test");
The library will then automatically serialise the input model correctly, and deserialise the response into the OutputModel;
Usually, all the body serialisation is in JSON format, however you can also give it a XElement as an input or output and it will serialise/deserialise as XML instead of JSON.
You can also use it to transfer file streams. There is a base model for file streaming, called FileDataModel, where a stream can be set to it.
The library will then serialise and deserialise it as a stream instead of a JSON document.
The serialisation used depends on the call, i.e. if its a POST, PATCH, GET or DELETE:
For this system to work, all the input and output models must be serialisable (i.e. no dynamic or object!)
You can find the project as a package on the NuGet Package Manager.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 3 NuGet packages that depend on SerializableHttps:
| Package | Downloads |
|---|---|
|
CargoWiseReplicationAPIInterface
An interface to work with CargoWises new Replication API |
|
|
OpenWebUISharp
A simple wrapper for OpenWebUI for easier interaction |
|
|
ActFlow.Integrations.SerializableHttps
SerializableHttps workflow activities for ActFlow |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.8 | 193 | 6/1/2026 |
| 1.2.7 | 111 | 5/29/2026 |
| 1.2.6 | 112 | 5/29/2026 |
| 1.2.5 | 178 | 5/27/2026 |
| 1.2.4 | 126 | 5/27/2026 |
| 1.2.3 | 129 | 5/27/2026 |
| 1.2.2 | 465 | 3/23/2026 |
| 1.2.1 | 177 | 3/11/2026 |
| 1.2.0 | 1,385 | 12/4/2025 |
| 1.1.2 | 274 | 9/26/2025 |
| 1.1.1 | 293 | 9/15/2025 |
| 1.0.12 | 200 | 8/15/2025 |
| 1.0.11 | 747 | 4/23/2025 |
| 1.0.10 | 278 | 12/5/2024 |
| 1.0.9 | 191 | 9/28/2024 |
| 1.0.8 | 192 | 9/11/2024 |
| 1.0.7 | 170 | 9/11/2024 |
| 1.0.6 | 164 | 9/2/2024 |
| 1.0.5 | 155 | 9/2/2024 |
| 1.0.4 | 174 | 9/2/2024 |