I'm a little bit new to ASP.Net MVC, I started to migrate from WebForm to MVC but I faced with an issue in addressing in JavaScript or CSS files.
Imagine I have a sample.css
file in which there is an address:
background: url("../image.jpg");
It works truly in WebForm since ..
in WebForm takes address a level back but it in MVC address contains of controller and action so ..
doesn't mean the same. Although it works sometimes.
How should I solve the matter? What is the right approach?