Giter Club home page Giter Club logo

ef-core-security's Introduction

EF Core Security (Maintained by DevExpress)

About

This project allows you to secure a CRUD access to data in applications based on Entity Framework Core (EF Core). With EF Core Security you can grant and deny entity-level, object-level and member-level permissions for authenticated users.

Installing EF Core Security

In Visual Studio, you can use the GitHub Extension for VisualStudio to clone this repository.

Most of required external assemblies are loaded from NuGet (Microsoft.EntityFrameworkCore and others). Other external assemblies are located in the EFCoreSecurity/dependencies folder.

Getting Started

The following demos and examples for the following use-cases are available in this repositiory.

OData Service

The OData service demo is published at SecurityODataService. The service is protected. To read data from this it, use 'Admin'/'Admin' username and password to login as an administrator, or 'John'/'John' to login as restricted user. You can inspect this demo in details or create your own application to read and modify its data. See the following links:

The OData service demo souce is available at Demo ODataService.

DevExtreme Application

The DevExtreme application demo is published at DevExtremeClient. At the logon screen, use 'Admin'/'Admin' username and password to login as an administrator, or 'John'/'John' to login as restricted user. This application is based on the published OData service and allows you to read and modify its data. Client-server application includes DevExtreme client application and OData service on the server side. See the EFCoreSecurityDemos/EFCoreSecurityDevExtremeDemo example to learn how build it locally.

.NET OData Client

The .NET C# Console demo example demonstrates how to access the OData service from C# code.

Android OData Client

The Android demo example demonstrates how to access the OData service from the Android application.

Direct Access to the Entity Framework DBContext

The .NET C# Console demo example demonstrates how to use the EF DBContext directly.

Wiki

Learn more about this project in our wiki.

ef-core-security's People

Contributors

tikhomirovp avatar antonshabunindx avatar konstantinbelyakov avatar ignatovdan avatar thegreyt avatar

Watchers

Edmund Huang 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.