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.jsonto set the database connection in theBugTrackerDatabaseproperty.
- Open
Dapper.CRUDpath in command prompt. - Run
dotnet run. - Open https://locahost:5001 to see the application.