Apache ShenYu Client SDK for donet.

Clone this repo:
  1. 5a4bacd remove incubator words in project (#47) by Han Gao · 1 year, 6 months ago main
  2. 56af249 [type:docs] remove disclaimer, update notice and delete license folder (#46) by Han Gao · 1 year, 6 months ago v1.0.0
  3. fa42f8c changed version to 1.0.0 (#45) by Han Gao · 1 year, 7 months ago
  4. 0cedf0e [ISSUE #42] Add license files for the dependencies and add release note (#43) by Han Gao · 1 year, 7 months ago
  5. 7e13e7e add license files for client and asp.net core packages (#41) by Han Gao · 1 year, 7 months ago

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()
    {
        ...
    }
    ...
}