Posts

Showing posts from March, 2018

Dapper

Dapper I helped work on a side project to help introduce new people to Azure here (basically how to take a web app + API app + SQL DB and get it into the cloud):  https://github.com/catenn/ToDoList I am interested in Dapper because it's a very fast, lightweight micro-ORM.  It makes life a lot easier for coding.  While it doesn't have the extensive features of Entity Framework, it's quick and easy to learn and to implement. I wanted to show you all the difference in a file using ADO.NET, then I converted the full file to use Dapper. Both of these are working, if you want to download the project linked above you can try out each and run them through the debugger to see how they work. Also you can get Dapper here: https://github.com/StackExchange/Dapper ADO.NET version  using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Web; using ToDoListDataAPI.Models; using System.Configuration; usin