A few days ago, I was asked to create a custom middleware, that can redirect from one domain to another from code, in an asp.net core 3 application. In this article, we are going to recreate that middleware step by step.
![find nuget package manager in visual studio](/wp-content/uploads/2020/08/find-nuget-package-manager-in-visual-studio-1200x631.png)
A few days ago, I was asked to create a custom middleware, that can redirect from one domain to another from code, in an asp.net core 3 application. In this article, we are going to recreate that middleware step by step.