This blog provides show notes for our August 18, 2022, webinar, “Performing CRUD operations using Blazor and MongoDB.” The webinar was presented and hosted by Syncfusion developer Christopher K. If you missed it, or would like to watch it again, you can find it on our YouTube channel or embedded here.
The Q&A segment of the webinar is provided at the end of this blog post.
In this webinar, we learned to perform create, read, update, and delete (CRUD) operations using the Syncfusion Blazor DataGrid component and MongoDB as the database provider.
#region Get List of SavedUsers public async Task<List<AspNetUsers>> GetAllSavedUsersAsync() { return await _metricLogiranjeContext.AspNetUsers.AsQueryable().Where(x => x.Email != null).OrderBy(x => x.Email).ToListAsync(); ; } #endregion
Yes. You can do this in the newer versions of MongoDB. You need to include MongoDB.Driver.Linq namespace at the top like this:
using MongoDB.Driver.Linq;
Yes, you can get the sample application from this GitHub location.
Yes, we have sample code in the following GitHub location, and we also cover this topic in our documentation: