The Catch Block #31 - Dapper Helper Beginnings
Let's build a class that will generate parameterized SQL INSERT statements!
Let's build a class that will generate parameterized SQL INSERT statements!
Let's implement a base Dapper class in C# to make our Repositories more readable!
Let's make a "base" Dapper repository in ASP.NET Core, which can expose data access methods and log exceptions, in order to clean up our code.
More than four years ago, I published a post called Dapper vs Entity Framework vs ADO.NET Performance Benchmarking [https://exceptionnotfound.net/dapper-vs-entity-framework-vs-ado-net-performance-benchmarking/]. In that post, I determined that Dapper [https://github.com/StackExchange/Dapper] performed markedly better for queries against a SQL Server database than Entity Framework did, and
Let's implement Dapper in an ASP.NET 5.0 project, and see how it can help us access data quickly and without any icebergs!