Database Reference
In-Depth Information
The question though, is how do you view the data that you really want to see. The answer is simple.
Specify an entity at the end of your URI, and you'll see data for that entity. For example, specify the
following URI to see data on the Users entity:
http://localhost:51176/TechBioDataService.svc/Users
Take care to get the case correct. Entity names are case sensitive. Specify users instead of Users , and
you'll get a “The webpage cannot be found” error message.
Tip Take time out now to mistype an entity name and see the resulting message. That way you'll more readily
recognize the problem when you make same mistake inadvertently. Sooner or later, you all make that mistake.
Disabling Internet Explorer's Feed Reading View
At this point you either get an XML representation of the data in the Users table, or the web page
shown in Figure 6-17. If it's the latter, then you need to go turn off the feed reading view in Internet
Explorer IE . That is because IE thinks that the data coming back is the type you would get in an RSS feed.
You can see in the message that the browser thinks you're trying to view an RSS feed.
Figure 6-17. RSS Feed Page
Search WWH ::




Custom Search