ConsulSharp

The most comprehensive cross-platform .NET Library for HashiCorp’s Consul - A Service Mesh Solution.

ConsulSharp NuGet: NuGet

ConsulSharp Latest Documentation: Inline Below and also at: http://rajanadar.github.io/ConsulSharp/

ConsulSharp Questions/Clarifications: Ask on Stack Overflow with the tag consulsharp

ConsulSharp Gitter Lobby: Gitter Lobby

Report Issues/Feedback: Create a ConsulSharp GitHub issue

Contributing Guidlines: ConsulSharp Contribution Guidelines

NuGet Join the chat at https://gitter.im/rajanadar-ConsulSharp/Lobby License Build status

What is ConsulSharp?

ConsulSharp is designed ground up, to give a structured user experience across the various Consul capabilities. Also, the Intellisense on IConsulClient class should help. I have tried to add a lot of documentation.

Give me a quick snippet for use!

IConsulClient consulClient = new ConsulClient(consulUriWithPort, consulToken);
var managementTokenId = await consulClient.V1.ACL.BootstrapAsync();

Gist of the features

ConsulSharp - Supported .NET Platforms

ConsulSharp is built on .NET Standard 1.3, .NET Standard 2.0 & .NET Framework 4.5. This makes it highly compatible and cross-platform.

The following platforms are supported due to that.

Source: https://github.com/dotnet/standard/blob/master/docs/versions.md

What is the deal with the Versioning of ConsulSharp?

Can I use it in my PowerShell Automation?

All the methods are async. How do I use them synchronously?

In Conclusion

Happy Coding folks!