Skip to content

This repository is created in .Net 6.0 MVC Web App and Web API which will help to understand and implement MICRO SERVICE architecture where several micro services are communicated with each other using Azure Service Bus messaging service.

Notifications You must be signed in to change notification settings

Anki001/FoodOnline

Repository files navigation

Microservices - Food Online

  1. Application contains multiple loosely coupled microservices
  2. Individual Technology Stack
  3. Communication between microservices with service bus
  4. Separation of Concern


Communication (SYNC/ASYNC)

Syncronous Communication

  1. Synchronous communication was never a problem in relatively small monolithic applications because it is a very simple concept to reason about.
  2. The client sends a request to the server, and the server responds to the client.
  3. An advantage of synchronous communication is that the service receives an acknowledgement that the request was received, and the corresponding action was executed.

Asyncronous Communication

  1. When using asynchronous communication, the calling service does not wait for a response from the called service.
  2. Asynchronous communication also allows the possibility of One-To-Many communication, where a client can send a message to multiple services at once.


Rabit MQ implementation points

  1. Install below software on local machine.
2. Open Command prompt and navigate to below path
C:\Program Files\RabbitMQ Server\rabbitmq_server-3.11.10\sbin
3. Then run below command
rabbitmq-plugins enable rabbitmq_management
4. Open browser and navigate to the url to open rabitmq in browser- http://localhost:15672
5. Install nuget package RabbitMQ Client into required service

About

This repository is created in .Net 6.0 MVC Web App and Web API which will help to understand and implement MICRO SERVICE architecture where several micro services are communicated with each other using Azure Service Bus messaging service.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages