Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Now that we have our menu in its own partial view, let's update it to display the signed-in user's username.
Every ASP.NET MVC view provides a User.Identity property that provides access to the identity of the currently authenticated user. The User.Identity property is of type System.Security.Principal.IIdentity, which contains a Name property. When using ASP.NET Identity, this prope...