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.

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.

AI

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, minimize 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.

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

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

Background Job

Notification

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

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

Logger

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

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

Samples

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

License

Elect is licensed under the MIT License.