Database Reference
In-Depth Information
Record Navigation in WCF Data Services
Before you finish this chapter, let's talk a few more minutes about the WCF Data Service you built
and how you can use that to navigate through records. Record navigation is one of the things that really
gets me excited about WCF Data Services. Let's dive right in.
If your project is still running, stop the project and open the Solution Explorer and navigate to the
data service. For simplicity, you'll do this right from the solution. Right mouse click the data service and
select View in Browser. The service will fire up and what you see is a REST (Representational State
Transfer) based service on top of your relational database, a mere XML representation of the service and
the entities exposed via the service, shown in Figure 6-16. You see the entities listed because you set the
entity set rights to ALL. If you were to go back to the code a few pages back where you set the entity set
rights, and comment those lines out, you would not see the entities listed (Docs, TechGeoInfoes, and
Users).
Figure 6-16. Viewing the WCF Data Service via REST
Search WWH ::




Custom Search