HTML Helper to Display the Logged In User's DisplayName
It is pretty common to display the logged-in user in various places in a website. We can create an HTML helper to display the logged-in user’s name.
More …It is pretty common to display the logged-in user in various places in a website. We can create an HTML helper to display the logged-in user’s name.
More …The easiest way to display all the claims that was issued to the current user is to query the Identity property of the IPrincipal interface.
More …It is quite common that we sometimes need to run the application without all the identity server redirection dance at development time. It is possible to assign common identity to all the users running the application locally as follows.
More …In the previous blog [post], I described how a 302 Redirect
is issued to the browser when the user requests a page that requires a logged in user. In this post, let’s see how the actual login process works in default MVC template.
In a previous post, I described how does a user is represented inside a DotNet application using Thread.CurentPrinciple
property. In this post and next, I will go through the default visual studio 2013 MVC template to see how the identity is set for an MVC application.