This sample was created to depict DataGrid CRUD operation in SQL server database using Dapper in a Blazor server-side application.
- 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 theBugTrackerDatabase
property.
- Open
Dapper.CRUD
path in command prompt. - Run
dotnet run
. - Open https://locahost:5001 to see the application.