MyGit

apache/shenyu-client-dotnet

Fork: 8 Star: 10 (更新于 2024-11-16 15:59:15)

license: Apache-2.0

Language: C# .

Apache ShenYu Client SDK for donet.

最后发布版本: v1.0.0 ( 2022-10-18 14:56:04)

官方网址 GitHub网址

ShenYu .NET client

build codecov.io

ShenYu .NET client can help you register your ASP.NET Core applications into ShenYu, similar with Java client. It supports below registration type,

  • http registration
  • zookeeper registration
  • nacos registration
  • consul registration
  • etcd registration

Getting Started

Please visit related document to start to start.

For http registration, please visit HTTP Registration.

For zookeeper registration, please visit Zookeeper Registration.

For consul registration, please visit Consul Registration.

For nacos registration, please visit Nacos Registration.

For etcd registration, please visit Etcd Registration.

Attributes

You can use ShenyuClient attribute to register your APIs.

e.g. add ShenyuClient attribute in class as route prefix.

[ShenyuClient("/test/**")]
public class TestController {
  ...
}

e.g. add ShenyuClient attribute in method as route path. The final route path will be /test/hello for this endpoint.

[ShenyuClient("/test")]
public class TestController {
    [ShenyuClient("hello")]
    public IEnumerable<WeatherForecast> GetTest()
    {
        ...
    }
    ...
}

最近版本更新:(数据更新于 2024-10-16 14:04:44)

2022-10-18 14:56:04 v1.0.0

主题(topics):

sdk, shenyu

apache/shenyu-client-dotnet同语言 C#最近更新仓库

2024-11-19 11:38:46 jellyfin/jellyfin

2024-11-15 10:33:01 DigitalRuby/IPBan

2024-11-13 04:41:56 dotnet/runtime

2024-11-07 00:43:03 huiyadanli/RevokeMsgPatcher

2024-11-06 13:04:33 Pik-4/HsMod

2024-11-05 02:46:31 microsoft/PowerToys