The CodeBehind framework is a reliable alternative to the default structure of cshtml pages in ASP.NET Core. This framework belongs to the Elanat team and provides a programming model based on the MVC structure that allows the creation of dynamic aspx files in .NET Core. The CodeBehind framework supports standard syntax and Razor syntax. The CodeBehind framework inherits all the advantages of ASP.NET Core and gives it more simplicity, power and flexibility.
Why use CodeBehind?
Fast: The CodeBehind framework is faster than the default structure of cshtml pages in ASP.NET Core.
Simple: Developing with CodeBehind is very simple. You can use mvc pattern or model-view or controller-view or only view.
Modular: It is modular. Just copy the new project files, including dll and aspx, into the current active project.
Get output: You can call the output of the aspx page in another aspx page and modify its output.
Under .NET Core: Your project will still be under ASP.NET Core and you will benefit from all the benefits of .NET Core.
Code-Behind: Code-Behind pattern will be fully respected.
Modern: CodeBehind is a modern framework with revolutionary ideas.
Recursive format revolution
In the last quarter of 2023, in a revolutionary initiative, the Elanat team presented a beautiful structure called the return template in the new versions of the CodeBehind framework, which fully guarantees the separation of the server-side code from the design part (such as html). The return template gives a new meaning to the Code-Behind development pattern.
Other Details
The Elanat team is constantly developing the CodeBehind framework and adding new initiatives; Interesting ideas such as running view files as directory path and builder methods and...
Due to the dynamic nature of the CodeBehind framework, it is easy to create high-level systems using it. Systems such as dynamic middleware, scheduled tasks, startup, etc.
The files of the view section in the CodeBehind framework are specified in aspx format; It is possible to use standard syntax and razor syntax in aspx files.
The CodeBehind framework is more similar to interpretive frameworks and has a simple structure; Unlike ASP.NET Core, which has a complex and hard-to-understand structure.
The Elanat team has created a very large content management system called Elanat CMS using the CodeBehind framework.