• CodeBehind Framework

    C# Back-End Framework


    CodeBehind is a powerful back-end framework developed by Elanat in 2023. Systems development is done with CodeBehind using C# programming language and under .NET Core. Unlike the complex and dry structure of the default web frameworks in ASP.NET Core, CodeBehind offers a simple, modular and flexible structure. CodeBehind is built on a modern and advanced MVC architecture, where the Controller and Model are determined in the attributes section of the View page; requests first arrive at the View, and then an instance of the Controller class is created according to the attributes of the View page.


    ASPX in ASP.NET Core

    Nostalgia of the Former ASP.NET


    The type of structure and naming in CodeBehind is a nostalgia that reminds of former Microsoft Web-Forms but it has nothing to do with it. Code Behind framework inherits every advantage of ASP.NET Core and gives it more simplicity, power, flexibility and has high serverside independence. The aspx extension is the files of the View section in the CodeBehind Framework and they supports standard syntax (<%=Standard%>) and Razor syntax (@Razor). This framework guarantees the separation of server-side codes from the design part (HTML) and there is no need to write server-side codes in the view.

    Simple Development
    By Selecting the Boxes Below, Development Examples Will be Displayed
    Razor Syntax
    Standard Syntax
    Only View
    MVC View
    MVC Controller
    MVC Model
    Default Config
    Web Forms
    Using Layout
    Using Template
    Return Template
    Manage Role

    Modular Structure

    Just Copy the New Module


    Elanat always pays special attention to supporting modularity in the architecture of its products. The CodeBehind framework also supports modularity. The project created by using CodeBehind is automatically a modular project, that is, it has the ability to add web parts. In addition, each web part can be used in other projects. To add the module, just put the output DLL of the new module in the "wwwroot/bin" path of the current project and copy the aspx files to the desired path of the project in the "wwwroot" directory.

    Develop as You Wish

    Flexible and Unrestricted Structure


    When you build your apps under the CodeBehind Framework, there is no obligation to follow a development pattern, so you can develop the entire app with any part of the app as you like. CodeBehind supports 6 development patterns:
    - Only View and Model-View are similar to Microsoft's Razor Pages.
    - MVC with route configuration, similar to ASP.NET Core MVC structure.
    - Web-Forms is similar to Blazor technology.
    - Default MVC and Controller-View are not equivalent in .NET Core.

    The CodeBehind Framework is 33% faster than Razor Pages in the default configuration and 40% faster than ASP.NET Core MVC in the route configuration.

    Last Versions

    All Versions