Working with JavaScript in Silverlight 4.0

In this post I will show you calling of Javascript function from Silverlight. It is very simple and straight forward. Assume you have a JavaScript function on aspx page as below, SilverlightTestPage.aspx You want to call this Javascript function on page load of the Silverlight page then you will have to add namespace And in…… Continue reading Working with JavaScript in Silverlight 4.0

Smooth Streaming in Silverlight

This post is walkthrough on enabling smooth streaming of media over IIS and then stream over Silverlight client. There are very good documentation available on IIS official site to have a better understanding of smooth streaming. So I am not touching theoretical concept behind smooth streaming in this post. However I have shown steps by…… Continue reading Smooth Streaming in Silverlight

Upload large file of size more than 5 MB from Silverlight to Server location using WCF

This post is based on post File Upload from Silverlight using WCF. So please read it before proceeding with this post Long back I wrote post on uploading a File from Silverlight to server location using WCF. I found my own post quiet useful. However, when I reread and implemented the code, I mentioned in…… Continue reading Upload large file of size more than 5 MB from Silverlight to Server location using WCF

Consuming ODATA in Silverlight 4.0

ODATA is everywhere and so is Silverlight. In this post, I will show, How ODATA can be consumed in Silverlight? “ OData URL I will be using NorthWind OData URL. You can access that URL from below link. http://services.odata.org/Northwind/Northwind.svc/ We are going to fetch Customers table from NorthWind DataBase. Create Project and Add Service Reference…… Continue reading Consuming ODATA in Silverlight 4.0

AutoCompleteBox in Silverlight 4.0 with DataSource from SQL Server

In my last article AutoCompleteBox in Silverlight 4.0 , Data Source for Autocomplete Box was an IEnumerable list. In this post we will work with a column value of table from SQL Server as Data Source for Autocomplete Box. Our approach would be 1. Create WCF Service 2. Exposed data 3. Consume in Silverlight 4.…… Continue reading AutoCompleteBox in Silverlight 4.0 with DataSource from SQL Server