Using MVC3/Razor where would I put images that were specific to one view?
I had thought to put it in the /views/home folder and then reference it with the following line inside /views/home/index.cshtml, but I’m not getting it to resolve.
<a href="@Url.Content("rawchart.PNG")" target="_blank" style="float:right;"><img src="@Url.Content("rawchart.PNG")" style="max-width: 128px; max-height: 64px;" title="click to view in a new window or tab" /></a>
(so that you see my intent)
Is this a dumb way of doing this? Should I just have it in /content/images instead?
You could place them in:
and then: