Generating an OData Proxy

,

To generate the proxies for the eBay OData service, right-click the project node in the Visual Studio Solution Explorer and select Add Service Reference. The Add Service Reference is displayed, allowing you to enter the OData service URL (see Figure 27.4).

Image

FIGURE 27.4 Add Service Reference dialog is used to generate the OData service proxies.


Tip

Changing the namespace of the generated service proxy and entity classes can be achieved by selecting Show All Files in the Visual Studio Solution Explorer and expanding the Service Reference node. Change the namespace by setting the Custom Tool Namespace property in the properties of the Reference.datasvcmap file using the Visual Studio properties pane.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.183.152