Open Source - Elect

Elect

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

Nuget

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

Nuget

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

Nuget

Notification

Elect.Notification.OneSignal: Client for OneSignal.com.

Nuget

Elect.Notification.Esms: Client for eSMS.vn.

Nuget

Logger

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.