Data Access has been discontinued. Please refer to this page for more information.

Creating WCF Plain Service

This article is relevant to entity models that utilize the deprecated Visual Studio integration of Telerik Data Access. The current documentation of the Data Access framework is available here.

In this task you will learn how to create a WCF Plain Service by using the Service Wizard.

Creating WCF Plain Service

To create a new WCF Plain Service:

  1. Build your solution.
  2. Right-click the SofiaCarRentalDomainModel.rlinq and select Add Telerik Data Access Service....

  3. This will bring up the Service Wizard. The first page of the wizard is the Select Source and Output dialog. From the Select context drop-down select SofiaCarRentalDbContext. From the Host in Project drop-down select SilverlightOpenAccessIntegration. Check the Use Existing Project option and select SilverlightOpenAccessIntegration.

  4. Click Next to continue. The Select Service Type dialog appears. Select WCF Plain Service.

  5. Click Next to continue. In the Service Configuration dialog, set the Service Name to SofiaCarRentalWCFEndPointService. Select which entities from the grid below to be generated as part of the service. By default all entities are selected. Also you have the option to specify what CUD operations can be performed on the generated entities. Check all entities.

  6. Click Next to continue. In the Preview dialog, review all changes that will be done in your project.

  7. Click Finish to generate the service.

Testing the Plain Service

To test the plain service in a Web Browser, right-click on the .svc file and select View in Browser.