I want to know what's the best way using the Razor syntax to determine the relative pat开发者_StackOverflow中文版h to the ClientBin folder from within an Area's View.
Thank you, Stephen
The problem was solved by luck, I had been using the first multi-line expression, then by chance went back to the second one.. Has nothing to do with the mapping of the file, or where it's running from
<div>
@{
com.patten.root.Helpers.Silverlight.SilverlightHost("/ClientBin/jounce.xap");
}
</div>
<div>
@com.patten.root.Helpers.Silverlight.SilverlightHost("/ClientBin/jounce.xap");
</div>
精彩评论