Getting started with GraphQL Subscriptions in .NET

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ต.ค. 2022
  • Hi everyone,
    I am Michael, and in this video, we will check out how we can implement GraphQL subscriptions in dotnet with Hot Chocolate. We will look at a couple of ways we can approach subscriptions. Join me for this first foray into the world of real-time data with GraphQL.
    Don't forget to comment, like, and subscribe ;)
    Please, if you like our project, give us a star on GitHub:
    github.com/ChilliCream/hotcho...
    Example: github.com/ChilliCream/hotcho...
    StrawberryShake version used in this video: www.nuget.org/packages/HotCho...
    Workshops:
    NDC Minnesota 2022 - bit.ly/ndc-minnesota
    NDC London 2023 - bit.ly/ndc-london-graphql
    Social Media:
    Follow me on GitHub: bit.ly/michaelGitHub
    Follow me on Twitter: bit.ly/michaelTwitter
    Connect on LinkedIn: bit.ly/michaelLinkedIn
    Web:
    chillicream.com
    #dotnet #graphql #subscriptions #hotchocolate

ความคิดเห็น • 17

  • @MrAnthonySteele

    In v13 you added support for SSE , but all the examples use Websockets. How do you use SSE with Hot Chocolate for subscriptions?

  • @user-vb1oi5gf8h

    It is awesome! Thank you!

  • @sranmajstorovic2935
    @sranmajstorovic2935 ปีที่แล้ว +2

    What would be the right way to subscribe on listening changes for one specific book? Subscription than should have argument? How to notify clients for specific book changes? Is that different topic?

  • @nowzarifarhad
    @nowzarifarhad ปีที่แล้ว

    Thanks for the great video. Quick question though on InMemorySubscription. This is not scalable right? if we have a k8s pod and make replication of it, then the connections can be duplicated right?

  • @romesupaila1864
    @romesupaila1864 ปีที่แล้ว

    how can do delete in GraphQl?

  • @Getao7325

    Will the Postgres Provider solve load balanced subscriptions? I have 2 AWS EC2 instances, and when events are returned, it's only to devices subscribed on the respective instance and not all. I'm hoping the Postgres Provider will solve this by events triggered by the database and then sending to all devices/instances subscribed. Thanks!

  • @normanaranez323
    @normanaranez323 ปีที่แล้ว +1

    Hi Michael, what if we have a lot of mutations. how we can make it not putting all your mutation code in just one file and put it on a separate file and extend to the mutation file. is that possible?

  • @Metalyga
    @Metalyga ปีที่แล้ว

    Can I use graphql-ws for queries and mutations?

  • @KiyanshKiya
    @KiyanshKiya ปีที่แล้ว

    how can I use streaming feature in queries. if my query is going to take lot of time, i want to stream data, rather than waiting for complete data to return.

  • @jesperchristensen8462
    @jesperchristensen8462 ปีที่แล้ว

    This doesnt compile on 13.0.5 and the documentation seems wroung, atleast for the SubscribeAsync. Mine complains atleast?