![]() |
VOOZH | about |
dotnet add package DotNetBrightener.SimpleUploadService --version 2026.0.2
NuGet\Install-Package DotNetBrightener.SimpleUploadService -Version 2026.0.2
<PackageReference Include="DotNetBrightener.SimpleUploadService" Version="2026.0.2" />
<PackageVersion Include="DotNetBrightener.SimpleUploadService" Version="2026.0.2" />Directory.Packages.props
<PackageReference Include="DotNetBrightener.SimpleUploadService" />Project file
paket add DotNetBrightener.SimpleUploadService --version 2026.0.2
#r "nuget: DotNetBrightener.SimpleUploadService, 2026.0.2"
#:package DotNetBrightener.SimpleUploadService@2026.0.2
#addin nuget:?package=DotNetBrightener.SimpleUploadService&version=2026.0.2Install as a Cake Addin
#tool nuget:?package=DotNetBrightener.SimpleUploadService&version=2026.0.2Install as a Cake Tool
Copyright © 2017 - 2026 Vampire Coder (formerly DotnetBrightener)
Run this in command line:
dotnet add package DotNetBrightener.SimpleUploadService
serviceCollection.RegisterSimpleUploadService(builder => {
// configure your upload configuration here
});
Default upload folder is {environment.ContentRootPath}/Media. For example, if you deploy the application in /app of the computer, the upload folder will be /app/Media.
You can replace the default upload folder by implementing IUploadFolderPathResolver interface and provide your own logic of determining where to store the uploaded file.
public class TenantBasedUploadPathResolver : IUploadFolderResolver
{
public string UploadRootPath { get; }
public TenantBasedUploadPathResolver(IHostEnvironment hostEnvironment)
{
this.UploadRootPath = hostEnvironment.ContentRootPath;
}
public Task<string> ResolveUploadPath(string uploadPath)
{
return Task.FromResult(uploadPath.Replace('/', Path.DirectorySeparatorChar)
.Replace('\\', Path.DirectorySeparatorChar));
}
}
Implement your own logic for resizing photos by deriving the IImageResizer interface. Then you need to register it by
IUploadServiceProvider| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 3 NuGet packages that depend on DotNetBrightener.SimpleUploadService:
| Package | Downloads |
|---|---|
|
DotNetBrightener.UploadService.AzureBlobStorage
Azure Blob Storage Upload API for ASP.NET Core Applications |
|
|
DotNetBrightener.UploadService.ImageOptimizer
An Image Resizer used with DotNetBrightener.SimpleUploadService package. Migrated to SkiaSharp for improved security and performance. |
|
|
DotNetBrightener.UploadService.S3Storage
S3-Compatible Storage Upload Service Provider for ASP.NET Core Applications. Supports AWS S3, Digital Ocean Spaces, Wasabi, MinIO, Backblaze B2, and other S3-compatible storage providers. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.0.3-preview-777 | 140 | 5/20/2026 |
| 2026.0.3-preview-773 | 137 | 4/24/2026 |
| 2026.0.3-preview-772 | 156 | 4/3/2026 |
| 2026.0.3-preview-770 | 131 | 4/2/2026 |
| 2026.0.3-preview-769 | 120 | 4/2/2026 |
| 2026.0.2 | 140 | 4/2/2026 |
| 2026.0.2-preview-v2026-0-1-755 | 133 | 3/27/2026 |
| 2026.0.2-preview-759 | 135 | 4/1/2026 |
| 2026.0.2-preview-758 | 128 | 3/29/2026 |
| 2026.0.2-preview-757 | 124 | 3/29/2026 |
| 2026.0.2-preview-756 | 130 | 3/27/2026 |
| 2026.0.2-preview-754 | 119 | 3/27/2026 |
| 2026.0.1 | 140 | 3/27/2026 |
| 2026.0.1-preview-752 | 126 | 3/26/2026 |
| 2026.0.1-preview-750 | 120 | 3/26/2026 |
| 2026.0.1-preview-749 | 129 | 3/25/2026 |
| 2025.0.11-preview-776 | 120 | 5/20/2026 |
| 2025.0.11-preview-771 | 131 | 4/2/2026 |
| 2025.0.11-preview-768 | 132 | 4/2/2026 |
| 2025.0.11-preview-762 | 125 | 4/2/2026 |