API Gateway using Ocelot

Hi Friends,

In this section, we are going to see how to build API gateway using Ocelot. Ocelot is one of the most popular libraries for API Gateways used in conjunction with Microservices project. In the last article, we have seen how to handle the traffic using envoy gateway. In this case, we are going to extend the same example using Ocelot and see how it works underneath. As we know already, Gateways are very useful and it helps with following features seamlessly.

  • Routing
  • Authentication
  • Authorization
  • Rate Limiting
  • Caching
  • Load Balancing
  • Circuit Breaker
  • Request Aggregation

Continue reading “API Gateway using Ocelot” »

API Gateway using Envoy and Docker

Hi Friends,

In this section, we are going to look at API Gateway implementation using Envoy. API Gateway is one of the best way to encapsulate internals of Microservice from outside world. This is the place where we can implement cross cutting concerns like

  • HTTPS Termination
  • Load Balancing
  • Routing
  • Caching
  • Aggregation
  • Logging
  • Transformation
  • etc

Continue reading “API Gateway using Envoy and Docker” »

Docker for .Net and Angular Developers

Hi Friends,

In today’s section, I am going to talk about my new course and this time its Online Course available on Udemy with title “Docker for .Net and Angular Developers”. I have made this 5.5 hours of video course keeping our day to day enterprise work in Mind. I have put the detailed outline below.

Continue reading “Docker for .Net and Angular Developers” »

Exporting DACPAC and Importing to Azure via Github Actions

Hi Friends,

In this section, we are going to see how to export dacpc file from SQL Server or Visual Studio and import the same in Azure. This is really important step and definitely you are going to need this, if you are writing some sort of data driven app and which needs to be deployed on Azure SQL. This step is also going to help you with containerizing SQL. There are two kinds of file format dacpac and bacpac. And the basic difference is dacpac copies only schema and bacpac copies both schema and data as well. In this post, we are going to see dacpac.

Continue reading “Exporting DACPAC and Importing to Azure via Github Actions” »

Docker For .Net Developers

Hi Friends,

I have just launched docker course on udemy and bpb platform. This entire course is a quick guide to get started with docker for .Net Developers.

What you will learn

  • Docker Containers Concept
  • Docker Vs Virtual Machines
  • Significance of Docker
  • Where Docker fits in
  • Docker Commands
  • Docker Images
  • Docker File
  • Docker Compose
  • Multi Container Scenarios
  • Dockerhub
  • Containerization of different .Net Projects

Continue reading “Docker For .Net Developers” »

Deploying ASP.NET Core App using Docker

Hi Friends,

In this segment, we will discuss containers. Containerization is another innovation that numerous ASP.NET engineers may not yet have a great deal of involvement with. Docker is the most well known containerization tool today. I’ll clarify how Docker functions at high level and why it’s a decent decision for deploying ASP.NET Core applications. When you set up a server or virtual machine to host your application, think about all the stuff that you need to do. Install dependencies like .NET and third-party libraries, configure things like IIS and NGINX, add environment variables and so on. If you have multiple servers, you have to do this setup manually on each one.

Continue reading “Deploying ASP.NET Core App using Docker” »

Publishing your ASP.NET App to Linux in 5 minutes with Docker

Hi Friends,

In this section, i will demonstrate how to publish your ASP.NET APP on Linux VM using Docker extension of Visual Studio 2015. So, before we begin, we must need VS 2015 RC candidate installed on our machine. Then, we do need Docker extension for visual studio installed on our machine. You can install the same from Extension and Updates as shown below in the screen shot.


Then, I need to create new ASP.NET 5 website as shown below in the screen shot.




Once, site got created successfully; then simply rt-click on the website and say Publish as shown below.


Then, It will provide the below options.


Now, if you don’t have any subscription, then you need to create one and provide the details in the next screen. For privacy reason, my details are hidden.



Then, it will give the below confirmation message.


When you say ok here, it will build the app and prepare for hosting. You can check the status of the same in the output window when Azure is provisioning things for you. This process will take some time.


Once, its completed. It will show the confirmation message as shown below.


Now, I will come to and say publish, this time it will come in connections tab with below VM credentials.


Then you can click on validate Connection for confirming every thing is correct. once verified, then you can go ahead and click next and publish the app.



while building the app, you can check the status in the output window.




Once done. It will launch the same in the browser. Also, it launched in my new Project Spartan browser as i’m running on windows 10 machine.


Thanks for Joining me.

Rahul Sahay
Happy Coding