Git Product home page Git Product logo

rdw100 / orm-dapper Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.79 MB

The ORM Dapper demonstration project was created using Visual Studio 2019 16.8.3, .NET 5, & Dapper 2.0.78. The objective is to demonstrate Dapper in a .NET 5 application using Unit of Work and Repository Patterns consuming Northwind data through Web API tested with Swagger.

C# 88.01% TSQL 11.99%
net-core-5 dapper-donet-core swagger csharp asp-net-core-web-api

orm-dapper's Introduction

ORM.Dapper

The ORM Dapper demonstration project was created using Visual Studio 2019 16.8.4, .NET 5, & Dapper 2.0.78. The objective is to demonstrate Dapper in a .NET 5 application using Unit of Work and Repository Patterns consuming Northwind data through Web API tested with Swagger.

Setup

Setup instructions to run this project are as follows:

  1. Open Project Download ORM.Dapper project and open it in Visual Studio 2019.

  2. Create Database This project consumes a Northwind database. A Northwind database was created in the default local database server instance, mssqllocaldb. To create this database in your chosen environment, follow run-and-execute Northwind script instructions from the NorthWind-Pubs Repo.

  3. Verify Connection A connection string is necessary to communicate with the database created above. This project places the connection in the appsettings.json file. Verify the connection in Visual Studio and make sure that it is pointing to your server. For example, this project uses the following local database connection:

    Server=(localdb)\\mssqllocaldb;Database=Northwind;Trusted_Connection=True;MultipleActiveResultSets=true

Demo

The animated gif below demonstrates application execution. Blazor Chart GIF

orm-dapper's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.