Skip to main content
net10.0net8.0net9.0

An adapter for using the Fluent UI Blazor DataGrid with OData Client.

Published
Aug 9, 2026
2mo ago
Total Downloads
29.5K
29,487

Install

dotnet add package Microsoft.FluentUI.AspNetCore.Components.DataGrid.ODataAdapter --version 5.0.0-rc.5-26219.1
ProductVersions
.NET
net10.0net8.0net9.0

README

About

Use this package if the data you want to display in the FluentDataGrid (component in the Microsoft.FluentUI.AspNetCore.Components library) comes from Microsoft.OData.Client.

Microsoft OData Client library's DataServiceContext gives you a DataServiceQuery property for each resource in your OData service endpoint. Simply supply this as the grid's Items parameter:

@inject DataServiceContext MyServiceContext

<FluentDataGrid Items="@MyServiceContext.People">
    ...
</FluentDataGrid>

You may also use any DataServiceQuery-supported LINQ operator to filter the data before passing it:

@inject DataServiceContext MyServiceContext

<FluentDataGrid Items="@MyServiceContext.Documents.Where(d => d.CategoryId == currentCategoryId)">
    ...
</FluentDataGrid>

The FluentDataGrid recognizes DataServiceQuery-supplied IQueryable instances and knows how to resolve queries asynchronously for efficiency.

Installation

Install the package by running the command:

dotnet add package Microsoft.FluentUI.AspNetCore.Components.DataGrid.ODataAdapter

Usage

In your Program.cs file you need to add the following:

builder.Services.AddDataGridODataAdapter();

Support

The Microsoft Fluent UI Blazor library is an open source project and is not an official part of ASP.NET Core, which means it’s not officially supported and isn’t committed to ship updates as part of any official .NET updates. Like with most other open source projects, support is offered on a best effort basis through the GitHub repository only.

Changes from Previous Version

No structural changes between v5.0.0-rc.4-26180.1 and v5.0.0-rc.5-26219.1.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.