I agree with the answer from Chris, but seeing this is a specific ASP.NET MVC question it would be better to use either Razor syntax:
<link rel="icon" href="@Url.Content("~/content/favicon.ico")"/>
Or traditionally
<link rel="icon" href="<%= Url.Content("~/content/favicon.ico") %>"/>
rather than
<link rel="icon" href="http://www.mydomain.com/content/favicon.ico"/>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…