Predefined File Templates for ASP.NET (VB)
This topic lists all predefined file templates for ASP.NET (VB) in Rider 2017.1. For more information about file templates, see Creating Files from Templates
Template | Details |
---|---|
MVC View Page with master page | MVC View Page with master page <%@ Page Title="$Title$" Language="VB" Inherits="System.Web.Mvc.ViewPage(Of $ModelType$)" MasterPageFile="$MasterPage$" %>
$CONTENT$
|
MVC View Page without master page | MVC View Page without master page <%@ Page Language="VB" Inherits="System.Web.Mvc.ViewPage(Of $ModelType$)" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>$Title$</title>
</head>
<body>
$END$
</body>
</html>
|
MVC View UserControl | MVC View UserControl <%@ Control Language="VB" Inherits="System.Web.Mvc.ViewUserControl(Of $ModelType$)" %>
$END$
|
Web form without master page | Web form without master page <%@ Page Language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>$Title$</title>
</head>
<body>
<form id="$form1$" runat="server">
<div>
$END$
</div>
</form>
</body>
</html>
|
Web form with master page | Web form with master page <%@ Page Title="$Title$" Language="VB" MasterPageFile="$MasterPage$" %>
$CONTENT$
|
Master page without base master page | Master page without base master page <%@ Master Language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<asp:ContentPlaceHolder id="$head$" runat="server">
$END$</asp:ContentPlaceHolder>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ContentPlaceHolder id="$ContentPlaceHolder1$" runat="server">
</asp:ContentPlaceHolder>
</div>
</form>
</body>
</html>
|
Master page with base master page | Master page with base master page <%@ Master Language="VB" MasterPageFile="$MasterPage$" %>
$CONTENT$
|
Web control | Web control <%@ Control Language="VB" ClassName="$ClassName$" %>
$END$
|
Last modified: 11 October 2017