Skip to content

Shows an approach to work with a microservices based architecture using .Net Core, Docker, and Azure Service Fabric, applying Domain Driven Design (DDD) and Comand and Query Responsibility Segregation (CQRS).

License

Notifications You must be signed in to change notification settings

rodcarls/microservices-dotnetcore-docker-servicefabric

 
 

Repository files navigation

Microservices with .Net Core, Docker and Azure Service Fabric

Prerequisites and Installation Requirements

  1. Install Docker for Windows.
  2. Install .NET Core SDK
  3. Install Visual Studio 2017 15.7 or later.
  4. Share drives in Docker settings, in order to deploy and debug with Visual Studio 2017 (See the below image)
  5. Clone this Repo
  6. Set docker-compose project as startup project.
  7. Press F5 and that's it!

Note: The first time you hit F5 it'll take a few minutes, because in addition to compile the solution, it needs to pull/download the base images (SQL for Linux Docker, ASPNET, MongoDb and RabbitMQ images) and register them in the local image repo of your PC. The next time you hit F5 it'll be much faster.

Tuning Docker for better performance

It is important to set Docker up properly with enough memory RAM and CPU assigned to it in order to improve the performance, or you will get errors when starting the containers with VS 2017 or "docker-compose up". Once Docker for Windows is installed in your machine, enter into its Settings and the Advanced menu option so you are able to adjust it to the minimum amount of memory and CPU (Memory: Around 4096MB and CPU:3) as shown in the image.

Architecture

Demo Screenshots

Website

Trip API

Invoice API

Visit my blog http://elvanydev.com/Microservices-part1/ to view all the posts and to know all the details about this project.

About

Shows an approach to work with a microservices based architecture using .Net Core, Docker, and Azure Service Fabric, applying Domain Driven Design (DDD) and Comand and Query Responsibility Segregation (CQRS).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 87.1%
  • HTML 6.8%
  • PowerShell 3.3%
  • JavaScript 1.6%
  • Dockerfile 0.6%
  • Batchfile 0.4%
  • CSS 0.2%