We created some methods that were in standard .NET but not in .NET using Extension methods and the codes remained intact.
Example of SaveAs method on IFormFile
public static void SaveAs(this IFormFile PostedFile, string FilePath)
{
using (Stream TmpFileStream = new FileStream(FilePath, FileMode.Create, FileAccess.ReadWrite))
{
PostedFile.CopyTo(TmpFileStream);
}
}
Code-Behind creates the least load on the server, and setting the IgnoreViewAndModel attribute to false makes even the Model and View not be called.
Currently, Elanat is fully implemented on .NET Core version 7.0 and is undergoing software testing.
In August 2023, a new version ready to be installed and the source code of Elanat will be provided.
Elanat is add-on oriented framework. Elanat is free and open-source ASP.NET Core CMS under license GPL V3. The Elanat kernel is designed to create an add-on for it as easily as possible; the Elanat kernel contains a variety of add-ons; the structure of Elanat allows the programmer to create a new web system containing different types of add-ons.
Download