kala-tamin Any samples of MVC2 + Silverlight 4? Visual Studio 2010 does not organize the files correctly


Any samples of MVC2 + Silverlight 4? Visual Studio 2010 does not organize the files correctly



I create a SL4 Application and then I say I want to create a MVC site in addition. But instead of create a VIEW and putting showing the SL4 object there and creating a empty MVC type Default page... it just creates a SilverlightApplicationTestPage.aspx in the root!

Does anyone know any small sample code anywhere that shows how to set up various .xap files within a MVC app. It should be simple. (I want to put the MVC2 app into Azure once I get this working)




How to design configurable MVC panels?

1:



How to get Controller name, and data available in a base Controller?
The test page that Visual Studio creates for your Silverlight app just contains some javascript to determine if SL is installed or not as well as a div that references your xap file.


Anonymous Type syntax in ASP.NET MVC
You could put the javascript at the top of your MVC page and put the div wherever you want on that page to embed the silverlight object..
can hidden variables value be accessed in a controller in MVC


var javascript to asp.net MVC model


72 out of 100 based on 57 user ratings 182 reviews