/Elect

The collection of utilities, best practice and fluent method for .NET Core

Primary LanguageJavaScriptMIT LicenseMIT

Logo

Elect

Author Top Nguyen

Overview

Number of mini libraries to make faster develop .NET Core system.

  • .Net Core Utilities methods.
  • Save time to project setup and focus on Business Logic.
  • Up to date: Elect always up to date the last .NET Core stable version. All Elect modules publish in Nuget Package so easy for you update the library.
  • Almost library work well as cross platform, you can feel free to code on Windows or Mac.

Installation

All Elect modules publish in Nuget Package.

Usage

Elect have difference modules/libraries, each lib handle a 3rd library or focus utility for a field.

  • Elect.Core: Utitlies and Core of Ecosystem.

  • Dependency Injection

    • Elect.DI: Register service and implementation by Attributes, support scan assemblies in difference folders to register.
  • Data

    • Elect.Data.EF: Entity Framework by Unit of Work and Repository wrap pattern with Transaction support.
    • Elect.Data.IO
      • Physical: Support handle file, folder, image (resize, compress, dominant color).
  • Mapper

  • Web

    • Elect.Web: ASP Net Core utitlies, Beautiful paged collection API support.
    • Elect.Web.Middlewares: Useful middlewares for ASP NET Core project such as: measure processing time, minimy HTML, CSS, JS on response.
    • Elect.Web.Swagger: Extend of Swashbuckle, easier to setup and support more friendly UI, security API Document URI.
    • Elect.Web.DataTable: Server generate jQuery DataTable support paging server, column filter, column visible and so on for both legacy and modern version.
    • Elect.Web.HttpDetection: Trade Device information (address/location via IP) via HttpRequest User-Agent.
    • Elect.Web.Ajaxify: Make your regular website (multiple page) to single page by ajax approach.
  • Background Job

  • Notification

  • Logger

    • Elect.Logger: Event logger for ASP NET Core project, storage into a Json Files - easy to query and statistic.
    • Elect.Logger.Dashboard (use app.UseElectLog()): Visual Elect.Logger in Dashboard with security check support.
  • Localization

    • [On Plan] Elect.Localization.Json: Localization with resource in separate Json files.
    • [On Plan] Elect.Localization.Dashboard: Support manage Elect.Localization.Json via a Dashboard with security check support.

Samples

Please access "samples" folder in this repo to explore example for each library.

License

Elect is licensed under the MIT License.

Thank for Jetbrains

JetBrains Logo

I have been using ReSharper, Rider for a good number of years and find it absolutely amazing that they assist open source to have free license.

So a big thank you to JetBrains!