This topic describes how to install Alibaba Cloud SMS SDK for .NET. You can run the git clone command or use other methods to download the core library of the .NET SDK.
Prerequisites
Before you install and use the .NET SDK, an Alibaba Cloud account and AccessKey pair are created. For more information, see Create an AccessKey pair.
Installation methods
(Recommended) Use dependency managers
You can use the NuGet package manager to install the .NET SDK. In Solution Explorer, right-click your project and select Manage NuGet Packages. In the NuGet panel that appears, click the Browse tab and enter aliyun-net-sdk-core in the search box. Select aliyun-net-sdk-core and click Install.
dotnet add package aliyun-net-sdk-core
After the .NET SDK is installed, you can use OpenAPI Explorer to generate the sample code of API operations for the SDK, and apply the sample code in your projects.
Download and install the .NET SDK
You can run the git clone
command or use other methods to download the aliyun-net-sdk-core library, and implement a solution based on your business needs.
To download the aliyun-net-sdk-core library from GitHub, visit aliyun-net-sdk-core.
After the .NET SDK is installed, you can use OpenAPI Explorer to generate the sample code of API operations for the SDK, and apply the sample code in your projects.