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.
精彩评论