Answer the question
In order to leave comments, you need to log in
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.
Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question