What is the difference between “@Scripts.Render” and “<script>”? [duplicate]
问题 This question already has answers here : Why use @Scripts.Render(“~/bundles/jquery”) (2 answers) Closed 6 years ago . I want to know about the difference between @Scripts.Render("~/something.js") and <script type="text/javascript" src="/something.js"></script> . Yes, I've already searched about this subject, but with no success. I think if @Scripts.Render exists isn't by chance. More details What I'm meaning is: when I should use one or other and why. 回答1: Scripts.Render is used for bundling,