What's new in OData: $compute

Поділитися
Вставка
  • Опубліковано 21 лип 2024
  • In this session, we are joined by Hassan who will help walk us through using a brand new capability in OData.NET which is $compute. We will discuss not only what OData is and how to get started, but how the new $compute feature will blow your mind!
    00:00 - Who is Hassan?
    02:28 - What is OData?
    04:00 - New features in OData: $compute
    05:10 - Querying with OData in ASP.NET Core
    12:30 - Entity Data Models in OData
    16:40 - $compute with OData
    23:30 - substring with $compute and OData
    25:00 - Next open-source projects with OData
    28:45 - Wrap-up
    🙋‍♀️🙋‍♂️ Get your questions answered on the Microsoft Q&A for .NET: aka.ms/dotnet-qa
    🏫 Learn C#, F#, and .NET with free self-guided learning from Microsoft Learn: aka.ms/learndotnet
    #DotNet #odata
  • Наука та технологія

КОМЕНТАРІ • 41

  • @nocgod
    @nocgod 2 роки тому +4

    I just love how Hassan is super enthusiastic about OData, his vibes are a better selling point than the tech :D

  • @crack8160
    @crack8160 2 роки тому +8

    if you want to quickly select the link, while in browser, just press alt+d it and it will select whole URL. Works in File Explorer as well if you want to grab current path or navigate to address bar

  • @muhammadaminualiyu8937
    @muhammadaminualiyu8937 2 роки тому +2

    You just want to hear Hassan speak whenever he's Liv. Love you guys

  • @claybowser
    @claybowser 2 роки тому +2

    i love how transparent this presentation is. thank you James and Hassan.

  • @obinnaokafor6252
    @obinnaokafor6252 2 роки тому +3

    I love this so much. Especially the projection = compute

  • @aaen9417
    @aaen9417 2 роки тому +1

    hey I used to sit on the office next to Hassan's in MSFT. He is a cool dude

  • @VoroninPavel
    @VoroninPavel 2 роки тому +6

    More docs, please. Lot more!

    • @warrenbuckley3267
      @warrenbuckley3267 2 роки тому +2

      That's one thing that bugs me about using odata is the lack of updated documentation...

    • @filiphajek4103
      @filiphajek4103 2 роки тому +3

      Yea .. OData is such a great thing but no docs .. i mean how hard can in be to add/update docs?
      I am only using OData because i spent large amount of time playing with it to get full potencial of it
      When i am googling for something I always find out that its already deprecated even in their links from github repo .. i have ended up many times browsing their code to find my problem
      I get it that OData is still in development .. new features, breaking changes etc .. but updated docs would be really great for all of us who wants to use OData

    • @SteinarHerland
      @SteinarHerland 2 роки тому +2

      YES! More docs
      Most of the demos / videos show extremely simple scenarios where "I have something IQueryable", or even worse: "I have EntityFramework which..." - - Sort of like the Windows Forms demos in 2002 where a lot of super-excited PMs all showed a DataGrid with editable rows over and over again, but then left you hanging when it came to the slightly harder things.

  • @fieryscorpion
    @fieryscorpion 2 роки тому +2

    Very cool stuff!
    Loved Hassan's energy!

  • @shofyansky
    @shofyansky 2 роки тому +1

    A lot of fun, thank hasan. You are passionate person

  • @YaSiRaRaFaTdoTNet
    @YaSiRaRaFaTdoTNet 2 роки тому

    both of you are always enjoyable, thanks for the session!

  • @joaomachado9105
    @joaomachado9105 Рік тому

    been using Odata a lot at my companies api's really nice to see the developers exited about it too :)

  • @asereware
    @asereware 2 роки тому +1

    Simplemente ¡hermoso! ¡Gracias!

  • @igorilyichyov
    @igorilyichyov 2 роки тому +1

    Thank you Hassan!

  • @Snag78
    @Snag78 Рік тому

    This is amazing👊

  • @TheCameltotem
    @TheCameltotem 2 роки тому +1

    Hassan is great!

  • @davestorm6718
    @davestorm6718 2 роки тому +1

    Sweet!

  • @paulward8087
    @paulward8087 2 роки тому +2

    When people ask me what OData is that know .Net I tell them ...
    "LinQ over REST" ... when they don't know .Net I explain it like "secure db queries over REST".
    It's really hard to properly explain it though.

    • @chaouanabil3087
      @chaouanabil3087 2 роки тому +1

      Yes, it is, this is why last time i said that in query capabilities i think Odata is more rich than GraphQL. in Tooling (cross techs and language) and community adoption graphQL is better. and this is where OData-Neo will shine!

  • @YaSiRaRaFaTdoTNet
    @YaSiRaRaFaTdoTNet 2 роки тому

    @Hassan Habib, where can we learn more about the concept of 28:00 lake house or substrate?

  • @sodiqyekeen7345
    @sodiqyekeen7345 2 роки тому +1

    It's really cool 😎

  • @-Chris_
    @-Chris_ 2 роки тому +3

    If I use EnableQueryFeatures() is there a performance downside (when not using everything)? Or would it be better to enable one by one if needed

    • @HassanHabib
      @HassanHabib 2 роки тому +2

      No performance downside.

  • @cissemy
    @cissemy 2 роки тому +1

    Thanks

  • @barwalgayatri4655
    @barwalgayatri4655 2 роки тому

    Wow very impressive

  •  2 роки тому

    Really cool man!

  • @olamidejames7968
    @olamidejames7968 2 роки тому

    Can I use OData Compute in .Net 5?

  • @maacpiash
    @maacpiash 2 роки тому +3

    Can we use OData with minimal APIs?

    • @HassanHabib
      @HassanHabib 2 роки тому +1

      Unfortunately OData is not supported in minimal APIs

  • @bhawnadeshmukh6568
    @bhawnadeshmukh6568 2 роки тому

    Hi Team
    Need to know proper way to write mstest unit test cases for odata controllers
    Please help

  • @TheCameltotem
    @TheCameltotem 2 роки тому +1

    "Hey Frontend, you need an new endpoint for this?" Nah fam we got this. Backend out of job :( /s

  • @MiningForPies
    @MiningForPies 2 роки тому +1

    Is odata a first class supported app yet or still in development?

    • @HassanHabib
      @HassanHabib 2 роки тому

      Supported and running in production in some of the biggest enterprise-level systems around the world.

    • @MiningForPies
      @MiningForPies 2 роки тому

      @@HassanHabib really? Do you have any testimonials?

  • @gabrielcor
    @gabrielcor 2 роки тому +6

    Really liked you did the demo in Visual Studio (not VsCode). Thanks!

  • @PeriMCS
    @PeriMCS 2 роки тому

    Instead of offloading my db server I make it do more stuff. I dont like it. I want frontend do it. Also odata makes it easy for frontend devs kill db. You cant execute any possibile query and expect good performance.

    • @willinton06
      @willinton06 2 роки тому

      Well, if you want the work on the client then make it happen on the client, but having the option is great, any server side dynamic query system (this, GraphQL) suffers from the same issue, the server does more work, but depending on what you need this is great

    • @osman3404
      @osman3404 2 роки тому +1

      I would say ANY API can allow clients to kill the db and not just oData APIs. At the end it comes down to APIs general design principles and protecting backend serves from unruly requests

    • @MiningForPies
      @MiningForPies 2 роки тому

      @@osman3404 I dunno, it’s hard enough to stop back end devs writing crap entity framework code and bringing SQL down with then adding yet another obfuscation layer on top of that.