Skip to content

Latest commit

 

History

History
63 lines (51 loc) · 2.3 KB

README.md

File metadata and controls

63 lines (51 loc) · 2.3 KB

Smart Data Access with Dapper

(Presentation and code examples).

Sometimes ORMs can make you feel like you are losing the battle with complexity. Dapper (and other Micro ORMs like it) can free up your stack and increase productivity by breathing new life into good old IDbConnection. In this session I will drill down into the powerful simplicity of Dapper and show how, when combined with Domain Driven Design, this natty little class file can even liberate your old legacy code.

@DanielLarsenNZ is a Development Director at Spendvision. He trains and mentors Developers in Agile Software Development, Domain Driven Design and .NET.

Outline

  • Welcome
  • Today's presentation
  • Software design is a constant battle with complexity
  • About Dapper
  • 3 Helpers
  • How does it work?
  • Demo
  • In the stack - Dapper at work
  • My stack
  • The magic of ORMs
  • The pain of ORMs
  • Case study - The YTD sales report
  • Sales ERD
  • Demo
  • Falling back in love with SQL again
  • Getting Dapper into the stack
  • CQRS
  • Poor man's CQRS
  • Bounded context
  • Anti-corruption layer
  • Any ADO provider
  • Demo
  • Summary
  • Thank you
  • Sponsors

Install and run Code Samples

  1. Download and install an AdventureWorks database from http://msftdbprodsamples.codeplex.com/releases/view/93587
  2. Modify the web.config file connection strings, and optionally the test project app.config file as well.
  3. Compile and F5 to run in the browser.

References and links

History

License

http://opensource.org/licenses/MIT (see LICENSE.txt).