All Projects → fpetru → Webapimongodb

fpetru / Webapimongodb

Using MongoDB with ASP.NET Web API and ASP.NET Core to perform CRUD operations and build a NotebookApp

Projects that are alternatives of or similar to Webapimongodb

Hexagonal Architecture Acerola
An Hexagonal Architecture service template with DDD, CQRS, TDD and SOLID using .NET Core 2.0. All small features are testable and could be mocked. Adapters could be mocked or exchanged.
Stars: ✭ 293 (+78.66%)
Mutual labels:  webapi, mongodb, dotnet-core
Jsonapidotnetcore
JSON:API Framework for ASP.NET Core
Stars: ✭ 465 (+183.54%)
Mutual labels:  webapi, aspnet-core, dotnet-core
Event Sourcing Jambo
An Hexagonal Architecture with DDD + Aggregates + Event Sourcing using .NET Core, Kafka e MongoDB (Blog Engine)
Stars: ✭ 159 (-3.05%)
Mutual labels:  webapi, mongodb, dotnet-core
User.api
集成网关、身份认证、Token授权、微服务、.netcore等的基于CQRS的微服务开发框架示例
Stars: ✭ 109 (-33.54%)
Mutual labels:  webapi, mongodb
Aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
Stars: ✭ 10,061 (+6034.76%)
Mutual labels:  aspnet-core, dotnet-core
Cronscheduler.aspnetcore
Cron Scheduler for AspNetCore 2.x/3.x or DotNetCore 2.x/3.x Self-hosted
Stars: ✭ 100 (-39.02%)
Mutual labels:  aspnet-core, dotnet-core
Aspnet Core Clean Arch
It is a clean architecture project template which is based on hexagonal-architecture principles built with .Net core.
Stars: ✭ 60 (-63.41%)
Mutual labels:  mongodb, dotnet-core
Grandnode
Open source, headless, multi-tenant eCommerce platform built with .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, Vue.js.
Stars: ✭ 1,768 (+978.05%)
Mutual labels:  mongodb, dotnet-core
Comboost
ComBoost是一个领域驱动的快速开发框架
Stars: ✭ 111 (-32.32%)
Mutual labels:  aspnet-core, dotnet-core
Eventflow.example
DDD+CQRS+Event-sourcing examples using EventFlow following CQRS-ES architecture. It is configured with RabbitMQ, MongoDB(Snapshot store), PostgreSQL(Read store), EventStore(GES). It's targeted to .Net Core 2.2 and include docker compose file.
Stars: ✭ 131 (-20.12%)
Mutual labels:  mongodb, dotnet-core
Ben.demystifier
High performance understanding for stack traces (Make error logs more productive)
Stars: ✭ 2,142 (+1206.1%)
Mutual labels:  aspnet-core, dotnet-core
Bankflix
Aplicação que simula um banco digital, contendo a área do cliente e administrativa, permitindo depósitos e transferências entre contas do mesmo banco. | Application that simulates a digital bank, containing the customer and administrative areas, allowing deposits and transfers between accounts of the same bank.
Stars: ✭ 82 (-50%)
Mutual labels:  mongodb, dotnet-core
Aspnetcore Practice
ASP.NET Core 專案練習集合,ASP.NET Core Practice Projects
Stars: ✭ 80 (-51.22%)
Mutual labels:  aspnet-core, dotnet-core
Raygun4net
Raygun provider for .NET
Stars: ✭ 107 (-34.76%)
Mutual labels:  webapi, aspnet-core
Event Sourcing Castanha
An Event Sourcing service template with DDD, TDD and SOLID. It has High Cohesion and Loose Coupling, it's a good start for your next Microservice application.
Stars: ✭ 68 (-58.54%)
Mutual labels:  webapi, mongodb
Giraffe
Giraffe is an F# micro web framework for building rich web applications. It has been heavily inspired and is similar to Suave, but has been specifically designed with ASP.NET Core in mind and can be plugged into the ASP.NET Core pipeline via middleware. Giraffe applications are composed of so called HttpHandler functions which can be thought of a mixture of Suave's WebParts and ASP.NET Core's middleware.
Stars: ✭ 1,703 (+938.41%)
Mutual labels:  aspnet-core, dotnet-core
Dotnetlabs
.NET Labs -- Show Me the Tips and Tricks and Code
Stars: ✭ 135 (-17.68%)
Mutual labels:  webapi, dotnet-core
Supersafebank
Sample Event Sourcing implementation with .NET Core
Stars: ✭ 142 (-13.41%)
Mutual labels:  mongodb, dotnet-core
Awesome Microservices Netcore
💎 A collection of awesome training series, articles, videos, books, courses, sample projects, and tools for Microservices in .NET Core
Stars: ✭ 865 (+427.44%)
Mutual labels:  aspnet-core, dotnet-core
Aspnetauthorizationworkshop
A workshop for moving through the various new pieces in ASP.NET Core Authorization
Stars: ✭ 1,046 (+537.8%)
Mutual labels:  aspnet-core, dotnet-core

Example: Using MongoDB .NET Driver with .NET Core WebAPI

Walkthrough blog post - http://qappdesign.com/using-mongodb-with-net-core-webapi

This is the first blog post, presenting the backend associated with a sample application: NotebookApp.

It is a quick walkthrough on using .NET Core 2 to build a Web API layer using MongoDB .NET Driver version 2. All the calls to the database are asynchronous.

Topics Covered

  • Technology stack
  • Configuration model
  • Options model
  • Dependency injection
  • MongoDb – Installation and configuration using MongoDB C# Driver v.2
  • Make a full ASP.NET WebApi project, connected async to MongoDB
  • Allowing Cross Domain Calls (CORS)
  • Update entire MongoDB documents
  • Exception management

How to run it

  • Download or clone this project locally
  • Install the tools - see here more details: http://qappdesign.com/using-mongodb-with-net-core-webapi
  • Run first the MongoDB server (details in the article)
  • Then in the console, within the current project folder, run the next two commands: dotnet restore, and then dotnet run
  • The ASP.NET Core WebAPI will run using IIS (default settings: http://localhost:5000)
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].