(MVC) MVC (2018)

<<назад _Layout.vbhtml (Contoso University).

   1:  <!DOCTYPE html>
   2:  <html>
   3:  <head>
   4:      <meta charset="utf-8" />
   5:      <meta name="viewport" content="width=device-width, initial-scale=1.0">
   6:      <title>@ViewBag.Title - My ASP.NET Application</title>
   7:      @Styles.Render("~/Content/css")
   8:      @Scripts.Render("~/bundles/modernizr")
   9:  </head>
  10:  <body>
  11:      <div class="navbar navbar-inverse navbar-fixed-top">
  12:          <div class="container">
  13:              <div class="navbar-header">
  14:                  <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
  15:                      <span class="icon-bar"></span>
  16:                      <span class="icon-bar"></span>
  17:                      <span class="icon-bar"></span>
  18:                  </button>
  19:                  @Html.ActionLink("Application name", "Index", "Home", New With { .area = "" }, New With { .class = "navbar-brand" })
  20:              </div>
  21:              <div class="navbar-collapse collapse">
  22:                  <ul class="nav navbar-nav">
  23:                      <li>@Html.ActionLink("Home", "Index", "Home")</li>
  24:                      <li>@Html.ActionLink("About", "About", "Home")</li>
  25:                      <li>@Html.ActionLink("Contact", "Contact", "Home")</li>
  26:                  </ul>
  27:              </div>
  28:          </div>
  29:      </div>
  30:      <div class="container body-content">
  31:          @RenderBody()
  32:          <hr />
  33:          <footer>
  34:              <p>&copy; @DateTime.Now.Year - My ASP.NET Application</p>
  35:          </footer>
  36:      </div>
  37:   
  38:      @Scripts.Render("~/bundles/jquery")
  39:      @Scripts.Render("~/bundles/bootstrap")
  40:      @RenderSection("scripts", required:=False)
  41:  </body>
  42:  </html>


Comments ( )
<00>  <01>  <02>  <03>  <04>  <05>  <06>  <07>  <08>  <09>  <10>  <11>  <12>  <13>  <14>  <15>  <16>  <17>  <18>  <19>  <20>  <21>  <22>  <23
Link to this page: //www.vb-net.com/EF-missing-FAQ/Code/_Layout.vbhtml.htm
<SITEMAP>  <MVC>  <ASP>  <NET>  <DATA>  <KIOSK>  <FLEX>  <SQL>  <NOTES>  <LINUX>  <MONO>  <FREEWARE>  <DOCS>  <ENG>  <CHAT ME>  <ABOUT ME>  < THANKS ME>