Giter Club home page Giter Club logo

microsoft / cosmosdb-solution-accelerator-cosmosdb-helper Goto Github PK

View Code? Open in Web Editor NEW
13.0 5.0 7.0 1.61 MB

This Solution Accelerator is Azure Cosmos DB Helper library that enables developers who want to use Azure Cosmos DB without any serious learning curve. Developers can leverage Azure Cosmos DB SQL / Mongo APIs with the same development experiences with LINQ.

Home Page: https://www.nuget.org/packages?q=EAE.Solutions.CosmosDB

License: MIT License

C# 93.54% Dockerfile 4.66% Mustache 1.80%
mongodb cosmosdb cosmosdbsdk azure-cosmos-db azure-cosmosdb

cosmosdb-solution-accelerator-cosmosdb-helper's Introduction

GitHubBanner

About this repository

Welcome to Azure CosmosDB Solution Accelerator (Azure CosmosDB Helper).

Azure CosmosDB Helper supports MongoDB API and SQL Core API interface with LINQ statements.
It abstracts how data can be persisted and retrived from Database by implmenting Repository Pattern.
In Architecture perspective, it decouples the data access layer from business layer so developers can their Business Entities CRUD Operations through much streightforward way without learning specific query languages for each APIs.

Once your business logic has been built with LINQ statements with Azure CosmosDB Helper, you may easily switch two APIs (SQL and Mongo) with very few code changes.

Version History

  • v 0.7.3 Update

    • Access Azure CosmosDB with Managed Identity

      • EAE.Solutions.CosmosDB.Security.ManagedIdentity has been released
        • Get rid of secrets from your configuration or source code
        • Retireve Azure Cosmos DB Connection Strings with Managed Identity (DocumentDB Account Contributor Role)
        • Persistent Azure resource access with single Managed Identity
  • v 0.7 Update

    • Change feed processor for Azure CosmosDB Core SQL API

      • Microsoft.Solutions.CosmosDB.SQL.ChangeFeed (ChangeFeed Processor Helper) has been released
        • Automatic lease container creation
        • Multiple process host support for parallel execution in Microservice deployment
        • Delegate process template for detecting ChangeSets.
    • Improved performance with optimized Connection Object

    • CosmosEntityBase Name has been changed to CosmosDBEntityBase

      • Azure CosmosDB Core SQL API EF Core Deprecated
        • Azure CosmosDB Provider - EF Core wrapper has been deprecated
          (EF Core Framework's performance issue)
  • v 0.6 First Release

    • Azure CosmosDB Core SQL API support

      • Azure CosmosDB SDK wrapper
      • Azure CosmosDB Provider - EF Core wrapper
    • Azure CosmosDB MongoDB SQL API Support

      • MongoDB.Driver wrapper

Prerequisites

This source code has been built with .NET framework 5.0 (but you may build it with .NET Core 3.1 as well)

Purpose

CosmosDB Solution Accelerator helps developers who wants to use CosmosDB with SIMPLE and DEVELOPMENT CONSISTENCY.
Developers can easily switch CosmosDB APIs between SQL API and Mongo API with little changes

How to Work with it

You may start with HandsOn page.
All of libraries can be referenced though Nuget packages to your project.

License

Copyright (c) Microsoft Corporation

All rights reserved.

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

cosmosdb-solution-accelerator-cosmosdb-helper's People

Contributors

dependabot[bot] avatar dongbumlee avatar microsoftopensource avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cosmosdb-solution-accelerator-cosmosdb-helper's Issues

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.