![]() |
VOOZH | about |
dotnet add package OutWit.Shared.Storage.Providers --version 1.0.0
NuGet\Install-Package OutWit.Shared.Storage.Providers -Version 1.0.0
<PackageReference Include="OutWit.Shared.Storage.Providers" Version="1.0.0" />
<PackageVersion Include="OutWit.Shared.Storage.Providers" Version="1.0.0" />Directory.Packages.props
<PackageReference Include="OutWit.Shared.Storage.Providers" />Project file
paket add OutWit.Shared.Storage.Providers --version 1.0.0
#r "nuget: OutWit.Shared.Storage.Providers, 1.0.0"
#:package OutWit.Shared.Storage.Providers@1.0.0
#addin nuget:?package=OutWit.Shared.Storage.Providers&version=1.0.0Install as a Cake Addin
#tool nuget:?package=OutWit.Shared.Storage.Providers&version=1.0.0Install as a Cake Tool
Blob-storage abstractions for OutWit hosts. Defines a low-level
IBlobStorageProvider (Write / Append / Read / ReadChunk / Delete / Exists /
GetSize by Guid + filename), the IBlobStorageProviderPlugin plugin
contract (a marker over IWitPlugin so transports load via WitPluginLoader),
the IBlobStorageSettings configuration contract, and MemoryPack-friendly
BlobInfo / BlobUploadSession models.
This is the contract package — install one of the provider plugins to get an actual transport:
OutWit.Shared.Storage.Provider.Disk — filesystemOutWit.Shared.Storage.Provider.S3, OutWit.Shared.Storage.Provider.Azure, …dotnet add package OutWit.Shared.Storage.Providers
# plus at least one provider plugin
dotnet add package OutWit.Shared.Storage.Provider.Disk
public sealed class MyStorageSettings : IBlobStorageSettings
{
public string ProviderKey { get; set; } = "Disk";
public string PluginsPath { get; set; } = "@Storage";
public long MaxBlobSize { get; set; } = 5L * 1024 * 1024 * 1024; // 5 GB
public int ChunkSize { get; set; } = 4 * 1024 * 1024; // 4 MB
public long ChunkedTransferThresholdBytes { get; set; } = 16 * 1024 * 1024;
public int DefaultTtlMinutes { get; set; } = 60 * 24 * 7; // 7 days
public int CleanupIntervalMinutes { get; set; } = 15;
public int UploadSessionTimeoutMinutes { get; set; } = 30;
}
services.AddBlobStorage(new MyStorageSettings(), environment);
// later, inside any service:
public class MyService
{
private readonly IBlobStorageProvider m_storage;
public MyService(IBlobStorageProvider storage) => m_storage = storage;
public async Task UploadAsync(byte[] data)
{
var blobId = Guid.NewGuid();
await using var s = new MemoryStream(data);
await m_storage.WriteAsync(blobId, "data.bin", s);
}
}
AddBlobStorage loads every plugin under PluginsPath (defaults to
@Storage next to the executable), picks the one whose Key matches
Settings.ProviderKey, and registers its IBlobStorageProvider in DI.
| Type | Purpose |
|---|---|
IBlobStorageProvider |
Low-level Write / Read / Delete / Exists / GetSize |
IBlobStorageProviderPlugin : IWitPlugin |
Plugin contract that the host's WitPluginLoader<T> discovers |
IBlobStorageSettings |
Required configuration (provider key + chunking + TTL + sessions) |
BlobInfo |
[MemoryPackable] model — Id, FileName, Size, CreatedAtUtc, ExpiresAtUtc? |
BlobUploadSession |
DTO for chunked-upload session state |
StorageUtils.AddBlobStorage |
DI entry point |
Licensed under the Apache License, Version 2.0. See LICENSE.txt.
"OutWit" and the OutWit logo are used to identify the official project by Dmitry Ratner. You may refer to the project name in a factual way; you may not use the name or logo to imply official endorsement of a fork or derived product.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 is compatible. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. 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 1 NuGet packages that depend on OutWit.Shared.Storage.Providers:
| Package | Downloads |
|---|---|
|
OutWit.Cloud.Contracts
WitRPC channel interfaces and data contracts for talking to a WitCloud / OmnibusCloud server: job submission and lifecycle, blob upload/download, controller and script catalogs, client registration, and admin surfaces. The same contracts the OutWit.Cloud.SDK is built on. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 592 | 5/20/2026 |