Mvc icon indicating copy to clipboard operation
Mvc copied to clipboard

javascript in view folder (each view have one javascript) ASP.NET Core MVC 6

Open mukundabrt opened this issue 10 years ago • 2 comments

ASP.NET Core MVC 6 How to manage js file for each view. I have view specific javascript file and i dont want to place js file in script folder coz three are more than 100 views in my project. Is there any idea to place js file with views in view folder? or any idea ?

mukundabrt avatar Aug 20 '16 10:08 mukundabrt

I prefer different project structure instead of default ASP.NET MVC app. There is an Jimmy Bogard article and video. I'm simplified this a lot, you can find high-level ideas here.

sentyaev avatar Aug 21 '16 00:08 sentyaev

I'm in same boat as you are. But the provided links doesn't say how for "each view have one javascript". :-/

fletchsod-developer avatar Oct 13 '16 14:10 fletchsod-developer