Dapper - dotnet core package a day - 6
Overview
This post is part of a series, dotnet core package a day, where for 15 days I will be posting an overview of an awesome OSS dotnet package that already has support for dotnet core. In this post we will cover Dapper.
Dapper is a NuGet library that you can add in to your project that will extend your IDbConnection interface.
Dapper is a micro ORM for the dotnet framework, it's lightweight and easy to use. At the time of writing it has 2,708,300 downloads on NuGet. The publish of it's v1.50.0 release to NuGet on the 1st July 2016 added support for dotnet core (.net standard 1.3).
Dapper development is led by Nick Craver and Marc Gravell but it is very much a community project, it currently has 100+ contributors.
I am using Dapper quite heavily as part of a migration to dotnet core at Open Energy Market and having used it on a number of other projects too I have always appreciated it's simplicity, I'm super happy it's already available on dotnet core.
What the community thinks
Massive thanks to Nick, Marc, and the wider community.
Links
Alternatives
Alternatives include PetaPoco but it does not currently have dotnet core support. In fact, I don't think any of the other ORM libraries we would consider micro (Massive, Simple.Data etc) currently have dotnet core support either.
If you don't want to keep checking back for more posts in this series but do want an email in your inbox then you can subscribe to the mailing list below.