How to Implement Windows Authentication in ASP.NET MVC

This is a demo of Windows Authentication implemented in .NET MVC, similar to what I did for an internal site in our organization. I needed to re-implement a legacy application to use Role-based instead of User-based authentication. The legacy application had hard-coded individual users in the Authorize attribute of the controller (which was perfectly fine). Unfortunately, because it was deployed as […]

Read more
How to Allow Proxy to Another URL with ASP.NET Core

This post talks about writing a simple HTTP proxy logic in C# or ASP.NET Core. And allowing your project to proxy the request to any other URL. It is not about deploying a proxy server for your ASP.NET Core project. Before starting, you need to be clear about the target you are going to proxy […]

Read more