Microservice.PoC.Steeltoe icon indicating copy to clipboard operation
Microservice.PoC.Steeltoe copied to clipboard

This is one sample microservice project developed by ASP.NET Core with Spring Cloud based on Steeltoe (http://steeltoe.io/).

Microservice.PoC.Steeltoe

Steeltoe

N|Steeltoe
Steeltoe is an open source project that enables .NET developers to implement industry standard best practices when building resilient microservices for the cloud. The Steeltoe client libraries enable .NET Core and .NET Framework apps to easily leverage Netflix Eureka, Hystrix, Spring Cloud Config Server, and Cloud Foundry services.
For more details, please read its offical website.
What's more, Pivotal provide a sample application on Github

Steeltoe enable .NET/.NET Core to use the below components at this moment:

  • Service Discovery
  • Config Server
  • Circuit Breaker
  • Cloud Connectors

About this sample

N|ASP.NET Core
This sample is a microservice project developed by ASP.Net Core with Spring Cloud based on Steeltoe, it integrated with the below Spring Cloud components:

Some test captured screens

Service Discovery :

N|Eureka

API Gateway :

N|Zuul

Circuit Breaker :

N|Hystrix
N|Dashboard

Config :

N|Config

Distributed Tracing :

N|Zipkin

Installation

To use Steeltoe in .Net Core, we can use the below NuGet packages:
Service Discovery Client

PM> Install-Package Pivotal.Discovery.ClientCore

Circuit Breaker Core

PM> Install-Package Steeltoe.CircuitBreaker.HystrixCore

Hystrix Metrics

PM> Install-Package Steeltoe.CircuitBreaker.Hystrix.MetricsEventsCore

Config

PM> Install-Package Steeltoe.Extensions.Configuration.ConfigServerCore

Distributed Tracing

PM> Install-Package Steeltoe.Extensions.Logging.DynamicLogger 
PM> Install-Package Steeltoe.Management.ExporterCore     
PM> Install-Package Steeltoe.Management.TracingCore

Rerference