New to Telerik UI for WPFStart a free 30-day trial

Creating the Client Application

Updated on Sep 24, 2025

Once you have created the Server Application, you may start developing the Client one.

To display the data from the WCF Data Service, create a new WPF application with a data source that is based on the service. Later in this walk-through, you will add data-bound controls to the application.

  1. Create a new WPF application.

  2. Generate the client code for a service of your choice. For this tutorial we are going to use the http://services.odata.org/Northwind/Northwind.svc service. Name the generated file "NorthwindEntities".

  3. Add a new class inside the project and replace its declaration with the one demonstrated in Example 1.

Example 1: Defining the context

C#

	public class MyNorthwindContext : NorthwindEntities
	{
		public MyNorthwindContext() : base(new Uri("http://services.odata.org/Northwind/Northwind.svc", UriKind.Absolute)){}
	}

WPF RadDataServiceDataSource Generated WCF Files

See Also

In this article
See Also
Not finding the help you need?
Contact Support