CodeBehind Framework Tutorial Series
Tags: tutorial, dotnet, beginners, backend
Published: 2024-05-25 21:19:35

The content you are viewing is a tutorial series that deals with the new back-end framework called CodeBehind.

[CodeBehind](https://github.com/elanatframework/Code_behind) was developed by the [Elanat team](https://elanat.net) and is a strong competitor to Microsoft's default .NET Core web frameworks (ASP.NET Core MVC, Razor Pages, and Blazor).

![ASP.NET Core Frameworks](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sggbosgbrzn4peu8famh.png)

**CodeBehind is .NET Diamond!**

Development of systems using the CodeBehind framework, usually with the C# programming language, is done under ASP.NET Core.

The link below is the address of the supporting content of this course, and the explanations related to this tutorial series are included in it.

[Supporting content of the tutorial series](https://dev.to/elanatframework/codebehind-framework-tutorial-series-has-started-k8k)

## List of trainings:

1. [Introduction](https://dev.to/elanatframework/introduction-of-codebehind-framework-3oco)
  - What is CodeBehind Framework
  - Why was CodeBehind created
  - Advantages of CodeBehind Framework
  - Unique MVC architecture in CodeBehind
  - Knowledge prerequisites
  - Unique MVC architecture in CodeBehind
  - Minimum required hardware and software

2. [Configuring the CodeBehind framework in the ASP.NET Core project](https://dev.to/elanatframework/configuring-the-codebehind-framework-in-the-aspnet-core-project-4a0p)
  - Installation of Visual Studio Code and necessary items
  - Creating a new .NET project
  - Add CodeBehind Framework package
  - Configure the CodeBehind framework in the Program.cs class
  - Run project

3. [View in CodeBehind](https://dev.to/elanatframework/view-in-codebehind-framework-5h8g)
  - What is View
  - CodeBehind View extension
  - CodeBehind View syntax
  - Create only View
  - HttpContext in View

4. [Add Model in View](https://dev.to/elanatframework/codebehind-framework-add-model-in-view-3i74)
  - Create an application with only View and Model
  - CodeBehindModel abstract class
  - Using CodeBehindConstructor method
  - View class without abstract
  - Model-View in Visual Studio Code
  - Why use ViewData

5. [Controller in CodeBehind](https://dev.to/elanatframework/learning-mvc-once-and-for-all-2d9d)
  - Why do some people not understand the concept of MVC?
  - How to teach MVC?
  - Why do we need a Controller?
  - MVC example in CodeBehind
  - CodeBehindController abstract class
  - Using CodeBehindConstructor method
  - MVC in Visual Studio Code
  - Add a new View
  - Change View in Controller

6. [Example of displaying information with MVC in CodeBehind](https://dev.to/elanatframework/mvc-example-display-information-based-on-url-2309)
  - Activation of static files in ASP.NET Core
  - Add static file
  - Series data
  - Series Models
  - Series Views
  - Prevent access Default.aspx
  - Series Controller

7. [Layout and its benefits](https://dev.to/elanatframework/why-use-layout-43ih)
  - Why should we use Layouts?
  - Use Layout in CodeBehind Framework
  - Add Layout in series project

8. Not mandatory in MVC
9. Applying new View and Model by Controller class
10. Adding a new View without changing the Controller and Model
11. Calling the View in the current View
12. View design with Razor syntax
13. View design with standard syntax
14. Modular structure in CodeBehind
15. Using constructor method
16. HtmlData classes
17. Download file
18. Dynamic Model
19. Working with templates in View
20. Return template
21. Interesting ideas for working with template and return template
22. Transfer template block data with ViewData
23. Send data by ViewData
24. AJAX example in CodeBehind
25. Activate the section feature
26. Send information by submitting form
27. Loading a View page in another View page
28. Error handling
29. Getting to know the settings of the options file
30. Manage urls and remove the aspx extension
31. CodeBehind framework data
32. Namespace and dll for CodeBehind view class
33. Error detection
34. Route configuration
35. CodeBehind configuration alongside Razor Pages and ASP.NET Core MVC
36. Advanced configuration
37. Modularity in the default mode
38. Modularity in the configuration of the controller in the route
39. Separate compilation
40. Applying changes to views without the need to recompile
41. How is the list of views finally made?
42. Cache in CodeBehind
43. Work with database
44. CodeBehind access system
45. Authentication and authorization in CodeBehind
46. Publish project and deploy on web

> Note: This list will be updated over time. Every time a new tutorial is added, its link will be available in the above list.

### Copyright

All trainings in this tutorial series belong to the Elanat team and have no copyright; therefore, the republishing of this tutorial series is free from our point of view; please also check the copyright provisions on this platform before republishing the content.

### Related links

CodeBehind on GitHub:
https://github.com/elanatframework/Code_behind

CodeBehind in NuGet:
https://www.nuget.org/packages/CodeBehind/

CodeBehind page:
https://elanat.net/page_content/code_behind