The official .NET SDK provides a strongly-typed way to interact with Bunny Storage in your .NET applications.
Installation
Quickstart
Connect to your storage zone
Available regions:
List files
File metadata properties:
Guid - Unique identifier
ObjectName - File name
Path - Directory path
FullPath - Complete path to the file
Length - File size in bytes
DateCreated - Creation date
LastChanged - Last modification date
IsDirectory - Whether it’s a directory
ServerId - Storage server ID
UserId - BunnyCDN user ID
StorageZoneName - Storage zone name
StorageZoneId - Storage zone ID
Upload a file
Upload from stream:
Upload from local file:
Upload with checksum verification:
Download a file
Download as stream:
Download to local file:
Delete files
Examples
ASP.NET Core Web API
Console application
Upload file from disk
Download file to disk
Stream processing
Batch operations
Custom HTTP handler
Resources
Last modified on July 20, 2026