.NET · IoC · Visual Studio Code

IoC in ASP.NET Web API projects

You probably want structure your project so that you can separate concerns. In our traditional applications, we are calling into reusable libraries to handle tasks, but with inversion of control (IoC) it is the framework that is calling into the code. By using IoC we are increasing modularity and are making our service more extensible.… Continue reading IoC in ASP.NET Web API projects

.NET

Implement an OAuth 2.0 Authorization Server using OWIN OAuth middleware on ASP.NET web API.

This post is a beginner’s guide to setting up a ASP.NET web API project with OAuth 2.0 Authentication. You can follow the simple steps on youtube. You can download a sample project on my gihub. In Visual Studio, create a new ASP.NET Web project, select Empty and add folder and core references for Web API.… Continue reading Implement an OAuth 2.0 Authorization Server using OWIN OAuth middleware on ASP.NET web API.