DotNetBrightener.SimpleUploadService 2025.0.10

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package DotNetBrightener.SimpleUploadService --version 2025.0.10
                    
NuGet\Install-Package DotNetBrightener.SimpleUploadService -Version 2025.0.10
                    
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="DotNetBrightener.SimpleUploadService" Version="2025.0.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DotNetBrightener.SimpleUploadService" Version="2025.0.10" />
                    
Directory.Packages.props
<PackageReference Include="DotNetBrightener.SimpleUploadService" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DotNetBrightener.SimpleUploadService --version 2025.0.10
                    
#r "nuget: DotNetBrightener.SimpleUploadService, 2025.0.10"
                    
#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.
#:package DotNetBrightener.SimpleUploadService@2025.0.10
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DotNetBrightener.SimpleUploadService&version=2025.0.10
                    
Install as a Cake Addin
#tool nuget:?package=DotNetBrightener.SimpleUploadService&version=2025.0.10
                    
Install as a Cake Tool

Simple Upload API for ASP.NET Application

© 2025 DotNet Brightener

NuGet Version

Installation

Run this in command line:

dotnet add package DotNetBrightener.SimpleUploadService

Usage

1. Register the service

serviceCollection.RegisterSimpleUploadService(builder => {
	// configure your upload configuration here
});

2. Upload Path

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));
    }

}

Resizing image when upload

Implement your own logic for resizing photos by deriving the IImageResizer interface. Then you need to register it by


Extend API with IUploadServiceProvider

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

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.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.0.1-preview-notificati... 225 12/6/2025
2026.0.1-preview-net10-upgr... 194 11/25/2025
2026.0.1-preview-net10-upgr... 192 11/25/2025
2026.0.1-preview-net10-upgr... 188 11/24/2025
2026.0.1-preview-net10-upgr... 214 11/24/2025
2026.0.1-preview-717 118 1/5/2026
2026.0.1-preview-713 465 12/10/2025
2026.0.1-preview-700 234 12/7/2025
2026.0.1-preview-689 126 12/6/2025
2026.0.1-preview-676 692 12/2/2025
2026.0.1-preview-671 135 11/29/2025
2026.0.1-preview-670 127 11/29/2025
2026.0.1-preview-669 129 11/29/2025
2026.0.1-preview-667 194 11/27/2025
2026.0.1-preview-665 185 11/27/2025
2026.0.1-preview-664 187 11/27/2025
2026.0.1-preview-660 201 11/25/2025
2025.0.10 207 11/25/2025
2025.0.10-preview-628 414 11/20/2025
2025.0.10-preview-605 302 11/17/2025
2025.0.10-preview-602 300 11/17/2025
2025.0.10-preview-581 317 11/11/2025
2025.0.10-preview-559 203 10/29/2025
2025.0.10-preview-557 212 10/27/2025
2025.0.9 217 10/26/2025
2025.0.9-preview-553 188 10/26/2025
2025.0.9-preview-539 139 10/12/2025
2025.0.9-preview-535 193 10/8/2025
2025.0.9-preview-509 211 10/2/2025
2025.0.9-preview-508 195 10/2/2025
2025.0.9-preview-487 209 9/29/2025
2025.0.9-preview-481 204 9/29/2025
2025.0.9-preview-473 183 9/28/2025
2025.0.8 233 9/23/2025
2025.0.6 238 9/22/2025
2025.0.6-preview-455 220 9/22/2025
2025.0.6-preview-454 330 9/17/2025
2025.0.6-preview-441 173 9/14/2025
2025.0.6-preview-440 172 9/14/2025
2025.0.6-preview-406 209 9/2/2025
2025.0.6-preview-401 192 9/2/2025
2025.0.6-preview-400 200 9/2/2025
2025.0.6-preview-369 251 8/27/2025
2025.0.6-preview-368 232 8/27/2025
2025.0.6-preview-334 211 8/18/2025
2025.0.6-preview-333 151 7/27/2025
2025.0.6-preview-332 505 7/24/2025
2025.0.6-preview-331 527 7/24/2025
2025.0.6-preview-328 496 7/24/2025
2025.0.6-preview-327 390 7/21/2025
2025.0.6-preview-326 381 7/21/2025
2025.0.6-preview-325 290 7/20/2025
2025.0.6-preview-324 279 7/20/2025
2025.0.6-preview-322 285 7/20/2025
2025.0.6-preview-321 269 7/19/2025
2025.0.6-preview-320 285 7/19/2025
2025.0.6-preview-319 202 7/17/2025
2025.0.6-preview-317 192 7/17/2025
2025.0.6-preview-316 196 7/17/2025
2025.0.6-preview-315 190 7/17/2025
2025.0.6-preview-314 179 7/17/2025
2025.0.6-preview-313 203 7/17/2025
2025.0.6-preview-312 198 7/16/2025
2025.0.5 241 7/10/2025
2025.0.5-preview-307 122 7/5/2025
2025.0.4 153 7/5/2025
2025.0.4-preview-305 130 7/4/2025
2025.0.4-preview-304 188 7/1/2025
2025.0.4-preview-299 172 5/31/2025
2025.0.4-preview-298 142 5/30/2025
2025.0.4-preview-296 199 5/30/2025
2025.0.4-preview-295 211 5/29/2025
2025.0.4-preview-293 192 5/26/2025
2025.0.4-preview-292 206 5/26/2025
2025.0.3 207 2/10/2025
2025.0.3-preview-288 159 2/10/2025
2025.0.2 212 1/21/2025
2025.0.2-preview-278 149 1/21/2025
2025.0.2-preview-277 169 12/16/2024
2025.0.1-rc-243301701 395 11/25/2024
2024.0.14.6 205 11/25/2024
2024.0.14.6-rc-243031001 205 10/29/2024
2024.0.14.6-rc-243030701 181 10/29/2024
2024.0.14.6-rc-242840501 145 10/10/2024
2024.0.14.6-rc-242820305 168 10/8/2024
2024.0.14.6-rc-242771401 225 10/3/2024
2024.0.14.6-rc-242770501 157 10/3/2024
2024.0.14.6-rc-242770201 164 10/3/2024
2024.0.14.6-rc-242761801 169 10/2/2024
2024.0.14.6-rc-242761601 163 10/2/2024
2024.0.14.6-rc-242761501 165 10/2/2024
2024.0.14.6-rc-242761401 165 10/2/2024
2024.0.14.6-rc-242760701 178 10/2/2024
2024.0.14.6-rc-242751002 171 10/1/2024
2024.0.14.6-rc-242750901 184 10/1/2024
2024.0.14.6-rc-242750502 169 10/1/2024
2024.0.14.6-rc-242750201 191 10/1/2024
2024.0.14.6-rc-242741501 175 9/30/2024
2024.0.14.6-rc-242730701 187 9/29/2024
2024.0.14.6-preview-2730501 151 9/29/2024
2024.0.14.6-preview-2701501 192 9/26/2024
2024.0.14.6-preview-2620901 219 9/18/2024
2024.0.14.6-preview-2570701 195 9/13/2024
2024.0.14.6-preview-2510703 211 9/7/2024
2024.0.14.6-preview-2480501 201 9/4/2024
2024.0.14.6-preview-2430401 192 8/30/2024
2024.0.14.6-preview-242730701 146 9/29/2024
2024.0.14.6-preview-2421703 188 8/29/2024
2024.0.14.6-preview-2421701 176 8/29/2024
2024.0.14.6-preview-2420901 167 8/29/2024
2024.0.14.6-preview-2390101 200 8/26/2024
2024.0.14.6-preview-2381603 193 8/25/2024
2024.0.14.6-preview-2341601 226 8/21/2024
2024.0.14.6-preview-2321602 186 8/20/2024
2024.0.14.6-preview-2190801 201 8/6/2024
2024.0.14.6-preview-2041501 159 7/22/2024
2024.0.14.6-preview-1920603 225 7/10/2024
2024.0.14.6-preview-1920301 168 7/10/2024
2024.0.14.6-preview-1911302 200 7/9/2024
2024.0.14.6-preview-1901001 196 7/8/2024
2024.0.14.6-preview-1900901 188 7/8/2024
2024.0.14.6-preview-1900801 195 7/8/2024
2024.0.14.6-preview-1860304 195 7/4/2024
2024.0.14.5 301 7/1/2024
2024.0.14.5-preview-1811601 187 6/29/2024
2024.0.14.5-preview-1810501 201 6/29/2024
2024.0.14.5-preview-180132 194 6/28/2024
2024.0.14.5-preview-180131 177 6/28/2024
2024.0.14.5-preview-180121 187 6/28/2024
2024.0.14.4 243 6/27/2024
2024.0.14.4-preview-7 180 6/27/2024
2024.0.14.3 228 6/21/2024
2024.0.14.1 227 6/6/2024
2024.0.14.1-preview 178 6/6/2024
2024.0.14-preview-1 157 6/6/2024
2024.0.13.8-preview 162 6/6/2024
2024.0.13.1-preview-0146 177 6/6/2024
2024.0.12.15803-preview-03 185 6/6/2024
2024.0.12.15608 218 6/4/2024
2024.0.12.15515 297 6/3/2024
2024.0.12.15220 219 5/31/2024
2024.0.12.15220-alpha31-240... 170 5/31/2024
2024.0.12.14911 277 5/28/2024
2024.0.12.14910-alpha28-240... 183 5/28/2024
2024.0.12.14823 236 5/27/2024
2024.0.12.14522-alpha7-2405... 190 5/24/2024
2024.0.12.14514-alpha6-2405... 187 5/24/2024
2024.0.12.14511 256 5/24/2024
2024.0.12.14314 251 5/22/2024
2024.0.12.14114 237 5/20/2024
2024.0.12.12815 284 5/7/2024
2024.0.12.12814 251 5/7/2024
2024.0.12.12721 251 5/6/2024
2024.0.12.12702 237 5/5/2024
2024.0.12.12622 255 5/5/2024
2024.0.12.12514 221 5/4/2024
2024.0.12.12512 220 5/4/2024
2024.0.12.12510 244 5/4/2024
2024.0.12.12420 215 5/3/2024
2024.0.12.12319 203 5/2/2024
2024.0.12.12319-rc-2405021801 144 5/2/2024
2024.0.12.12318 172 5/2/2024
2024.0.12.12215 227 5/1/2024
2024.0.12.12011 217 4/29/2024
2024.0.12.11720 227 4/26/2024
2024.0.12.11719 215 4/26/2024
2024.0.12.11621 225 4/25/2024
2024.0.12.11523 230 4/24/2024
2024.0.12.11522 244 4/24/2024
2024.0.12.11417 234 4/23/2024
2024.0.12.11400 239 4/22/2024
2024.0.12.11316 237 4/22/2024
2024.0.11.10220 227 4/11/2024
2024.0.11.10120 210 4/10/2024
2024.0.11.10119 206 4/10/2024
2024.0.11.10115 222 4/10/2024
2024.0.11.9914 247 4/8/2024
2024.0.11.9901 247 4/7/2024
2024.0.11.9823 233 4/7/2024
2024.0.11.9401 228 4/2/2024
2024.0.11.9301 236 4/1/2024
2024.0.11.9206 217 3/31/2024
2024.0.11.9205 197 3/31/2024
2024.0.11.8200 246 3/21/2024
2024.0.11.8122 213 3/21/2024
2024.0.11.8120 231 3/21/2024
2024.0.11.7320 279 3/13/2024
2024.0.11.7316 225 3/13/2024
2024.0.11.7310 226 3/13/2024
2024.0.11 208 3/13/2024
2024.0.10 253 3/3/2024
2024.0.9 251 2/27/2024
2024.0.8 276 2/1/2024
2024.0.7 230 1/26/2024
2024.0.6 216 1/25/2024
2024.0.5 222 1/24/2024
2024.0.4 208 1/24/2024
2024.0.3 239 1/22/2024
2024.0.2 301 1/10/2024
2024.0.1 245 1/9/2024
2024.0.1-alpha-3 173 1/9/2024
2024.0.1-alpha-2 186 1/9/2024
2024.0.1-alpha-1 208 1/3/2024
2024.0.0 283 12/26/2023
2023.0.27 243 12/21/2023
2023.0.26 233 12/21/2023
2023.0.25 270 12/11/2023
2023.0.24 259 12/8/2023
2023.0.23 218 12/6/2023
2023.0.21 243 12/4/2023
2023.0.20 249 11/27/2023
2023.0.19 222 11/20/2023
2023.0.18 269 10/25/2023
2023.0.17 270 10/22/2023
2023.0.16 246 10/16/2023
2023.0.16-alpha-1 184 10/16/2023
2023.0.15 262 10/14/2023
2023.0.14 210 10/14/2023
2023.0.13 224 10/14/2023
2023.0.12 242 10/14/2023
2023.0.11 218 10/10/2023
2023.0.10 231 10/9/2023
2023.0.9 277 8/16/2023
2023.0.8 249 8/15/2023
2023.0.8-alpha-2 387 5/31/2023
2023.0.7 291 5/12/2023
2023.0.6 493 5/10/2023
2023.0.5 293 5/7/2023
2023.0.4 334 4/22/2023
2023.0.3 341 4/19/2023
2023.0.2 355 4/6/2023
2023.0.1 369 3/13/2023
2022.11.1 482 11/12/2022
2022.11.0 469 11/7/2022
2022.10.0 501 10/28/2022