Skip to content

namofun/uikit

Repository files navigation

Project Substrate

This is a project for ASP.NET Core module design standard, designed as Satellite Site first. With this module, you can build your module application faster.

  • : Commonly used classes and extension methods
  • : Several abstractions for Entity Framework Core
  • : ASP.NET Core Library with modern module design
  • : Static web assets to use in /wwwroot/lib
  • : Identity abstractions based on Microsoft.Extensions.Identity.Store
  • : Default User Identity Module based on IdentityEFCore
  • : Azure Identity / Storage / Monitor integration
  • : Host Builder Extensions for Host projects
  • : Utilities and tools for integrated tests

UI components

This repository contains the following components:

  • Extended Controller functions
  • DataTables renderer
  • Basic Razor views
  • Tag Helpers
  • Menu contribution
  • Validation attributes
  • ClaimsPrincipal helpers

Application Modules

This section provide guides to write Application Modules.

  • /Models/SomeModel.cs
  • /Services/SomeService.cs
  • /Apis/SomeApiController.cs
  • /Controllers/SomeActivityController.cs
  • /Dashboards/SomePanelController.cs
  • /Components/SomeComponent/SomeComponentViewComponent.cs
  • /Components/SomeComponent/_ViewImports.cshtml
  • /Components/SomeComponent/SomeView.cshtml
  • /Views/_ViewImports.cshtml
  • /Views/SomeActivity/SomeAction.cshtml
  • /Panels/SomePanel/_ViewImports.cshtml
  • /Panels/SomePanel/SomeAction.cshtml

There are several rules to follow.

  • The controllers in Controllers should [Area("ThisModuleName")]
  • The controllers in Dashboards should [Area("Dashboard")]
  • The controllers in Apis should [Area("Api")]

Contributor