开发者

Silverlight ASP.MVC routes

how can I emulate stuff like <%=Url.Action("Action","Controller" ... where I am using Silverlight 4 as the client to ASP.MVC in say OpenReadAsync? Aside from passing it a Uri with the full path as a st开发者_StackOverflow社区ring - not preferred. Cheers


You can't. Those are two different applications and the Silverlight application knows nothing about the routes you could have set in your ASP.NET MVC application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜