Skip to content
This repository was archived by the owner on Mar 31, 2023. It is now read-only.
This repository was archived by the owner on Mar 31, 2023. It is now read-only.

Project: Graph SDK Batching improvement #47

@svrooij

Description

@svrooij

Project name

Batching improvements in the Graph SDK SvRooij.Graph.Batching

Description

The Graph SDK has support for Batching, which is a great idea when you are doing a lot of requests to Graph. By batching requests you can achieve much higher throughput.

GraphServiceClient extension to help with Batching

The batch implementation in the GraphServiceClient feels incomplete, by default the GraphServiceClient let's you combine up to 20 requests before throwing an exception. By using this extension you can combine "unlimited" requests and have this extension automatically splits up the requests in multiple batches. While staying very close to the original implementation.

For now this is just an additional nuget package, if a lot of people like it I might create a pr to have this included in the actual client.

After a lot of positive responses and this issue this code is now integrated in the Microsoft.Graph.Core started from version 3.0.1, which is in turn used by Microsoft.Graph version 5.0.1

Useful resources

In this project everybody can check-out the following resources to use themself

Watch the video

Repo URL

https://github.com/svrooij/msgraph-sdk-dotnet-batching/

Team members

svrooij

Metadata

Metadata

Assignees

No one assigned

    Labels

    hackHackathon project submitted by participants

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions