Master Huawei OBS eSDK Storage: Build C# Apps with Full SDK Capabilities
This guide consolidates Huawei OBS eSDK storage training, explains the service’s core capabilities, lists bucket and object operations, and walks through setting up a C# development environment with step‑by‑step demos for creating buckets, uploading, downloading, and hosting static sites.
Earlier this year Huawei held a training session on OBS (Object Storage Service) eSDK storage, and many participants found the material challenging. This article organizes the key points of that training.
Huawei OBS is used for personal cloud backup and online storage, as well as enterprise centralized backup and active archiving.
OBS SDK provides four main capabilities:
Bucket operations include:
Check if a bucket exists (HeadBucket)
List buckets (ListBuckets)
Get bucket location (GetBucketLocation)
Create bucket (CreateBucket)
Delete bucket (DeleteBucket)
List objects in a bucket (ListObjects)
Get bucket ACL (GetBucketAcl)
Set bucket ACL (SetBucketAcl)
Get bucket logging configuration (GetBucketLoggingConfiguration)
The eSDK storage SDK is open‑source and currently supports Android, C#, iOS, C++, Go, Java, Node.js, PHP, Python, Ruby and other languages.
Object operations include:
Upload content (PutObject)
Get object content (GetObject)
Delete object (DeleteObject)
Copy object (CopyObject)
Get object ACL (GetObjectAcl)
Set object ACL (SetObjectAcl)
Upload part (UploadPart)
Copy part (CopyPart)
Abort multipart upload (AbortMultipartUpload)
How to set up an OBS C# SDK development environment?
First, obtain the eSDK storage development tools and materials, such as Visual Studio or another IDE, and the necessary header files and shared libraries for OBS.
The available materials include SDK packages and documentation (illustrated in the following image).
With these tools, developers can use the SDK to:
Create a bucket
List buckets
Upload objects
Download objects
Query objects
Host a bucket as a static website
Examples (C# demos) are shown below:
For additional language SDKs and detailed documentation, visit the Huawei Developer Center’s Enterprise Cloud Services channel.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Huawei Cloud Developer Alliance
The Huawei Cloud Developer Alliance creates a tech sharing platform for developers and partners, gathering Huawei Cloud product knowledge, event updates, expert talks, and more. Together we continuously innovate to build the cloud foundation of an intelligent world.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
