System.ClientModel 1.0.0

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package System.ClientModel --version 1.0.0                
NuGet\Install-Package System.ClientModel -Version 1.0.0                
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="System.ClientModel" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.ClientModel --version 1.0.0                
#r "nuget: System.ClientModel, 1.0.0"                
#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.
// Install System.ClientModel as a Cake Addin
#addin nuget:?package=System.ClientModel&version=1.0.0

// Install System.ClientModel as a Cake Tool
#tool nuget:?package=System.ClientModel&version=1.0.0                

System.ClientModel library for .NET

System.ClientModel provides shared primitives, abstractions, and helpers for .NET service client libraries.

Source code | Package (NuGet)

Getting started

Typically, you will not need to install System.ClientModel. it will be installed for you when you install one of the client libraries using it.

Install the package

Install the client library for .NET with NuGet.

dotnet add package System.ClientModel


None needed for System.ClientModel.

Key concepts

The main shared concepts of System.ClientModel include:

  • Providing APIs to read and write models in different formats.


Simple ModelReaderWriter usage

As a library author you can implement IPersistableModel<T> or IJsonModel<T> which will give library users the ability to read and write your models.

Example writing an instance of a model.

InputModel model = new InputModel();
BinaryData data = ModelReaderWriter.Write(model);

Example reading a model from json

string json = @"{
  ""x"": 1,
  ""y"": 2,
  ""z"": 3
OutputModel? model = ModelReaderWriter.Read<OutputModel>(BinaryData.FromString(json));


This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (113)

Showing the top 5 NuGet packages that depend on System.ClientModel:

Package Downloads

This is the implementation of the Azure Client Pipeline


Microsoft Azure Resource Manager client SDK for Azure resources.


Microsoft Azure management client SDK for Azure resource provider Microsoft.Storage.


Microsoft Azure Resource Manager client SDK for Azure resource provider Resources.


Microsoft Azure management client SDK for Azure resource provider Microsoft.Network.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on System.ClientModel:

Repository Stars
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at or our versioned developer docs at
The official .NET library for the OpenAI API
Extension for AutoRest ( that generates C# code
Version Downloads Last updated
1.1.0-beta.5 312 7/11/2024
1.1.0-beta.4 70,991 5/16/2024
1.1.0-beta.3 3,964 4/5/2024
1.1.0-beta.2 2,663 2/29/2024
1.1.0-beta.1 2,016 2/1/2024
1.0.0 24,027,085 1/3/2024
1.0.0-beta.4 491 3/12/2024
1.0.0-beta.3 4,913 1/4/2024
1.0.0-beta.2 442 12/14/2023
1.0.0-beta.1 276 11/27/2023