Giter Site home page Giter Site logo

aliyun / aliyun-tablestore-csharp-sdk Goto Github PK

View Code? Open in Web Editor NEW
17.0 14.0 18.0 820 KB

Aliyun TableStore(原OTS) C# SDK, Support .NET Standard2.0 and .NET Framework4.0

Home Page: https://www.aliyun.com/product/ots

License: Apache License 2.0

C# 100.00%
aliyun aliyun-tablestore-sdk tablestore ots distributed-database sdk

aliyun-tablestore-csharp-sdk's Introduction

Aliyun TableStore SDK for C#

Software License GitHub version Build Status

关于

  • 此C# SDK基于阿里云表格存储服务 API构建。
  • 阿里云表格存储是构建在阿里云飞天分布式系统之上的NoSQL数据存储服务,提供海量结构化数据的存储和实时访问。

版本

  • 当前版本:6.0.2

运行环境

Windows

  • 适用于.NET 4.0 及以上版本
  • 适用于.NETSTANDARD2.0及以上版本
  • 适用于Visual Studio 2010及以上版本

注意事项

  • 如果要运行sample,需要将aliyun-tablestore-sdk-sample项目设为启动项目,并添加您自己的AccessKeyId,AccessKeySecret,InstanceName等后即可运行。

贡献代码

  • 我们非常欢迎大家为TableStore C# SDK以及其他TableStore SDK贡献代码

联系我们

aliyun-tablestore-csharp-sdk's People

Contributors

boxiaowpl avatar danielxiaoran avatar qiyuewuyi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aliyun-tablestore-csharp-sdk's Issues

Size() method in class 'AggregationResults' seems wrong in the new version 6.0.0

Hi,
Very exciting to see the new version 6.0.0.
I assume that the class 'AggregationResults' has a wrong if-condition in method Size(). The class is under the namespace [Aliyun.OTS.DataModel.Search.Agg].
Currently, the codes like,

public int Size()
{
    if (ResultMap != null)
    {
        return 0;
    }
    return ResultMap.Count;
}

However, the method might be meant to return 0 if the ResultMap is null.
Could you please kindly check it?

Sean

把sdk修改为dot net standard吧!

我看到sdk里面用到的库都没平台依赖,完全可以把项目属性修改为 standard 标准,没有任何副作用,代码都不用改一行,当时好处是很多的,所有平台都可以使用了。

改一改吧,希望听到社区的声音!

需要强签名StrongName打包

至少针对Framework版本的打包, 需要加上强名字, 我看你们家Aliyun.OSS.dll都有的, 希望这个也加上.

Error: invalid parameter when creating Search Index with Nested Field Type

Hi,

Recently I got an error without any detailed information as below when I used .NET SDK to create a search index.

Aliyun.OTS.OTSServerException: 'OTS request failed, API: /CreateSearchIndex, HTTPStatus: 400 BadRequest, ErrorCode: OTSParameterInvalid, ErrorMessage: invalid parameter, Request ID: 0005e889-e227-0ac8-69ab-c60b14c447aa'

I could create it successfully without involving NESTED Field Type.
The settings for NEST Field in FieldSchema is
1663052646722_7F2FC06A-2D09-46ac-B8D7-F7335D58F00E
AND the settings for request is
1663053064009_84C04C0D-02CA-49ab-A0C2-3E0B916765E7
I already tried to modify the settings according to Aliyun TableStore docs but still failed. Like, change EnableSortAndAgg to false, index to false for NESTED field.

Could you please help to check if it was caused by my wrong settings? Or it is the SDK issue?
@wanttobeamaster

Best regards,
Sean

关于HttpClient的问题

OTS的C#SDK中,用了一个HttpClient的连接池,这种用法似乎是有问题
C# 的HttpClient本身是有连接池的,还有就是当连接池的连接用满的时候就公引起程序等待
直接把HttpClient做一个单例 可能比较合适

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.