Cloud Computing 5 min read

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.

Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Master Huawei OBS eSDK Storage: Build C# Apps with Full SDK Capabilities

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.

eSDK storage interface overview
eSDK storage interface overview

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:

OBS SDK capabilities
OBS SDK 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.

Development requirements and version requirements
Development requirements and version requirements

The available materials include SDK packages and documentation (illustrated in the following image).

eSDK storage materials
eSDK storage materials

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:

C# create bucket demo
C# create bucket demo
C# list buckets demo
C# list buckets demo
C# download object demo
C# download object demo
C# query object demo
C# query object demo
C# static website hosting demo
C# static website hosting demo

For additional language SDKs and detailed documentation, visit the Huawei Developer Center’s Enterprise Cloud Services channel.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

cloud storageobject storageSDK DevelopmenteSDKC# SDKHuawei OBS
Huawei Cloud Developer Alliance
Written by

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.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.