C# example web api

Saturday, December 28, 2024 11:57:27 AM
  • Posted: Monday, December 2, 2019 8:01 AM
  • 5
Hi,
I am used to rest api and c#  but I have never used ODATA v4 before.
I there someone friendly that could share some example code on how to use the ODATA interface from a C# app.

I set ut he service reference towards the odata inteface anv visual studio created all classes for me. But i do not get who to use that. And set ut the container.

regards
0
  • Posted: Monday, December 2, 2019 8:54 AM
  • Team
  • 153
Hi,
Do you need example in Net framework ?

Regads
Krzysztof
0
  • Posted: Monday, December 2, 2019 10:29 AM
  • 5
I have today a C# winform app that need to integrate to the webshop via wep api.

So some examplecode who to setup within a .net projekt for an app would be great.

I have followed this guide from microsoft.
https://docs.microsoft.com/en-us/aspnet/web-api/overview/odata-support-in-aspnet-web-api/odata-v3/calling-an-odata-service-from-a-net-client

But there is non info about token and security setup

Some code example would help me alot.
thx
0
  • Posted: Monday, December 2, 2019 10:36 AM
  • Team
  • 153
0
  • Posted: Monday, December 2, 2019 11:13 AM
  • 5
Thx a lot, exactly what i was looking for.!
0
back to top
Filters