Stream support in Odata V4

2019-05-06 22:07发布

What is the recommended way in handling file stream GET, POST AND DELETE operations. I got following link on how to do it but its for V3 version. While porting this solution to OData V4 Iran into bunch of issues which raised following questions.

  1. Is the Stream support is available in Odata V4?
  2. If Yes, How do I set HasStream property on IEdmEntityType. The IEdmModel.SetHasDefaultStream seems like deprecated now in V4.
  3. Is there any sample which explains how I can go ahead with enabling POST, GET for stream in OData V4 Service.

http://blogs.msdn.com/b/mrtechnocal/archive/2013/10/31/media-resource-support-for-odata-in-web-api.aspx

If this feature not yet built up in web apis yet do we have any future release plans for this?

-Samir

1条回答
孤傲高冷的网名
2楼-- · 2019-05-06 22:52
登录 后发表回答