In a .NET MVC4 project how does @Styles.Render works?
I mean, in @Styles.Render("~/Content/css") which file is it calling?
I dont have a file or a folder called “css” inside my Content folder.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s calling the files included in that particular bundle which is declared inside the
BundleConfigclass in theApp_Startfolder.In that particular case The call to
@Styles.Render("~/Content/css")is calling “~/Content/site.css”.