Giter Club home page Giter Club logo

NuScien 7

MIT Licensed

A framework with ACL and CMS built-in. It provide a way to build the project by let you only need focus on business logic itself. It contains both for client-side SDK and server-side service.

See sample and tutorials to get start. Following are the introduction for each project.

Core

NuGet package

.NET 7 .NET 6 .NET Framework 4.8 .NET Framework 4.6.1

NuScien.dll

The core library of NuScien project. It contains the foundation for ACL and business resource entity.

Following are the commonly used types.

  • BaseResourceEntity base class and its sub-classes: the shared model for DAL, BLL, Web API and GUI databinding.
  • OnPremisesResourceAccessClient class: used to authorize (OAuth 2.0) and to access core resources for server-side.
  • HttpResourceAccessClient class: used to authorize and access core resources for client-side.
  • HttpResourceEntityProvider<TEntity> base class: provide a way for client-side to access the entity or its collection in business.
  • HttpResourceAccessContext base class: one place for client-side to access all entity providers and core resources.

P.S.: Core resources mentioned above includes passport, groups, settings, CMS, etc. Authorization is based on OAuth 2.0 and powered by Trivial library.

OnPremises

NuGet package

.NET 7 .NET 6

NuScien.OnPremises.dll

On-premises library uses Entity Framework to implement the resource access provider and other data provider of the core library. It can be used as the core of one of the following scenarios.

  • On-premises server-side web API app.
  • Cloud web API services.
  • Admin client tools on-premises.
  • Windows service for special case.

Following are the commonly used types.

  • AccountDbSetProvider class: an implementation used for OnPremisesResourceAccessClient to power core resources management based on database for server-side.
  • OnPremisesResourceEntityProvider<TEntity> base class: provide a way for server-side business logic about a specific type of the resource entity.
  • OnPremisesResourceAccessContext base class: one place for server-side to access all entity providers and core resources.

Web

NuGet package

ASP.NET Core 6.0

NuScien.Web.dll

Web library includes a controller to core resources and a base controller for customized resource provider. It also contains an authentication handler and some and toolkits.

Following are the commonly used types.

  • ResourceAccessController class: an MVC web API controller for core resources.
  • ResourceEntityController<TProvider, TEntity> base class: an MVC web API controller to route the network transfer to OnPremisesResourceEntityProvider<TEntity> implementation.

Others

Project Description
UnitTest The unit tests.
SampleSite A simple Web API.

And the directory Sql is used to store SSMS project and TSQL files to create initialized tables and to do other useful things for database.

NuScien & Trivial's Projects

js icon js

NuScien Web Client

sample icon sample

The sample of NuScien platform usages.

trivial icon trivial

A set of powerful development kit: JSON, task management, numerals, chemistry, etc.

winkit icon winkit

A WinUI toolkit with visual controls and a local web app platform.

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.