khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Today, I’ll discuss and with @cwoodruff on the webinar.

Did you know OData was first dreamt up in 2007 and is still used today in services like , Office 365, and more?

Come check it out. Cheers :)

(grateful for boosts)

https://www.youtube.com/watch?v=QVrcHv-Tm4k

b4ux1t3,
@b4ux1t3@hachyderm.io avatar

@khalidabuhakmeh @cwoodruff you say 2007 like it was ages ago, but that's when I graduated high sch-- God dammit.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar
maartenballiauw, to dotnet
@maartenballiauw@mastodon.online avatar

We have a livestream coming up next year!

📺 Mastering OData: An In-Depth Developer’s Guide

🗣️ Speaker: @cwoodruff
🗓️ When: January 9th, 2024, 3 PM UTC
🤗 Open to all, welcome!
🎟️ More info: https://jb.gg/69rlcy

bytefish, to dotnet

I have written an article on using Kiota to generate an API Client for an ASP.NET Core OData Service. The article also shows how to use it in Blazor:
https://www.bytefish.de/blog/odata_openapi_kiota_client_generation.html

jab, to CSharp

Oh the joys of working with and

Here we got a class, in our regular controller functions it produces like we tell it to in our settings. However, in our non-base controller function it produces ... because, duck us?

Only on the expanded parts which are handled a little bit differently for efficiency, hense the need for the non-base controller function with odata.

Why, oh why didn't we do this with and something like or even ?

TimPurdum,

@jab in both Newtonsoft.json and System.Text.Json, there is a way to control this behavior via "options" or custom converters. If it's part of your framework it might be obscured, but I would look for ways to adjust json serialization settings.

jab,

@TimPurdum but we did. I’m not sure if it’s because we are also using asp.versioning on top of it all. Which we probably shouldn’t have done to be completely honest, because so far we only have one version and it’s looking like we might never expose this outside our own frontend.

We’ve handled it by parsing the JSON on the consumption side. Not in our client in-house package for OData in Typescript but directly where it is consumed. That’ll have to do for now.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines