I’m considering the scenario where an MVC view would pass the model to a Silverlight application (to display preferably as a modal form), which in turn would send back the updated model to the view before submitting. Is this at all possible?
Share
To talk from Asp.net to silverlight you can use params:
See this or this
I don’t think the Silverlight control/app should be posting the page (causing a refresh/reload) Silverlight is perfect for a nice async experience. But anyway, you could maybe invoke a Javascript function from silverlight and then in your JS do a postback. See this
I would recommend something like WCF Data Services, It allows you to expose any IQueryable objects through a service, then you can use Linq to consume it and entity objects are automatically created in visual studio so that you can update or delete objects if you’re exposing a database.
You could maybe send something like user ID (model Id) from asp.net to silverlight with a param, then silverlight can call a wcf data service to pull the actual user. After processing it can then push/edit/delete that object again through the WCF data service. You can get up to speed with WCF quickly.
Hope that was helpful!?