I'm using ASP.NET MVC and the Membership providers. How do I get the profile of a user in a view? any particular method to get it?
The template project out of the box access the username in this way:
<%= Html.Encode(Page.User.Identity.Name) %>
I'd like to have a similar way to access the profile data.