Streaming and Authentication in gRPC (ASP.Net Core)

In this blog, I am going to cover Streaming and Authentication for gRPC services in ASP.Net Core. In my last blog post, I covered basic concepts of gRPC in ASP.Net core. I will strongly suggest going through the previous blog post before going through this one. As I will be using the project created on … Read more

gRPC in ASP.Net Core

gRPC is an open-source, high-performance RPC framework. In this blog, I am going to cover gRPC in ASP.Net Core. We can use gRPC within or across data centers. We can use gRPC in mobile applications, web applications as well as edge computing as a backend service. Google was the first to develop gRPC, later it … Read more

Middleware in ASP.Net Core

Middleware in ASP.Net Core is software components that are assembled into the HTTP pipeline to handle requests and response. A middleware component can either choose to pass the request to the next component in the pipeline. Or it may choose to end the request. Middleware can perform tasks both before as well as after the … Read more

ASP.Net Core Authorization (Role-based and Policy-based Authorization)

In this blog, I am going to take a deep-dive into ASP.Net Core Authorization. Authorization is the process to find out what action a user can perform. In the case of a REST API, it can be the resources a user can access. Or a particular HTTP verb associated with a resource. For example, let … Read more

Authentication handler in ASP.Net Core (JWT and Custom)

Authentication is the process that helps identify who is the users. On the other hand, authorization is the process of determining what a user can do. For authorization to work, the user will be authenticated first. We need the user’s identity to identify the role of a user and act accordingly. Authentication middleware is responsible … Read more

Redis Cache in .Net Core – Docker Container

Using a caching solution becomes important when we are building a high performant web-based application or micro-services system. I wrote about using Memcached as a distributed caching solution in my previous blog. In today’s blog, I am going to take a deep dive into Redis Cache as a distributed in-memory caching solution for .Net Core. … Read more

Microservice resilience – Circuit Breaker using polly in .Net Core

In a microservices environment, usually, multiple services talk to each other either. Some cases through HTTP calls, whereas in other cases using an event bus or queues. Circuit Breaker is an important pattern which helps to make microservices more resilient in these communication patterns. When services communicate with each other through HTTP calls, there is … Read more

Auto retry with Polly

Building distributed and micro-services is incomplete without the implementation of Circuit breaker and auto-retry. This post takes a stab on Auto retry with Poly. While building microservices and distributed systems, usually multiple services talk to each other. In some cases through reactive channels, like a stream or queue. For other cases through HTTP calls. In … Read more

Real-Time Web Application in ASP.Net Core SignalR

Hello everyone, welcome back to .Net Core Central. Today I am going to continue with streaming using ASP.Net Core SignalR, which I started by integrating with Kafka, then Reactive Extensions, and today I will be working with SignalR. If you have not gone through my previous posts ASP.Net Core Streaming Application Using Kafka – Part … Read more