Step 1: Open Visual Studio 2010 and create a new Silverlight Application Uncheck the checkbox [ ] “Host the Silverlight application in a new Web site”. We don’t need to host Silverlight in a separate web app since SharePoint will be the host. Step 2: You can add the following code at MainPage.xaml for testing if you are new with Silverlight Build the Application and your Silverlight Application is ready at this stage Step 3: So, Develop your Silverlight application as per as your requirement. For Example: I developed a application like below. Let’s imagine this application is ready to deploy
Step 4: To Deploy Application in SharePoint Create Empty SharePoint Project (Run As Administrator)
Interested in mastering SharePoint Training? Enroll now for FREE demo on SharePoint Training.
Step 5: On the SharePoint site click the edit icon then the insert tab, select Web Part, and choose the Silverlight Web Part in the Media and Content category Click Add and in the Silverlight Web Part dialog enter the value from the Url field in the Elements.xml file. Configure Web Part to adjust size.The problem is the default size for the Silverlight Web Part is 400x300 but the application is bigger than 300. Now Your Silverlight application Deployment Done!
You liked the article?
Like : 0
Vote for difficulty
Current difficulty (Avg): Medium
1/15
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.
Stay Updated
Get stories of change makers and innovators from the startup ecosystem in your inbox