All Projects → nandotech → VSNancyDemo

nandotech / VSNancyDemo

Licence: other
A small demo web app (api) on .NET Core, NancyFX & Dapper

Programming Languages

C#
18002 projects
HTML
75241 projects

Projects that are alternatives of or similar to VSNancyDemo

Nancy
Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono
Stars: ✭ 7,170 (+42076.47%)
Mutual labels:  nancyfx, nancy
PeregrineDb
CRUD Extensions for Dapper.Net
Stars: ✭ 24 (+41.18%)
Mutual labels:  dapper
Dotnetbook
.NET Platform Architecture book (English, Chinese, Russian)
Stars: ✭ 1,763 (+10270.59%)
Mutual labels:  coreclr
APICorePayLots
Web API designed in Asp.NET Core 3.1, using Dapper and Entity Framework Core, Repository Pattern, Identity
Stars: ✭ 13 (-23.53%)
Mutual labels:  dapper
Coreclr
CoreCLR is the runtime for .NET Core. It includes the garbage collector, JIT compiler, primitive data types and low-level classes.
Stars: ✭ 12,610 (+74076.47%)
Mutual labels:  coreclr
dapper-tutorial-cn
Dapper 教程中文翻译版
Stars: ✭ 25 (+47.06%)
Mutual labels:  dapper
postgresql-dotnet-core
ASP.NET Core 3.1 Web Application using PostgreSQL with Entity Framework
Stars: ✭ 78 (+358.82%)
Mutual labels:  coreclr
Dapper.Oracle
Oracle support for Dapper Micro ORM.
Stars: ✭ 97 (+470.59%)
Mutual labels:  dapper
LearnDapp
🥛分享区块链应用开发实践代码,最新更新在微信公众号「区块链瓦工」
Stars: ✭ 34 (+100%)
Mutual labels:  dapper
flepper
Flepper is a library to aid in database interaction. 🐸
Stars: ✭ 60 (+252.94%)
Mutual labels:  dapper
Banana
🍌 The collection of CRUD helpers for Dapper.
Stars: ✭ 61 (+258.82%)
Mutual labels:  dapper
DataAbstractions.Dapper
A light abstraction around Dapper and Dapper.Contrib that also maintains the behavior IDbConnection.
Stars: ✭ 37 (+117.65%)
Mutual labels:  dapper
skywalking-python
The Python agent for Apache SkyWalking
Stars: ✭ 152 (+794.12%)
Mutual labels:  dapper
Peachpie
PeachPie - the PHP compiler and runtime for .NET and .NET Core
Stars: ✭ 1,945 (+11341.18%)
Mutual labels:  coreclr
1974
Curso 1974 - Criando APIs com ASP.NET Core 2.0 e Dapper
Stars: ✭ 44 (+158.82%)
Mutual labels:  dapper
Corefx
This repo is used for servicing PR's for .NET Core 2.1 and 3.1. Please visit us at https://github.com/dotnet/runtime
Stars: ✭ 17,924 (+105335.29%)
Mutual labels:  coreclr
profiler-api
The portable version of JetBrains profiler API for .NET Framework / .NET Core / .NET / .NET Standard / Mono
Stars: ✭ 21 (+23.53%)
Mutual labels:  coreclr
Dapper.AmbientContext
Ambient context implementation for Dapper.NET
Stars: ✭ 31 (+82.35%)
Mutual labels:  dapper
EFSqlTranslator
A standalone linq to sql translator that can be used with EF and Dapper.
Stars: ✭ 51 (+200%)
Mutual labels:  dapper
Trace-Dapper.NET-Source-Code
Trace Dapper.NET Source Code
Stars: ✭ 46 (+170.59%)
Mutual labels:  dapper

NancyFX 2.0 barneyrubble

Running on ASP.NET Core (Kestrel) with Dapper for data access

Building an Awesome API with .NET Core-Nancy-Dapper

Repo is fairly basic with HomeModule and DispoModule that return a "greeting" from appsettings.json and the other that utilizes Dapper for data access, showing how to implement a POST that inserts an object to the database and GET requests to retrieve data.

  • Modules are to Nancy as Controllers are to ASP.NET
  • For more information, read my blog post on this project
  • One thing: in latest update I've deleted IDbConnectionProvider, you can kinda skip over that piece and check the sample code here. I think this is much cleaner.

Ready to load and run in Visual Studio with .sln file

You may also open and edit/debug using Visual Studio Code, just ignore the Visual Studio .sln file and open the inner folder.

For more details, see my blog post @ http://blog.nandotech.com/post/2016-10-25-nancyfx-webapi-dapper/

Thanks & Credits

First and foremost, thanks & credit to the NancyFX team of developers for building an awesome framework.

Also thanks to the awesome community that was always around to chime in when I had a question.

and lastly, non-Nancy team member but awesome community member:


Credits to http://talkingdotnet.com's blog post @ http://www.talkingdotnet.com/use-dapper-orm-with-asp-net-core/ for help in getting set up. I used some of their info there to help guide me.

Plans to use this alongside some other ASP.NET WebAPI's and perhaps use for some profiling tasks (EF vs Dapper, Nancy vs ASP.NET both on Kestrel, etc).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].