i have an asp.net-mvc website and i want to merge in some functionality from a silverlight app. i could rewrite but for the time being i wanted to see if there is any clean way to “include” a few silverlight pages inside my mvc app.
what is the recommended way of doing this ?
The New Silverlight Application Wizard allows you to choose ASP.NET MVC as host application and it will setup the necessary parts:
All that you need is to embed the Silverlight application in any view:
You could also write a HTML helper allowing you to achieve this in a cleaner way.