Nowadays comunication between applications is an active topic with daily usage and a large amount of pratical appliances. While developing an app in witch I had to consume an OData I found out that combining Linq with my code made this operation pretty easy.
The algorithm to consume OData starts with adding a service reference to Visual Studio:
After adding the service reference in which you define the uri to the service, we start building our code.
In your code the algorithm is the following:
Easy and simple.
Example code
That’s it.
Thank you,
Rui Machado
rpmachado.wordpress.com
Ed Price - MSFT edited Revision 5. Comment: tag
Richard Mueller edited Revision 3. Comment: Replaced "rgb(255, 192, 0)" with "gold" in HTML to restore the color
Richard Mueller edited Revision 2. Comment: Modified title casing, removed (en-US) from title
Carsten Siemens edited Revision 4. Comment: fixed typo
good job