%@ Page Language="VB" Inherits="System.Web.Mvc.ViewPage" %> <% If (Request.IsAuthenticated) Then %> Hola, <%: Html.ActionLink(User.Identity.Name, "Manage", "Account", routeValues:=Nothing, htmlAttributes:=New With {.class = "username", .title = "Manage" }) %>! <% Using Html.BeginForm("LogOff", "Account", FormMethod.Post, New With { .Id = "logoutForm" }) %> <%: Html.AntiForgeryToken() %> Cerrar sesión <% End Using %> <% Else %>