Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mizrael/asyncservices
Sample repository showing how to handle requests asynchronously.
https://github.com/mizrael/asyncservices
aspnet-core dotnet-core mongodb pubsub rabbitmq tutorial web-api
Last synced: about 9 hours ago
JSON representation
Sample repository showing how to handle requests asynchronously.
- Host: GitHub
- URL: https://github.com/mizrael/asyncservices
- Owner: mizrael
- Created: 2020-12-07T02:09:15.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-08T14:36:31.000Z (about 4 years ago)
- Last Synced: 2024-11-28T12:37:51.251Z (about 2 months ago)
- Topics: aspnet-core, dotnet-core, mongodb, pubsub, rabbitmq, tutorial, web-api
- Language: C#
- Homepage: https://www.davideguida.com
- Size: 29.3 KB
- Stars: 2
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# AsyncServices
Sample repository showing how to handle requests asynchronously.The system is composed by a Web API and a Console app.
The Web API exposes a `POST` endpoint which can be used by clients to send the requests. The payload is encoded and published on a RabbitMQ Exchange.
The Console app acts as subscriber, receiving and processing the messages.
### Execution
The infrastructure can be provisioned using Docker Compose. The configuration is available [here](https://github.com/mizrael/AsyncServices/blob/main/src/docker-compose.yml).Just run
```
docker-compose up
```
from the `./src` folder.