<%@ Page Title="" Language="VB" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage(Of MvcApplication1.AccountValidation)" %> Guestbook <% If Request.IsAuthenticated Then %> Welcome <%: Page.User.Identity.Name %>! [ <%: Html.ActionLink("Log Off", "LogOff", "Account")%> ]

Guestbook

<%-- The following line works around an ASP.NET compiler warning --%> <%: ""%> <% Using Html.BeginForm()%> <%: Html.ValidationSummary(True) %>
Fields

<% End Using %>
<%: Html.ActionLink("Back to List", "Index") %>
<% Else %> [ <%: Html.ActionLink("Log On", "LogOn", "Account")%> ] <% End If %>