P
P
Pan Propan2015-10-06 10:15:09
C++ / C#
Pan Propan, 2015-10-06 10:15:09

What is the correct way to access OData services from Visual Studio 2015?

Recently, 1s has switched to OData support. From the browser everything is fine.
A link of type localhost/elzakaz/odata/standard.odata/Catalog_%D0...
returns an XML description of the Reviewers catalog.
For the sake of interest, I want to try the same thing using Visual Studio 2015. Added Service Reference. Visual Studio created the classes itself. I've been reading tutorials for two days, but I still don't understand how to properly "pull" services.
db130152018b4861b02d3b9b8cee1e62.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
unchase, 2019-10-18
@unchase

You can generate client code from a file (or URI) with metadata ( $metadata ) using the Visual Studio extension - Unchase OData Connected Service . Installation and configuration instructions - How to .
Then call methods from the client class in the standard way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question