Skip to content

Instantly share code, notes, and snippets.


craigholdheide/_Layout.cshtml Secret

Created Aug 24, 2019
What would you like to do?
<!DOCTYPE html>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
@Html.ActionLink("Application name", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>@Html.ActionLink("Home", "Index", "Home")</li>
<div class="container body-content">
<hr />
<p>&copy; @DateTime.Now.Year - My ASP.NET Application</p>
@RenderSection("scripts", required: false)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment