Getting started with OData and Cosmos DB in ASP.NET Core

Поділитися
Вставка
  • Опубліковано 14 жов 2024

КОМЕНТАРІ • 16

  • @Turbosmurfen73
    @Turbosmurfen73 4 роки тому +3

    OOooodata, loooove it!

  • @thechrisgate
    @thechrisgate 4 роки тому +1

    You are always coming easy stuff !...........Nice

  • @martinb.r2180
    @martinb.r2180 4 роки тому +1

    OData is amazing

  • @theumairtahir1
    @theumairtahir1 3 роки тому

    Can we use OData with dapper using SQL client? Does it filter from the db or it filters from the query resulted from the db?

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

    Can we add these filters while preparing the query then to hit the Db? in video we have some small static data. consider Huge data where we have lakhs of record. As we pass a filter if it fetch all data then add filters its an issue

  • @Cristian-ek7xy
    @Cristian-ek7xy 4 роки тому +1

    Can you query child entities in a single request?

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

      Yes, you can do for instance $expand=Teachers($filter=name eq 'John')

  • @amirwork8003
    @amirwork8003 4 роки тому

    UseMvc doesn't exist now, and IEndpointRouteBuilder doesn't contain a definition for EnableDependencyInjection or Expand().Count().Select()...., so how to configure OData now ?

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

      If you mean for .NET Core 3.0+ these updates should be taken care of with the next OData release on the second quarter of 2020

    • @amirwork8003
      @amirwork8003 4 роки тому

      ​@@HassanHabib
      Ohhh god, so we cannot use OData till April 2020 at least ??!!

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

      @@amirwork8003 unfortunately not, sorry.

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

      @@amirwork8003 you can try with the beta version today, here's how: ua-cam.com/video/VGnLZ6Fxnx8/v-deo.html

  • @FilipCordas
    @FilipCordas 4 роки тому

    Problem with this was the unsupported stuff with IQueriable usually only basic things work advanced things don't.

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

      You can actually use IQueryable if you use EF to access the entity framework, here's a full tutorial with example code:
      devblogs.microsoft.com/odata/integrating-cosmos-db-with-odata-part-2/

  • @0xded53c6
    @0xded53c6 4 роки тому

    Why if you work on Microsoft, you are using Google Chrome. I thought new Edge should be the default at Microsoft for all (web) Dev teams.

    • @HassanHabib
      @HassanHabib 4 роки тому +5

      Microsoft today has a very open culture actually, if you go on our campus you will see people walking with all kinds of different technologies, we have people that even use Apple products such as Macbook Pro or iPads, you will see people using Lenovo, HP, even on the software side, you will see people using competitive products like Rider and Node.js.
      What I'm trying to say is that if you work at Microsoft today you can use whatever software/hardware you like, our cloud platform is open to all kinds of technologies also, Microsoft will let you use whatever technology you're comfortable with to get your tasks done, you'd love it here.