https://github.com/thiagoloureiro/megaphone.netstandard
ServiceDiscovery component for Consul built in .NET Standard
https://github.com/thiagoloureiro/megaphone.netstandard
Last synced: 7 months ago
JSON representation
ServiceDiscovery component for Consul built in .NET Standard
- Host: GitHub
- URL: https://github.com/thiagoloureiro/megaphone.netstandard
- Owner: thiagoloureiro
- License: mit
- Created: 2018-03-31T16:28:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-02-23T06:26:35.000Z (over 1 year ago)
- Last Synced: 2024-05-16T01:15:23.272Z (about 1 year ago)
- Language: C#
- Homepage:
- Size: 180 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MegaPhone NetStandard
A framework to self-register services on Consul.IO, now supporting .NET Core 6+ and .Net Standard*MegaPhone*
MegaPhone is a lightweight framework to run self-hosting REST services using AspnetCore Web API on top of a Consul. Each service will start by allocating a free port to run on, once the service is started, it will register itself in the local cluster provider.
**MegaPhone.DotnetCore**
[](http://www.nuget.org/packages/Megaphone.DotnetCore)
[](https://ci.appveyor.com/project/thiagoloureiro/megaphone-netstandard)
[](https://ci.appveyor.com/project/thiagoloureiro/megaphone-netstandard/history)
**Install the Package**
```Install-Package Megaphone.DotnetCore```
```Install-Package Megaphone.DotnetCore.WebApi```
**AppSettings Sample Configuration**
```
"ConsulConfig": {
"Host": "localhost",
"Port": "8500",
"StatusEndPoint": "status",
"StatusEndPointFrequencyCheck": "5s"
}
```