microsoftgraph / microsoftgraph/msgraph-sdk-dotnet

Adding the Microsoft.Graph nuget package slows down Radzen Data grid on the first data sort by 100x

Open
#2,966 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs: Attention :wave:
Dominant language
C#
Stars
789
Forks
264
Avg merge
15h 17m
Merged PRs (30d)
3

Description

Describe the bug

When using the Radzen Data grid and clicking on a column to sort, when the Microsoft.Graph page (version 5.84.0) is included in the blazor app, the first click on a data sort column takes about 10 seconds. After that, it takes less than 1 second to sort.

Expected behavior

When I click on the column to sort it, it should immediately sort and re-render.

How to reproduce
  1. Create an app with a Radzen data grid using Microsoft.Graph in the project (doesn't have to be used)

  2. load some data into the grid

  3. click on a column to sort.

The sort will take like 10 seconds.

SDK Version

5.84.0

Latest version known to work for scenario above?

unkown

Known Workarounds

remove Microsoft.Graph from the UI project, and copy all the graph models needed into local code.

Debug output
Click to expand log ```
</details>


### Configuration

OS:  Windows 11
Arch: x65
Browser:  Google Chrome v138.0.7204.184 


### Other information

Link to the problem description with Radzen:  

https://forum.radzen.com/t/filtering-and-sorting-taking-longer-than-expected-on-first-use/16702/12
https://forum.radzen.com/t/slow-response-in-multi-select-radzendropdown/16952


Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The payload names no repository files, tests, or entry points. First reproduce the delay in a Blazor app using Microsoft.Graph 5.84.0 and a Radzen data grid, then compare the first and later sorts; done means the initial column sort completes without the reported ~10-second delay.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.