Objective This article will explain how to call WCF 4.0 service hosted in IIS 7.5 in a Silverlight application. This article will explain the way to avoid cross domain problem also. Expected Output When user will click on + button a WCF service hosted on IIS will get called. As a input parameter to serviceContinueContinue reading “WCF 4.0 service consumed in Silverlight 4.0 avoiding cross domain problem”
Category Archives: Silververlight
Get an Image using WCF REST service
Objective This article will give a very simple and basic explanation of , how to fetch an image using WCF REST service. Step 1 Create a WCF application. To create a new application File -> New -> Web-> WCF Service Application.Remove all the default code created by WCF. Remove code from IService 1 interface andContinueContinue reading “Get an Image using WCF REST service”
Creating IPL Photo gallery using AccordionControl in Silverlight 3.0: Part #1
Objective This article will explain Basic use of Accordion control in Silverlight 3.0 Binding Accordion items with properties of entity class. Creating an Imagesource from Image URL provided. Background This article is first part of 3 or 4 parts IPL Photo Gallery series. In this article, I am reading image, team name and caption nameContinueContinue reading “Creating IPL Photo gallery using AccordionControl in Silverlight 3.0: Part #1”
Reading RSS feed in Silverlight 3.0
Objective This article is going to explain; how we can read RSS feeds in Silverlight 3.0. Expected output User will enter RSS URL in text box. On click of Fetch Feed button ; RSS items will get populated On Clear Search button click text box and list box will be cleared. So, let us startContinueContinue reading “Reading RSS feed in Silverlight 3.0”
LINQ to XML in SILVERLIGHT 3.0
Objective This article will explain how to use LINQ to XML to read data from a XML file and bind that to SILVERLIGHT 3.0 Data Grid. XML file will be read in a WCF service and WCF service will return a List to be bind in a Grid. Step 1 Create a SILVERLIGHT application. SelectContinueContinue reading “LINQ to XML in SILVERLIGHT 3.0”
Making Image Gray in SILVERLIGHT 3.0
Objective This article will show; how to make an Image Gray in SILVERLIGHT 3.0. This is a very basic article showing ; how to make an image gray in SILVERLIGHT. Follow the Steps Create a new SILVERLIGHT application. Design the XAML page Create two rows In first row put an Image using Image control. A.jpgContinueContinue reading “Making Image Gray in SILVERLIGHT 3.0”
Behavior in SILVERLIGHT 3.0
Objective This article will give a basic introduction of BEHAVIOR feature in SILVERLIGHT3.0. I will also walkthrough to create a custom behavior. What is Behavior in SILVERLIGHT 3? According to definition given in the product introduction of SILVERLIGHT3 A Behavior is in essence a reusable piece of interactivity that can be applied directly to userContinueContinue reading “Behavior in SILVERLIGHT 3.0”
Rich Text Box in Silver Light 4.0
Objective In this article, I am going to show how to work with Rich Text box in Silver Light 4.0. I will show how to inline buttons and image inside rich text box. How to make text box as read only. How to change font of selected text. I have created a basic Silver LightContinueContinue reading “Rich Text Box in Silver Light 4.0”
REST service on JSON Message format
Objective How to create REST service for JSON request and response format. How to create SilverLight Client, which will consume a REST service on JSON data format. How to POST data in JSON format from SilverLight client. Working explanation Here, I am trying to insert data in static list and fetch it back atContinueContinue reading “REST service on JSON Message format”
Introduction to Silver Light 3.0 Navigation
Objective In this article , I will show how to work with Silver Light Navigation framework. Create a Silver Light Application by selecting Silver Light application from project template. And follow below steps. Step 1 Adding references Add below references to Silver Light application. System.Windows.Control System.Windos.Control.Data System.Windows.Control.Navigation Step2 Adding namespaces Open MainPage.Xaml and add theContinueContinue reading “Introduction to Silver Light 3.0 Navigation”