Getting Started with Clean Architecture using ASP.Net Core – Part 2

Hi Friends,

In this section, we are going to extend our last example from where we left. In the last section, what we have done, we have created Core layer. Now, let’s go ahead and implement Infrastructure Layer.

Source:- https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html

Continue reading “Getting Started with Clean Architecture using ASP.Net Core – Part 2” »

Getting Started with Clean Architecture using ASP.Net Core – Part 1

Hi Friends,

In Today’s discussion, we will be discussing about clean architecture and how to get started with it. Clean Architecture belong to the Domain Driven Design family. Before that, let’s understand what was the problem with N-Layered Architecture.

Source:- https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html

Continue reading “Getting Started with Clean Architecture using ASP.Net Core – Part 1” »

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” »

ASP.Net Core Authentication using JWT aka JSON Web Token

Hi Friends,

In this section, we are going to discuss very basic and important thing Authentication and that is via JWT aka JSON Web Token. Basically, after first successful login, we will be creating JSON token with some expiry time and this token will be sent as part of Header with every consecutive request afterwards. This makes sure that users won’t need to supply username and password for every secured resource access.

Continue reading “ASP.Net Core Authentication using JWT aka JSON Web Token” »

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” »

Expression Trees in C#

Hi Friends,

In this section, thought to talk about Expression Trees. In order to understand it, you need to know what delegates are first. At-least basic knowledge is required. Delegates are just pointers to a function which you can pass it around and save it to variable. Now, the easiest way to create a delegate in C# is either by Func<> or Action<>. Action is used when the method is void and Func is used, when method returns something.  For example, here I will be using below class for my expression tree.

Continue reading “Expression Trees in C#” »