6 - Token Generation using Owin - ASP.NET Web API - Urdu

Опубликовано: 11 Апрель 2026
на канале: Learn In Urdu
11,115
88

This Tutorial is in Urdu/Hindi Language.

In this video, we'll learn how you can integrate OWIN middle ware in ASP.NET WEB API project and how we can generate token.

Step 1: Create Project - ASP.NET MVC - (Empty) - Web API Project

Step 2: Add following NuGet Packages one by one
Install-package Microsoft.AspNet.WebApi.Owin -Version 5.2.3
Install-package Microsoft.Owin.Host.SystemWeb -Version 3.1.0
Install-package Microsoft.AspNet.Identity.Owin -Version 2.2.1

Step 3: Create oAuthAppProvider class

Step 4: Create Startup class

Note: If you face any issue on following line (Apply at namespace level instead of class level)
[assembly: OwinStartup(typeof(oAuthTest.Startup))]

Step 5: Generating token by using Postman as client

Source Code
https://github.com/bilalshahzad139/as...

For More Videos, Please check YouTube channel
   / learninurdu139