While creating a Silverlight application in Visual Studio 2010, after providing the application name, IDE asked for whether you want to host the Silverlight application in a new ASP.NET web site or not. If you select the “Ok” button , Visual Studio will create a ASP.NET Site to host the corresponding Silverlight Application. So whenever you will run the Silverlight application, ASP.NET site will automatically host the Silverlight file But suppose you have an existing Silverlight Application and you want to host it in a ASP.NET site in a similar way that New Silverlight project does or you want to add a new Silverlight application which will automatically host inside your current asp.net web site? Do you know we can easily achieve this using “Property Pages” of an ASP.NET Application. Let’s explore how we can do that.
In this blog post I am going to explain how we can use Silverlight Chart Control with SharePoint 2010. SharePoint 2010 supports fully integration with Silverlight application either of Silverlight In Browser or as a Silverlight OOB ( Out Of Browser) applications. In this blog post, I will be using one Share Point List to read the data using SharePoint Client Object Model (OM) and display them using Silverlight Chart Control inside SharePoint as a SharePoint Out of the box Silverlight Web Parts. This is also an example High Touch Integration of Silverlight and Share Point 2010.
SharePoint 2010 supports fully integration with Silverlight application either of Silverlight In Browser or as a Silverlight OOB ( Out Of Browser) aplications. In this blog post I am going to explain about High Touch Integration with Silverlight and Sharepoint using SharePoint 2010 Client Object Model (OM) with one example of Silverlight Task Lists for Sharepoint. I have also explained how to host a Silverlight web parts with in SharePoint using Sharepoint Out-Of-the-Box Silverlight Web Parts. As per my understanding below is the over all diagram for a High Touch Integration of Silverlight and SharePoint 2010
From the above diagram we can see, that we have SharePoint Client Object Model (OM) and Services, Which can be consumed by a Silverlight Application. Object model and services is not only for Silverlight, you can use them for different client applications.
I have just encountered one issue while start the debugging one of my Silverlight 4 application. Silverlight 4.0 with VS 2010 was working fine few weeks back, but today when I started debugging to test one of my application, I got the error message as below.
I thought, It may be the problem with the Silverlight version which is selected for this project. I checked the Silvelight “Target Silverlight Version” from the Project Properties. But the Silvelight version was correct.
In this article I have demonstrated how we can integrate a Silverlight Application with SharePoint 2010. I have used Bing Maps Control for Silverlight as example.
I have used below development Environment for this application
1. Visual Studio 2010 Ultimate Edition
2. SharePoint 2010 Server
3. Silverlight 4.0 Toolkit
4. Bing Maps Silverlight Control SDK
Before starting development you have to install “Bing Maps Silverlight Control SDK” as a prerequisite. You can download the same from “Bing Maps Silverlight Control SDK” .Once you are done with the setup of Development environment the first thing you need to do is to register and create an account at https://www.bingmapsportal.com/ . Once you registered on bing maps portal, you need to provide below information to get an access key for using Bing Maps. Continue reading