This should be near the bottom of _Layout.cshtml:
@Scripts.Render("~/bundles/jquery")
@RenderSection("scripts", required: false)
This should be in your child's view:
@section scripts {
@Scripts.Render("~/scripts/jquery.infinitescroll.js") // Or some other script
}
( jquery) , . script, jquery. , :
@section scripts {
@Scripts.Render("https://maps.googleapis.com/maps/api/js?key=&sensor=false")
<script src="~/scripts/google-maps-3-vs-1-0.js"></script>
<script>
Stuff here
</script>
}