I recently switched from MVC2 to MVC3 and my images are no longer rendering correctly on the development server.
Here is the code:
<img src="@Url.Content("/content/images/sign_up.png")" height="50" width="550" />
Please note I use 'img' instead of 'image in the actual code but I could not post that.
When I look at the rendered HTML it says
<img src="/content/images/sign_up.png" height="50" width="550" />
When I try the URL localhost/content/images/sign_up.png the image shows up correctly.
Am I doing something wrong with MVC3, or maybe I need to make an adjustment to the IIS server?