@{ ViewBag.Title = "Starter"; ViewBag.pTitle = "Pages"; Layout = "~/Views/Shared/_Layout.cshtml"; } //Your Body contain @section scripts{ <script src="~/../assets/js/app.js"></script> }