Git Product home page Git Product logo

mongodata_csharp's Introduction

MongOData_Csharp

Disclaimer: This repository is part of a university project paper with the title Feasibility of an OData Interface on a NoSQL database using the example of a MongoDB. If interested, you can contact me and I will provide you with the complete documentation of my research.

Also checkout the other respository linked to the research: https://github.com/memmelma/MongOData_NodeJS

Setup

Clone this repo and open it with Visual Studio 15 Enterprise or higher:

git clone https://github.com/memmelma/MongOData_Csharp.git

It is also required to install a mongoDb instance and provide the connection information (collection name, database name, connection url) in the controller classes. Information regarding the installation and setup process of the mongoDB can be found here: https://www.mongodb.com/

ProjectOneEF

Attempt to implement an OData interface on a MongoDB using the Entity Framework. Due to a lack of support, the solution is currently not working properly and therefore can be ignored!

ProjectTwoNoEF

Attempt to implement an OData interface on a MongoDB using the C# and .NET MongoDB Driver provided by MongoDB Inc. under http://mongodb.github.io/mongo-csharp-driver/2.2/getting_started/installation/ .

In this solution two attempts are made with one lacking performance (currently reading the whole mongoDb collection instead of applying the query correctly) and with the other missing functionality (failing to apply the query and always materializing the whole collection with completely ignoring filters and such).

Used packages

All packages are available via NuGet.

Microsoft.AspNet.OData

Version: v7.0.0-beta4 This package contains everything you need to create OData v4.0 endpoints using ASP.NET Web API and to support OData query syntax for your web APIs.

Microsoft.OData.Core

Version: v7.4.3 Classes to serialize, deserialize and validate OData JSON payloads. Supports OData v4 only. Enables construction of OData services and clients.

Microsoft.OData.Edm

Version: v5.6.0 Classes to represent, construct, parse, serialize and validate entity data models. Supports OData v4 only.ย 

MongoDB.Driver

Version: v2.6.1 Official .NET driver for MongoDB. - MongoDB C# and .NET Driver for connecting and using MongoDB istances

MongoDB.Bson

Version: v2.6.1 MongoDB's Official Bson Library. - Handling BSON format returned by MongoDB

mongodata_csharp's People

Contributors

memmelma 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.