小编Son*_*onu的帖子

使用 c# 从 azure 文件存储中递归获取文件

我想编写一个程序来从 azure 文件存储中获取文件,但问题是未定义目录深度并且isFile文件的属性总是返回 false。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Microsoft.Azure; // Namespace for Azure Configuration Manager
using Microsoft.WindowsAzure.Storage; // Namespace for Storage Client Library
using Microsoft.WindowsAzure.Storage.Blob; // Namespace for Blob storage
using Microsoft.WindowsAzure.Storage.File; // Namespace for File storage

namespace AzureStorage
{
    class Program
    {
        static void Main(string[] args)
        {
            CloudStorageAccount storageAccount = CloudStorageAccount.Parse(CloudConfigurationManager.GetSetting("StorageConnectionString"));

            //CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
            // Create a CloudFileClient object for credentialed access to File storage.
            CloudFileClient fileClient …
Run Code Online (Sandbox Code Playgroud)

c# azure azure-storage-files

4
推荐指数
2
解决办法
7496
查看次数

在 Cassandra 中对 timeuuid 类型的主键进行排序

我是 cassandra 的新手。我想根据主键即 timeuuid 获得排序的结果集。我的表结构是。

CREATE TABLE user_session
(
  session_id timeuuid,
  ip inet,
  device_type int,
  is_active int,
  last_access_time timestamp,
  logout_reason text,
  logout_type int,
  start_time timestamp,  
  uid int,
  PRIMARY KEY(session_id)
);
Run Code Online (Sandbox Code Playgroud)

谁能帮我吗。

sorting cassandra

2
推荐指数
1
解决办法
3333
查看次数

标签 统计

azure ×1

azure-storage-files ×1

c# ×1

cassandra ×1

sorting ×1