GitHunt

Blazor DataGrid CRUD application using Dapper

This sample was created to depict DataGrid CRUD operation in SQL server database using Dapper in a Blazor server-side application.

Install

  • Create a database named BugTracker on your SQL server, and run scripts in SQL script directory to create a Bugs table.
  • Edit appsettings.json to set the database connection in the BugTrackerDatabase property.

Run the application

  • Open Dapper.CRUD path in command prompt.
  • Run dotnet run.
  • Open https://locahost:5001 to see the application.

Blog Reference

Languages

C#38.3%HTML37.2%CSS24.5%

Contributors

Created November 18, 2020
Updated November 16, 2025