ASP.NET & MVC
How IIS Process ASP.NET Request:
HTTP.SYS -- > Application Pool --> Worker Process To Load ISAPI --> HTTPRuntime Object to Process the request via HTTPModule and HTTP handler. After that, the ASP.NET Page LifeCycle events start.
HTTP.SYS -- > Application Pool --> Worker Process To Load ISAPI --> HTTPRuntime Object to Process the request via HTTPModule and HTTP handler. After that, the ASP.NET Page LifeCycle events start.
Enterprise Library 6.0 Logging Application Block
Unit Testing
OWIN and Katana
AccessToken RefreshToken
RefreshToken , RefreshToken
OpenID Connect
Tokens
Token lifetimes configuration
To add identity management to a web app by using Azure AD B2C, use OpenID Connect instead of OAuth 2.0.
OpenID extends OAuth 2.0, it also enables apps to securely acquire access tokens. You can use access_tokens to access resources that are secured by an authorization server. We recommend OpenID Connect if you're building a web application that is hosted on a server and accessed through a browser. If you want to add identity management to your mobile or desktop applications by using Azure AD B2C, you should use OAuth 2.0 rather than OpenID Connect.
Azure AD B2C extends the standard OpenID Connect protocol to do more than simple authentication and authorization. It introduces the user flow parameter, which enables you to use OpenID Connect to add user experiences--such as sign-up, sign-in, and profile management--to your app. Here, we show you how to use OpenID Connect and user flows to implement each of these experiences in your web applications. We'll also show you how to get access tokens for accessing web APIs.
When we develop token based authentication using refresh token, then we use OpenID/OAuth.
In the response body. We need to pass access token to authenticate the resource. If access token expired then we need to pass refresh token to get the fresh access token .
URL: http://localhost:50353/token
- Method: POST
- Body: refresh_token = c4c8a27f-807f-46fd-b502-f2c5557c59b4
- Body: grant_type = refresh_token
OWIN
https://www.tektutorialshub.com/asp-net/asp-net-identity-tutorial-owin-setup/#what-is-owin
MVC TDD
Asp.net Identity
OpenID Connect:
No comments:
Post a Comment