您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

用于 .NET 的 Azure Data Lake Store 库Azure Data Lake Store libraries for .NET

概述Overview

Azure Data Lake Store 是一个企业范围的超大规模存储库,适用于大数据分析工作负载。Azure Data Lake Store is an enterprise-wide hyper-scale repository for big data analytic workloads. 使用 Azure Data Lake 可以在单个位置捕获任何大小、类型和引入速度的数据进行操作和探索分析。Azure Data Lake enables you to capture data of any size, type, and ingestion speed in one single place for operational and exploratory analytics.

有关详细信息,请参阅 Azure Data Lake Store 概述To learn more, see Overview of Azure Data Lake Store.

客户端库Client library

使用客户端库可在 Data Lake Store 上执行文件系统操作,如在 Data Lake Store 帐户中创建文件夹,上传文件,以及下载文件。Use the client library to perform filesystem operations on Data Lake Store, such as creating folders in a Data Lake Store account, uploading files, and downloading files. 有关将 Data Lake Store 与 .NET 一起使用的完整教程,请参阅使用 .NET SDK 在 Azure Data Lake Store 上执行的文件系统操作For a full tutorial on using Data Lake Store with .NET, see Filesystem operations on Azure Data Lake Store using .NET SDK.

直接从 Visual Studio 包管理器控制台或使用 .NET Core CLI 安装 NuGet 包Install the NuGet package directly from the Visual Studio Package Manager console or with the .NET Core CLI.

Visual Studio 包管理器Visual Studio Package Manager

Install-Package Microsoft.Azure.DataLake.Store
dotnet add package Microsoft.Azure.DataLake.Store

身份验证Authentication

代码示例Code Example

以下代码片段创建了 Data Lake Store filesystem 客户端对象,用于向服务发出请求。The following snippet creates the Data Lake Store filesystem client object, which is used to issue requests to the service.

// Create client objects
AdlsClient client = AdlsClient.CreateClient(_adlsAccountName, adlCreds);

管理库Management library

使用管理库可连接和管理大数据存储库。Use the management library to connect to and manage your big data repositories.

直接从 Visual Studio 包管理器控制台或使用 .NET Core CLI 安装 NuGet 包Install the NuGet package directly from the Visual Studio Package Manager console or with the .NET Core CLI.

Visual Studio 包管理器Visual Studio Package Manager

Install-Package Microsoft.Azure.Management.DataLake.Store
dotnet add package Microsoft.Azure.Management.DataLake.Store

示例Samples

详细了解可在应用中使用的示例 .NET 代码Explore more sample .NET code you can use in your apps.