Xtensible.TusDotNet.Azure 1.4.0

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

// Install Xtensible.TusDotNet.Azure as a Cake Tool
#tool nuget:?package=Xtensible.TusDotNet.Azure&version=1.4.0                

Xtensible.TusDotNet.Azure

Nuget

An Azure Blob Storage extension for tusdotnet; .NET's most popular implementation of the tus protocol.

What is tus?

Tus is a web based protocol for resumable uploads. Implementations and client libraries exist for many platforms.

What is tusdotnet?

tusdotnet is a popular implementation of the tus protocol for .net.

Why do I need Xtensible.TusDotNet.Azure?

Tusdotnet only comes with a disk storage implementation. This extension allows you to use blobstorage instead of local (or network attached) disk.

Implemented Extensions

The tus protocol offers a few extensions. The following extensions are implemented:

  • Termination - Allows for deletion of completed and incomplete uploads.
  • Expiration - Server will consider uploads past a certain time expired and ready for deletion.

Why aren't the following supported?

  • Checksum - The code for checksum (using md5) is actually written and can be enabled by #defining ENABLE_CHECKSUM. It is disabled because it only works for upload chunks ⇐ 4MB, which is the buffer size used to send data to Azure. Anything beyond 4MB would be inefficient, because we'd have to download the bits from Azure to verify the checksum. This implementation did not want to force upload limitations on consuming code, so this extension was disabled. If you care about this feature and are ok with limiting chunk size to 4MB you can compile with it turned on.

  • Pipelines - tusdotnet supports pipelines for .net core 3.1+, which is more efficient than the streams implementation. I haven't gotten to this yet, but will happily accept pull requests.

Azurite

Azurite is the latest, and recommended Azure Storage emulator to use for testing and local development. Unfortunately, it does not yet support tags (see issue). This is problematic because tags is how this library queries for expired files. To work around this, I have split out the expiration stuff into a separate interface ITusExpirationDetailsStore and implemented NullExpirationDetailsStore.

This allows you to use an external database (for just dev, or both prod and dev), or you can use NullExpirationDetailsStore in dev to forego using the expiration feature when using Azurite.

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 is compatible. 
.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

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
2.2.0 245 10/28/2024
2.1.1 3,612 10/12/2024
2.1.0 1,910 6/30/2024
2.0.0 5,408 1/5/2024
1.4.0 1,858 10/5/2023
1.3.0 7,340 5/24/2022
1.2.0 397 5/20/2022
1.1.0 398 5/19/2022
1.1.0-beta 178 5/19/2022
1.0.0 433 5/14/2022

Expose file Uri