WoW2.Sdk.Beta.Be.Files.Module
10.0.6-beta
Prefix Reserved
dotnet add package WoW2.Sdk.Beta.Be.Files.Module --version 10.0.6-beta
NuGet\Install-Package WoW2.Sdk.Beta.Be.Files.Module -Version 10.0.6-beta
<PackageReference Include="WoW2.Sdk.Beta.Be.Files.Module" Version="10.0.6-beta" />
<PackageVersion Include="WoW2.Sdk.Beta.Be.Files.Module" Version="10.0.6-beta" />
<PackageReference Include="WoW2.Sdk.Beta.Be.Files.Module" />
paket add WoW2.Sdk.Beta.Be.Files.Module --version 10.0.6-beta
#r "nuget: WoW2.Sdk.Beta.Be.Files.Module, 10.0.6-beta"
#:package WoW2.Sdk.Beta.Be.Files.Module@10.0.6-beta
#addin nuget:?package=WoW2.Sdk.Beta.Be.Files.Module&version=10.0.6-beta&prerelease
#tool nuget:?package=WoW2.Sdk.Beta.Be.Files.Module&version=10.0.6-beta&prerelease
WoW2.Sdk.Beta.Be.Files.Module
Form 1 of the Files capability: uploads and the file store in the consumer's process, over the consumer's database
and blob store. The store is PostgreSQL (Provider, default Postgres; Sqlite for tests). The schema ships embedded
once per engine, Migrations/{Postgres,Sqlite}/NNN-name/{Apply,Rollback}.sql, as the be sdk migration set files
(history files_migration_history): AddFilesMigrations() registers the set of the module's engine over its
connection string, and the be sdk boot or deploy helpers apply it with the consumer's own sets.
- uploads spool through a temp file, are hashed and checked against their name (
Files.Formats) and the app policy, then stored once per tenant at{tenant}/{sha256[..2]}/{sha256} - a retried upload with the same idempotency key returns the first file
- reads whole or by byte range; lists newest first with a cursor; rename within the stored type; soft delete, restore within retention; an hourly sweep purges deleted, expired and unused bytes
- URLs: signed links to private files and immutable links to public ones on the content host (
Delivery.BaseUrl,Delivery.SigningKey);IFilesDeliveryServiceis what the Server routes serve through - references: a file lives while a record uses it; per app, unreferenced files purge after
OrphanRetentionand uploads expire afterDefaultLifetime - every call acts for
IFilesCallerService.Current, read from the kernelICurrentPrincipal: the tenant its issuer or key stamped (Partition), else the be sdk ambient tenant orDefaultTenantId, plus its subject, issuer, organization, app and actor; replace the service to resolve callers another way
dotnet add package WoW2.Sdk.Beta.Be.Files.Module --prerelease
services.AddLocalBlobStorage(Path.Combine(env.ContentRootPath, "data", "blobs")); // or AddS3BlobStorage(…)
services.AddFiles().Configure(options =>
{
options.ConnectionString = "Host=localhost;Database=app;Username=app;Password=…"; // Provider defaults to Postgres
options.Policies["avatars"] = new() { MaxBytes = 5 * 1024 * 1024 };
options.Policies["avatars"].AllowedKinds.Add(FileKind.Image);
});
services.AddFilesMigrations(migrations => { /* version */ });
// at boot or in the deploy step: await app.Services.MigrateBespokeOnStartupAsync(); // or MigrateBespokeForDeployAsync()
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- WoW2.Sdk.Beta.Be (>= 10.0.105-beta)
- WoW2.Sdk.Beta.Be.Files.Abstractions (>= 10.0.6-beta)
- WoW2.Sdk.Beta.Be.Files.Formats (>= 10.0.6-beta)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on WoW2.Sdk.Beta.Be.Files.Module:
| Package | Downloads |
|---|---|
|
WoW2.Sdk.Beta.Be.Files.Server
Files server: delivery and share routes, upload protocols, tenancy and the admin API over the Files module. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.6-beta | 69 | 11/8/2026 |
| 10.0.5-beta | 67 | 11/8/2026 |
| 10.0.4-beta | 70 | 11/8/2026 |
| 10.0.3-beta | 58 | 11/8/2026 |
| 10.0.2-beta | 69 | 11/8/2026 |
| 10.0.1-beta | 85 | 11/3/2026 |
| 10.0.0-beta | 81 | 10/27/2026 |