Moses 6.0.1
dotnet add package Moses --version 6.0.1
NuGet\Install-Package Moses -Version 6.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Moses" Version="6.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Moses" Version="6.0.1" />
<PackageReference Include="Moses" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Moses --version 6.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Moses, 6.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Moses@6.0.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Moses&version=6.0.1
#tool nuget:?package=Moses&version=6.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Moses
Moses is a framework by Exodus Sistemas for building SaaS web services and Web APIs using ASP.NET Core.
Installation
dotnet add package Moses
Features
- Data Access — Generic
Manager<T, K>/ManagerBase<T>base classes for data access patterns, database-provider agnostic. - Cryptography —
SecurityHelperwith AES encryption, MD5 hashing, and PBKDF2 key derivation. - Extensions — Parsing, formatting, validation, date utilities, enum helpers, OFX support, and more.
- Serialization — JSON-based property serialization via
IPropertyValueHolder. - Exceptions — Domain-specific exception hierarchy (
MosesException,MosesSecurityException,MosesRuntimeException, etc.). - Networking — HTTP and OFX client helpers.
- Reflection — Runtime type utilities.
Quick Start
using Moses.Extensions;
// Encrypt / Decrypt
string encrypted = "my-secret".Encrypt();
string decrypted = encrypted.Decrypt();
// MD5 hashing
string hash = "hello".GetMd5Hex();
// Validation
bool valid = "test@email.com".IsValidEmail();
Custom Data Manager
using Moses.Data;
public class MyManager : Manager<MyEntity, MyDbContext>
{
public override IQueryable<MyEntity> GetAll() => Context.Set<MyEntity>();
public override MyEntity Get(int id) => Context.Set<MyEntity>().Find(id);
public override MyEntity Create(MyEntity item) => Context.Set<MyEntity>().Add(item).Entity;
public override void AttachBase(MyEntity item, bool asModified) { /* ... */ }
public override void DeleteBase(MyEntity item) => Context.Set<MyEntity>().Remove(item);
public override void SubmitChanges() => Context.SaveChanges();
}
Target Framework
- .NET 10.0
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Newtonsoft.Json (>= 13.0.4)
- SgmlReaderCore (>= 0.9.0.12)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 6.0.1 | 94 | 8/6/2026 |
| 6.0.0 | 86 | 8/6/2026 |
| 5.0.3 | 295 | 7/22/2024 |
| 5.0.2 | 172 | 7/18/2024 |
| 5.0.1 | 174 | 7/18/2024 |
| 4.0.0.2 | 2,271 | 11/6/2017 |
| 4.0.0.1 | 1,527 | 11/2/2017 |
| 4.0.0 | 1,421 | 10/21/2017 |
| 3.8.0.8 | 1,552 | 12/23/2016 |
| 3.8.0.7 | 1,568 | 12/21/2016 |
| 3.8.0.6 | 1,563 | 12/21/2016 |
| 3.8.0.5 | 1,512 | 12/20/2016 |
| 3.8.0.4 | 1,546 | 12/20/2016 |
| 3.8.0.3 | 1,513 | 12/19/2016 |
| 3.8.0.2 | 2,223 | 12/19/2016 |
| 3.8.0.1 | 1,457 | 12/19/2016 |
| 3.7.1.1 | 1,584 | 12/17/2016 |
| 3.7.1 | 1,527 | 12/17/2016 |
| 3.7.0.9 | 1,523 | 12/17/2016 |
| 3.7.0.8 | 1,537 | 12/17/2016 |
Loading failed