locked
in what kind of scenario people use Odata RRS feed

  • Question

  • User264732274 posted

    please give me some real life scenario where Odata gives advantage.

    thanks

    Tuesday, August 2, 2016 8:44 AM

Answers

  • User36583972 posted

    Hi sudip_inn,

    OData (Open Data Protocol) is a standardized protocol for creating and consuming data APIs through regular HTTP requests and REST. It is the “ODBC of the Web” and provides a standard solution for very common Web API patterns.

    As far as I know, OData has the following advantages.

    1. OData is an open protocol started by Microsoft is based on Rest Services so we can get a data base on the URL.

    2. It support various protocols like http,atom,pub and also support JSON format.

    3. OData is known for it’s powerful query capabilities. OData supports IQueryable so that you can decide on the client side on how to filter the data that the service provides. So you do not have to implement various actions or use query parameters to provide filtered data.

    Supporting OData Query Options in ASP.NET Web API 2:

    http://www.asp.net/web-api/overview/odata-support-in-aspnet-web-api/supporting-odata-query-options

    4. It is very light weight so the interaction between client and server will be fast compared to web service and other technologies.

    The following links for your reference.

    What is OData? ADVANTAGES AND DISADVANTAGES:

    https://sandippatilprogrammer.wordpress.com/2013/12/03/what-is-odata-advantages-and-disadvantages/

    ASP.NET Web API feat. OData:

    https://chsakell.com/2015/04/04/asp-net-web-api-feat-odata/

    Best Regards,

    Yohann Lu

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 3, 2016 2:30 AM
  • User36583972 posted

    Hi  sudip_inn,

    tell me few sample situation where people use ODATA with web api. thanks

    As far as I know, ODATA is a special kind of REST where we can query data uniformly from a URL. The client sends these parameters in the query string of the request URI. I think this is the most used scenario.

    Supporting OData Query Options in ASP.NET Web API 2:

    http://www.asp.net/web-api/overview/odata-support-in-aspnet-web-api/supporting-odata-query-options

    Best Regards,

    Yohann Lu

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, August 6, 2016 5:36 AM

All replies

  • User36583972 posted

    Hi sudip_inn,

    OData (Open Data Protocol) is a standardized protocol for creating and consuming data APIs through regular HTTP requests and REST. It is the “ODBC of the Web” and provides a standard solution for very common Web API patterns.

    As far as I know, OData has the following advantages.

    1. OData is an open protocol started by Microsoft is based on Rest Services so we can get a data base on the URL.

    2. It support various protocols like http,atom,pub and also support JSON format.

    3. OData is known for it’s powerful query capabilities. OData supports IQueryable so that you can decide on the client side on how to filter the data that the service provides. So you do not have to implement various actions or use query parameters to provide filtered data.

    Supporting OData Query Options in ASP.NET Web API 2:

    http://www.asp.net/web-api/overview/odata-support-in-aspnet-web-api/supporting-odata-query-options

    4. It is very light weight so the interaction between client and server will be fast compared to web service and other technologies.

    The following links for your reference.

    What is OData? ADVANTAGES AND DISADVANTAGES:

    https://sandippatilprogrammer.wordpress.com/2013/12/03/what-is-odata-advantages-and-disadvantages/

    ASP.NET Web API feat. OData:

    https://chsakell.com/2015/04/04/asp-net-web-api-feat-odata/

    Best Regards,

    Yohann Lu

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 3, 2016 2:30 AM
  • User264732274 posted

    tell me few sample situation where people use ODATA with web api. thanks

    Wednesday, August 3, 2016 9:41 AM
  • User36583972 posted

    Hi  sudip_inn,

    tell me few sample situation where people use ODATA with web api. thanks

    As far as I know, ODATA is a special kind of REST where we can query data uniformly from a URL. The client sends these parameters in the query string of the request URI. I think this is the most used scenario.

    Supporting OData Query Options in ASP.NET Web API 2:

    http://www.asp.net/web-api/overview/odata-support-in-aspnet-web-api/supporting-odata-query-options

    Best Regards,

    Yohann Lu

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, August 6, 2016 5:36 AM