Common solutions
this repository includes all the code for Aleph1 projects
Clone the project
each project in the solution results in a nuget package, build the desired project in release mode and then Pack.
adding this nuget to your project will add the necessary boilerplate code for registering a new Dependency into the DI container.
this Dependency can now be used by DI Consumers without directly referencing the dependency itself.
adding this project to a main
project will add the necessary boilerplate code for registering all dependencies from the dependents into the DI without referencing them.
custom ConfigSection for easy configuring the DI from app/web config
general helper functions for web/desktop Applications. (like getting the current logged in user regardless if in a web app or desktop)
adding a [Logged] aspect for easy logging every function in your code. (can be easily configured via the config file)
adding a helper function to facilitate NLog logging in Aleph1 format
example: (in any class)
ILogger logger = LogManager.GetCurrentClassLogger();
logger.LogAleph1(LogLevel.Info, "message");
a common interface for the custom Security handler used by Aleph1 projects
a concrete implementation of the Security interface using 3DES
ClientFile Model for easy file uploading via JSON POST directly from the client. Should be use with aleph1-client-file