allangomessl / Auxo.Net

A StrongLoop for Asp.Net Core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auxo.Net 1.0.0 Travis build status

A StrongLoop for Asp.Net Core

See more in Documentation

Depencies


Localization with JSON

pt-bt.json
{
  "hello_world": "Olá Mundo"
}
L.T("hello_world"); //Olá Mundo

Security

public class User
{
     string Login { get; set; }
     Secure Password { get; set; }
}

$ user.Login = "allan";
$ user.Password = PBKDF2.Encrypt("allan");

$ user.Password == "allan"; // true
$ user.Password == "bllan"; // false

$ user.Password.Hash = "dsadasdas" //ERROR: Private Set Only (Imutable)
Dababase Secure Table
Algorithm Hash Salt Parameters
PBKDF2 +WqsZSS2m8iId8QQ.... fcOMenFOG3y... 64000

Validation Integrated

RuleFor(c => c.Name).NotEmpty().Length(5, 40);

Messages

Message.Raise(new Message("Validation", "Error ao validar Nome"));

About

A StrongLoop for Asp.Net Core


Languages

Language:C# 100.0%