CodeBehind 1.8.0
Prefix ReservedSee the version list below for details.
dotnet add package CodeBehind --version 1.8.0
NuGet\Install-Package CodeBehind -Version 1.8.0
<PackageReference Include="CodeBehind" Version="1.8.0" />
paket add CodeBehind --version 1.8.0
#r "nuget: CodeBehind, 1.8.0"
// Install CodeBehind as a Cake Addin #addin nuget:?package=CodeBehind&version=1.8.0 // Install CodeBehind as a Cake Tool #tool nuget:?package=CodeBehind&version=1.8.0
Code_behind
CodeBehind library is a backend framework. This library is a programming model based on the MVC structure, which provides the possibility of creating dynamic aspx files (similar to .NET Standard) in .NET Core and has high serverside independence. CodeBehind framework supports standard syntax and Razor syntax. 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.
The CodeBehind framework is faster than the default structure of cshtml pages in ASP.NET Core.
CodeBehind is .NET Diamond!
In every scenario, CodeBehind performs better than the default structure in ASP.NET Core.
Programming in CodeBehind is simple. The simplicity of the CodeBehind project is the result of two years of study and research on back-end frameworks and how they support web parts.
Simple example
View section (aspx page)
@page
@{
Random rand = new Random();
}
<div>
<h1>Random value: @rand.Next(1000000)</h1>
</div>
Program File: Program.cs
using CodeBehind;
using SetCodeBehind;
var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
+ CodeBehindCompiler.Initialization();
app.Run(async context =>
{
+ CodeBehindExecute execute = new CodeBehindExecute();
+ await context.Response.WriteAsync(execute.Run(context));
});
app.Run();
CodeBehind story
First, CodeBehind was supposed to be a back-end framework for the C++ programming language; our project in C++ was going well, we built the listener structure and we were even able to implement fast-cgi in the coding phase for the Windows operating system. Windows operating system test with nginx web server was very stable and fast; but for some reason, we stopped working and implemented CodeBehind on .NET Core version 7.
Documents
Simple and structured MVC in CodeBehind
It is not necessary to follow the MVC pattern
Load aspx page finally result in another aspx page
Razor syntax reference for CodeBehind framework
Namespace and dll for CodeBehind view class
How is the list of views finally made?
Performance test in only view section in version 1.5.2 (ASP.NET Core VS CodeBehind)
ASP.NET Core VS CodeBehind; why should we use CodeBehind?
CodeBehind framework vs Code-Behind pattern
CodeBehind training (On YouTube)
Video 3 - Page list in default page
Download CodeBehind
We added CodeBehind in Nuget so that you can access it easily. You can use it in:
https://www.nuget.org/packages/CodeBehind
Elanat was created using CodeBehind
CodeBehind is a stable and reliable framework; Elanat is the most powerful .NET system implemented using the CodeBehind framework.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- Microsoft.CodeAnalysis.CSharp (>= 4.6.0)
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 |
---|---|---|
3.8.0 | 204 | 11/10/2024 |
3.7.2 | 194 | 10/22/2024 |
3.7.1 | 125 | 10/19/2024 |
3.7.0 | 124 | 10/14/2024 |
3.6.1 | 254 | 9/30/2024 |
3.6.0 | 302 | 9/9/2024 |
3.5.0 | 115 | 9/4/2024 |
3.4.1 | 199 | 8/27/2024 |
3.4.0 | 142 | 8/27/2024 |
3.3.0 | 157 | 8/24/2024 |
3.2.2 | 142 | 8/23/2024 |
3.2.1 | 160 | 8/16/2024 |
3.2.0 | 123 | 8/15/2024 |
3.1.0 | 126 | 8/15/2024 |
3.0.0 | 205 | 7/30/2024 |
2.9.2 | 107 | 7/24/2024 |
2.9.1 | 100 | 7/24/2024 |
2.9.0 | 99 | 7/22/2024 |
2.8.0 | 206 | 6/29/2024 |
2.7.1 | 257 | 6/16/2024 |
2.7.0 | 133 | 6/16/2024 |
2.6.0 | 140 | 6/10/2024 |
2.5.1 | 105 | 6/9/2024 |
2.5.0 | 208 | 5/20/2024 |
2.4.3 | 148 | 5/12/2024 |
2.4.2 | 183 | 3/31/2024 |
2.4.1 | 108 | 3/31/2024 |
2.4.0 | 190 | 3/5/2024 |
2.3.0 | 125 | 2/17/2024 |
2.2.0 | 148 | 1/26/2024 |
2.1.2 | 163 | 1/6/2024 |
2.1.1 | 118 | 1/5/2024 |
2.1.0 | 111 | 1/5/2024 |
2.0.0 | 174 | 12/23/2023 |
1.9.3 | 137 | 12/18/2023 |
1.9.2 | 154 | 12/9/2023 |
1.9.1 | 123 | 12/2/2023 |
1.9.0 | 138 | 11/30/2023 |
1.8.1 | 133 | 11/27/2023 |
1.8.0 | 129 | 11/26/2023 |
1.7.0 | 176 | 10/18/2023 |
1.6.1 | 145 | 10/18/2023 |
1.6.0 | 146 | 10/18/2023 |
1.5.2 | 165 | 9/28/2023 |
1.5.1 | 160 | 9/19/2023 |
1.5.0 | 135 | 9/13/2023 |
1.4.3 | 160 | 9/3/2023 |
1.4.2 | 169 | 8/30/2023 |
1.4.1 | 187 | 8/26/2023 |
1.4.0 | 140 | 8/23/2023 |
1.3.2 | 152 | 8/12/2023 |
1.3.1 | 157 | 8/12/2023 |
1.3.0 | 152 | 8/12/2023 |
1.2.0 | 178 | 7/24/2023 |
1.1.1 | 176 | 7/4/2023 |
1.1.0 | 168 | 7/3/2023 |
1.0.0 | 213 | 6/30/2023 |