VOOZH about

URL: https://www.nuget.org/packages/SerializableHttps/

⇱ NuGet Gallery | SerializableHttps 1.2.8




👁 Image
SerializableHttps 1.2.8

dotnet add package SerializableHttps --version 1.2.8
 
 
NuGet\Install-Package SerializableHttps -Version 1.2.8
 
 
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="SerializableHttps" Version="1.2.8" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SerializableHttps" Version="1.2.8" />
 
Directory.Packages.props
<PackageReference Include="SerializableHttps" />
 
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 SerializableHttps --version 1.2.8
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SerializableHttps, 1.2.8"
 
 
#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 SerializableHttps@1.2.8
 
 
#: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=SerializableHttps&version=1.2.8
 
Install as a Cake Addin
#tool nuget:?package=SerializableHttps&version=1.2.8
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

<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

SerializableHttps

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:

  • DELETE and GET: Serialises the input model as a query string in the URL.
  • POST and PATCH: Serialises the input model as JSON.

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (3)

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

GitHub repositories

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
Loading failed