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

124 total views, 27 views today

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

333 total views, 13 views today

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

338 total views, 2 views today

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

356 total views, 4 views today

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

410 total views, 6 views today

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

375 total views, 6 views today

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

372 total views, 2 views today

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

488 total views, 2 views today

RXJS for developers – Part1

Hi,

In this section, we will be starting with new series on RxJs. But, before jumping to rxjs directly, let’s understand stream of values first. As we know from JS world everything is synchronous. Let’s say every click which we do in application, that will be stream of value which contains click event. Let’s prove this point with an example.

Continue reading “RXJS for developers – Part1” »

718 total views, 4 views today