views:

16

answers:

1

Hi, 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 string - not preferred. Cheers

A: 

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.

Darin Dimitrov