Introduction to Microsoft Azure Service Fabric and Microservices

What are MicroServices in simple terms?

Microservice is an architectural style to build an application which best suits large complex systems. It contains small independent and loosely coupled services.

How to make a Service as “Micro” in .NET?

By deploying the application with Azure Service Fabric.

Azure Service Fabric is Microsoft’s microservice platform that includes container orchestration as well as developer programming models to build highly scalable microservice applications.

Here, shown below is the deployment model of Service Fabric Cluster.

 

If you want to understand it in more details, read how to set up the Azure Service Fabric on the Azure Portal from here.

How to create my first Azure Service Fabric Application?

You need to install Microsoft Azure Service Fabric SDK and follow the steps given as per your Visual Studio here.

After SDK installation, you will see a new template.



Advantage of Microservice based application

  • Each service is relatively small, so it is easier to maintain the code and you get reduced build time
  • We can add more features in less time as compared to the monolithic applications.
  • Each service can be deployed independently, so we can build releases more aggressively.
  • Easy to scale (Horizontal scaling)
  • A different technology stack can be used in different services