Giter Club home page Giter Club logo

winkit's Introduction

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.

winkit's People

Contributors

kingcean avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

franciskoo

winkit's Issues

其他问题

目前微软的Windows 应用 SDK已经发布了1.2版本,最新的1.2版本已经添加了IL裁剪支持。您个人或者是您的团队已经将爱奇艺Winui3版本升级到Windows 应用 SDK 1.2版本,未来您或您的团队升级新版本是能否添加IL裁剪支持,一定程度上删减掉那些没有使用到的库,缩减安装包的大小呢?
还有一个问题想请教您一下,WebView2内嵌的网页是如何使用Windows 11风格圆角的滚动条,而不是默认直角的滚动条呢?
而且您的应用是自包含.net 框架,未来有机会能升级到.net7 版本呢?

其他问题

之前关注到您开发了爱奇艺Winui3的版本,并提交到了Microsoft Store商店,感觉您开发的应用非常棒。在使用过程中发现部分页面使用了webview2控件,在页面发生跳转时,如果跳转到没有webview2页面的控件时,可以清晰的从任务管理器中看到webview2进程被杀死了,想问一下您这一过程是如何实现的,有相应的API文档吗?

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.