<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dapr Binary Store .NET SDK on Dapr Docs</title><link>https://docs.dapr.io/developing-applications/sdks/dotnet/dotnet-binarystore/</link><description>Recent content in Dapr Binary Store .NET SDK on Dapr Docs</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.dapr.io/developing-applications/sdks/dotnet/dotnet-binarystore/index.xml" rel="self" type="application/rss+xml"/><item><title>How to: Manage binary files with the Dapr Binary Store .NET SDK</title><link>https://docs.dapr.io/developing-applications/sdks/dotnet/dotnet-binarystore/dotnet-binarystore-howto/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.dapr.io/developing-applications/sdks/dotnet/dotnet-binarystore/dotnet-binarystore-howto/</guid><description>&lt;p>Use the &lt;code>Dapr.BinaryStore&lt;/code> package to store and retrieve files using a Dapr binary store component. The client streams file content in chunks, so you can work with large files without loading the entire file into memory. In this guide, you will:&lt;/p>
&lt;ul>
&lt;li>Register and configure &lt;code>DaprBinaryStoreClient&lt;/code>&lt;/li>
&lt;li>Upload and download files using streams&lt;/li>
&lt;li>Choose between streaming and in-memory operations&lt;/li>
&lt;li>Bind a typed client to a store with the source generator&lt;/li>
&lt;/ul>
&lt;h2 id="prerequisites">Prerequisites&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://docs.dapr.io/getting-started/install-dapr-cli/">Dapr CLI&lt;/a>&lt;/li>
&lt;li>An initialized &lt;a href="https://docs.dapr.io/getting-started/install-dapr-selfhost/">Dapr environment&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://dotnet.microsoft.com/download/dotnet/8.0">.NET 8&lt;/a>, &lt;a href="https://dotnet.microsoft.com/download/dotnet/9.0">.NET 9&lt;/a>, &lt;a href="https://dotnet.microsoft.com/download/dotnet/10.0">.NET 10&lt;/a>, or &lt;a href="https://dotnet.microsoft.com/download/dotnet/11.0">.NET 11&lt;/a>&lt;/li>
&lt;li>Dapr runtime 1.19 or later&lt;/li>
&lt;li>The &lt;a href="https://www.nuget.org/packages/Dapr.BinaryStore">Dapr.BinaryStore&lt;/a> NuGet package&lt;/li>
&lt;li>A &lt;a href="https://docs.dapr.io/developing-applications/building-blocks/binarystore/">binary store&lt;/a> component configured in Dapr&lt;/li>
&lt;/ul>


&lt;div class="alert alert-warning" role="alert">
&lt;h4 class="alert-heading">.NET framework support&lt;/h4>

 Be advised that .NET 8 and .NET 9 reach end of support in November 2026. Support for both will be dropped
in Dapr v1.20; only .NET 10 and .NET 11 will be supported through the end of 2027.

&lt;/div>

&lt;p>Install the package in your project:&lt;/p></description></item><item><title>DaprBinaryStoreClient usage</title><link>https://docs.dapr.io/developing-applications/sdks/dotnet/dotnet-binarystore/dotnet-binarystore-client-usage/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.dapr.io/developing-applications/sdks/dotnet/dotnet-binarystore/dotnet-binarystore-client-usage/</guid><description>&lt;p>The operations on this page target SDK &lt;code>1.19.0&lt;/code>. Use that release or later with
Dapr runtime 1.19 or later.&lt;/p>
&lt;h2 id="operation-surface">Operation surface&lt;/h2>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>Operation&lt;/th>
 &lt;th>API&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>Upload&lt;/td>
 &lt;td>&lt;code>SetBinaryFileAsync&lt;/code> with a &lt;code>Stream&lt;/code> or &lt;code>ReadOnlyMemory&amp;lt;byte&amp;gt;&lt;/code>, optionally overwriting an existing file.&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Download&lt;/td>
 &lt;td>&lt;code>GetBinaryFileChunksAsync&lt;/code>, &lt;code>GetBinaryFileAsync&lt;/code> into a destination stream, or &lt;code>GetBinaryFileBytesAsync&lt;/code> to buffer the complete file.&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Delete&lt;/td>
 &lt;td>&lt;code>DeleteBinaryFileAsync&lt;/code>.&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Store-bound access&lt;/td>
 &lt;td>&lt;code>[BinaryStore]&lt;/code> on a partial &lt;code>IDaprBinaryStoreClient&lt;/code> interface and the generated &lt;code>With...&lt;/code> DI registration.&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;p>This SDK release does not expose list-files, file metadata, conditional/ETag writes, or range-read methods.
Binary store files are not state entries; state transactions and state query APIs do not apply to them.&lt;/p></description></item></channel></rss>