Skip to content

lebatuananh/Elect

 
 

Repository files navigation

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.org.

You can add My Nuget Server to have fastest packages update

  • No waste time for nuget index package
  • Full nuget.org mirror packages
  • Add <add key="Top Nguyen" value="http://nuget.topnguyen.com/v3/index.json"/> to NuGet.Config
    • If you not have NuGet.Config, just create the file named "NuGet.Config" in your root project folder with below content
      <?xml version="1.0" encoding="utf-8"?>
      <configuration>
          <packageSources>
              <add key="Top Nguyen" value="http://nuget.topnguyen.com/v3/index.json"/>
          </packageSources>
      </configuration>

Usage

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

  • Elect.Core: Utilities and Core of Ecosystem.

    Nuget

  • AI

  • Dependency Injection

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

      Nuget

  • Data

    • Elect.Data.EF: Entity Framework by Unit of Work and Repository wrap pattern with Transaction support.

      Nuget

    • Elect.Data.IO

      • Physical: Support handle file, folder, image (resize, compress, dominant color).

      Nuget

  • Mapper

  • Web

    • Elect.Web: ASP Net Core utitlies, Beautiful paged collection API support.

      Nuget

    • Elect.Web.Middlewares: Useful middlewares for ASP NET Core project such as: measure processing time, minimize HTML, CSS, JS on response.

      Nuget

    • Elect.Web.Swagger: Extend of Swashbuckle, easier to setup and support more friendly UI, security API Document URI.

      Nuget

    • Elect.Web.DataTable: Server generate jQuery DataTable support paging server, column filter, column visible and so on for both legacy and modern version.

      Nuget

    • Elect.Web.HttpDetection: Trade Device information (address/location via IP) via HttpRequest User-Agent.

      Nuget

    • Elect.Web.Ajaxify: Make your regular website (multiple page) to single page by ajax approach.

    • Elect.Web.HealthCheck: Health check for the service a live or not.

      Nuget

    • Elect.Web.Consul: Support auto Register and Deregister Service to the Consul Service with Fabio Load Balancing.

      Nuget

  • Background Job

  • Notification

  • Logger

    • Elect.Logger: Event logger for ASP NET Core project, storage into a Json Files - easy to query and statistic.

      Nuget

    • Elect.Logger.Dashboard (use app.UseElectLog()): Visual Elect.Logger in Dashboard with security check support.

    • Elect.Jaeger: Support add trace to the Jaeger Service automatically.

      Nuget

    • Elect.AppMetrics: Support enable and config to the AppMetrics Service automatically.

      Nuget

  • 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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.1%
  • C# 24.9%
  • CSS 11.4%
  • HTML 0.6%