In MVC3 I can easily move the jQuery script tag to the bottom of the page “_Layout.vbhtml”
<script src="@Url.Content("~/Scripts/jquery-1.8.2.min.js")" type="text/javascript"></script>
However in the ASP.NET MVC3 when you create a Controller with an editor template, the scaffolding mechanism does a good amount of work adding files to the Views folder like Create.cshtml, Delete.cshtml, Details.cshtml, Edit.cshtml, and Index.cshtml etc… and they are strongly typed.
Inside those View files, script tags are inside the <body>, but how can I add those tags to the bottom of the page immediately before </body> tag?
What you are looking for is sections http://weblogs.asp.net/scottgu/archive/2010/12/30/asp-net-mvc-3-layouts-and-sections-with-razor.aspx
Add a section just above your
</body>tag.Then in your view you can define content that will appear in this section.