Custom MVC WebGrid Demo 1 · Server Code


<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>My Custom MVC WebGrid Demo (1st Iteration)</title>
        <!--link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" /-->
        <link rel="icon" href="/images/rsicon.ico">
        <meta name="viewport" content="width=device-width" />
        @Styles.Render("~/Content/css_webgriddemo1")
        @Scripts.Render("~/bundles/modernizr")
        @RenderSection("styles", required: false)
    </head>
    <body>
        <header>
            <div class="content-wrapper">
                <div class="float-left">
                    <p class="site-title">@Html.ActionLink("My Custom MVC WebGrid Demo (1st Iteration)", "Index", "WebGridDemo1")</p>
                </div>
                <div class="float-right">
                    <section id="login">
                        @*@Html.Partial("_LoginPartial")*@
                    </section>
                    <nav>
                        <ul id="menu">
                            <li>@Html.ActionLink("Adventure Works Products", "Index", "WebGridDemo1")</li>
                        </ul>
                    </nav>
                </div>
            </div>
        </header>
        <div id="body">
            @RenderSection("featured", required: false)
            <section class="content-wrapper main-content clear-fix">
                @RenderBody()
            </section>
        </div>
        <footer>
            <div class="content-wrapper">
                <div class="float-left">
                    <p>© @DateTime.Now.Year - My Custom MVC WebGrid Demo (1st Iteration)</p>
                </div>
            </div>
        </footer>

        @Scripts.Render("~/bundles/jquery")
        @RenderSection("scripts", required: false)
    </body>
</html>