I am fairly new to MVC and I have noticed a lot of inconsistencies with loading js files I have written and tried to load.
To start, here is how I have my website setup:
_Layout.cshtml (main page)
_MainMenu.cshtml (partial view)
I render my MainMenu in the body of Layout. All jquery scripts are loaded in the footer of layout (I read somewhere that was preferrable).
When I render a view, I load any specific scripts related to that content at the top of the view.
an mvc application.
Thank you for your input!