{"id":63514,"date":"2024-05-21T00:19:15","date_gmt":"2024-05-20T20:49:15","guid":{"rendered":"https:\/\/nabfollower.com\/blog\/aspnet-core-new-backend-framework-codebehind-25-released-13p7\/"},"modified":"2024-05-21T00:19:15","modified_gmt":"2024-05-20T20:49:15","slug":"aspnet-core-new-backend-framework-codebehind-25-released-13p7","status":"publish","type":"post","link":"https:\/\/nabfollower.com\/blog\/aspnet-core-new-backend-framework-codebehind-25-released-13p7\/","title":{"rendered":"ASP.NET Core New BackEnd Framework!  CodeBehind 2.5 \u0645\u0646\u062a\u0634\u0631 \u0634\u062f"},"content":{"rendered":"<p>Summarize this content to 400 words in Persian Lang<br \/>\n            CodeBehind \u06cc\u06a9 \u0641\u0631\u06cc\u0645 \u0648\u0631\u06a9 \u0628\u06a9\u200c\u0627\u0646\u062f \u062c\u062f\u06cc\u062f \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 ASP.NET Core \u0627\u0633\u062a.  CodeBehind \u0645\u062a\u0639\u0644\u0642 \u0628\u0647 \u062a\u06cc\u0645 Elanat \u0627\u0633\u062a \u0648 \u0628\u0627 \u0686\u0627\u0631\u0686\u0648\u0628 \u0647\u0627\u06cc \u0648\u0628 \u067e\u06cc\u0634 \u0641\u0631\u0636 \u0645\u0627\u06cc\u06a9\u0631\u0648\u0633\u0627\u0641\u062a (Razor Pages\u060c MVC \u0648 Blazer) \u062f\u0631 NET Core \u0631\u0642\u0627\u0628\u062a \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<p>CodeBehind \u0633\u0627\u062f\u0647\u200c\u062a\u0631\u060c \u0627\u0646\u0639\u0637\u0627\u0641\u200c\u067e\u0630\u06cc\u0631\u062a\u0631 \u0648 \u0633\u0631\u06cc\u0639\u200c\u062a\u0631 \u0627\u0632 \u0686\u0627\u0631\u0686\u0648\u0628\u200c\u0647\u0627\u06cc \u0648\u0628 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0645\u0627\u06cc\u06a9\u0631\u0648\u0633\u0627\u0641\u062a \u0627\u0633\u062a.  \u0637\u0628\u0642 \u0622\u062e\u0631\u06cc\u0646 \u062a\u0633\u062a \u0647\u0627\u06cc \u062a\u06cc\u0645 \u0627\u0644\u0646\u0627\u062a\u060c CodeBehind \u062a\u0627 40 \u062f\u0631\u0635\u062f \u0633\u0631\u06cc\u0639\u062a\u0631 \u0627\u0632 \u0635\u0641\u062d\u0627\u062a Razor \u0648 MVC \u0645\u0627\u06cc\u06a9\u0631\u0648\u0633\u0627\u0641\u062a \u0627\u0633\u062a.<\/p>\n<p>\u0644\u06cc\u0646\u06a9 \u0632\u06cc\u0631 \u0645\u0642\u0627\u0644\u0647 \u0627\u06cc \u062f\u0631 \u0645\u0648\u0631\u062f \u0639\u0645\u0644\u06a9\u0631\u062f \u062e\u06cc\u0631\u0647 \u06a9\u0646\u0646\u062f\u0647 \u0641\u0631\u06cc\u0645\u0648\u0631\u06a9 CodeBehind \u062a\u0648\u0633\u0637 \u062a\u06cc\u0645 \u0627\u0644\u0646\u0627\u062a \u0627\u0633\u062a.\u062a\u0633\u062a \u0639\u0645\u0644\u06a9\u0631\u062f\u060c ASP.NET Core MVC \u0648 Razor Pages \u062f\u0631 \u0645\u0642\u0627\u0628\u0644 CodeBehind Framework \u062f\u0631 \u0646\u0633\u062e\u0647 2.2<\/p>\n<p>\u0627\u06af\u0631 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0631 \u0645\u0648\u0631\u062f \u0645\u0627\u0698\u0648\u0644\u0627\u0631 \u0628\u0648\u062f\u0646 \u062f\u0631 \u0686\u0627\u0631\u0686\u0648\u0628 CodeBehind \u0628\u06cc\u0634\u062a\u0631 \u0628\u062f\u0627\u0646\u06cc\u062f\u060c \u0644\u0637\u0641\u0627 \u0645\u0642\u0627\u0644\u0647 \u0632\u06cc\u0631 \u0631\u0627 \u0628\u062e\u0648\u0627\u0646\u06cc\u062f.\u0645\u0627\u0698\u0648\u0644\u0627\u0631 \u0628\u0648\u062f\u0646 \u062f\u0631 \u062d\u0627\u0644\u062a \u067e\u06cc\u0634 \u0641\u0631\u0636<\/p>\n<p>\u0647\u0631 \u067e\u0631\u0648\u0698\u0647 \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 CodeBehind \u0628\u0647 \u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0627\u0632 \u0645\u0627\u0698\u0648\u0644\u0627\u0631 \u0628\u0648\u062f\u0646 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc \u06a9\u0646\u062f.  \u0641\u0642\u0637 \u0644\u0627\u0632\u0645 \u0627\u0633\u062a DLL \u0647\u0627 \u0631\u0627 \u062f\u0631 \u067e\u0648\u0634\u0647 bin \u0648 \u0635\u0641\u062d\u0627\u062a View \u0631\u0627 \u062f\u0631 \u0631\u06cc\u0634\u0647 \u067e\u0631\u0648\u0698\u0647 \u0641\u0639\u0627\u0644 \u0641\u0639\u0644\u06cc \u062a\u0648\u0632\u06cc\u0639 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0646\u0633\u062e\u0647\u060c \u0686\u0646\u062f\u06cc\u0646 \u06a9\u0644\u0627\u0633 \u0645\u06cc\u0627\u0646\u200c\u0627\u0641\u0632\u0627\u0631 \u0627\u0636\u0627\u0641\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a \u062a\u0627 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc CodeBehind \u0628\u0633\u06cc\u0627\u0631 \u0622\u0633\u0627\u0646\u200c\u062a\u0631 \u0627\u0632 \u0642\u0628\u0644 \u0634\u0648\u062f.  \u0627\u0632 \u0627\u06cc\u0646 \u067e\u0633 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0686\u0627\u0631\u0686\u0648\u0628 CodeBehind \u0646\u0633\u062e\u0647 2.5 \u0628\u0647 \u0628\u0639\u062f \u0631\u0627 \u0637\u0628\u0642 \u06a9\u062f\u0647\u0627\u06cc \u0632\u06cc\u0631 \u062f\u0631 ASP.NET Core \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<p>CodeBehind 2.5 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u062f\u0631 \u0647\u0633\u062a\u0647 ASP.NET (\u06a9\u0644\u0627\u0633 Program.cs)<\/p>\n<p>var builder = WebApplication.CreateBuilder(args);<\/p>\n<p>var app = builder.Build();<\/p>\n<p>SetCodeBehind.CodeBehindCompiler.Initialization();<\/p>\n<p>app.UseCodeBehind();<\/p>\n<p>app.Run();<\/p>\n<p>    \u0648\u0627\u0631\u062f \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u0634\u0648\u06cc\u062f<\/p>\n<p>    \u0627\u0632 \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f<\/p>\n<p>\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0641\u0648\u0642 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0645\u0639\u0645\u0627\u0631\u06cc \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 MVC \u062f\u0631 CodeBehind \u0627\u0633\u062a\u060c \u062c\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0631\u062e\u0648\u0627\u0633\u062a\u200c\u0647\u0627 \u0627\u0628\u062a\u062f\u0627 \u0628\u0647 View \u0647\u062f\u0627\u06cc\u062a \u0645\u06cc\u200c\u0634\u0648\u0646\u062f \u0648 \u0633\u067e\u0633 \u06a9\u0646\u062a\u0631\u0644\u0631 \u0648 \u0645\u062f\u0644 \u0627\u0632 View \u0645\u0634\u062e\u0635 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f.  \u0627\u06cc\u0646 \u06cc\u06a9 \u0645\u0639\u0645\u0627\u0631\u06cc \u0627\u0646\u0642\u0644\u0627\u0628\u06cc \u0627\u0633\u062a \u06a9\u0647 \u062a\u0648\u0633\u0637 \u062a\u06cc\u0645 \u0627\u0644\u0646\u0627\u062a \u0627\u0631\u0627\u0626\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/p>\n<p>\u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0627\u0641\u0632\u0648\u062f\u0646 \u0645\u0642\u062f\u0627\u0631 \u0628\u0648\u0644\u06cc \u062f\u0631\u0633\u062a \u0628\u0647 \u0645\u062a\u062f UseCodeBehind\u060c \u0645\u062f\u06cc\u0631\u06cc\u062a \u062e\u0637\u0627 \u0631\u0627 \u0628\u0647 \u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0628\u0647 CodeBehind \u0628\u0633\u067e\u0627\u0631\u06cc\u062f.<\/p>\n<p>\u0645\u062b\u0627\u0644:<\/p>\n<p>app.UseCodeBehind(true);<\/p>\n<p>    \u0648\u0627\u0631\u062f \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u0634\u0648\u06cc\u062f<\/p>\n<p>    \u0627\u0632 \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f<\/p>\n<p>\u062a\u0648\u062c\u0647: \u0644\u0637\u0641\u0627\u064b \u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0635\u0641\u062d\u0647 \u062e\u0637\u0627 \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0622\u0646 \u0645\u0634\u062e\u0635 \u06a9\u0646\u06cc\u062f code_behind \u0641\u0647\u0631\u0633\u062a \u0631\u0627\u0647\u0646\u0645\u0627.<\/p>\n<p>\u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u062a\u0631\u0644\u0631 \u062f\u0631 Route \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.  \u062a\u06cc\u0645 \u0627\u0644\u0646\u0627\u062a \u0646\u06cc\u0632 \u0628\u0627 \u0627\u0628\u062a\u06a9\u0627\u0631\u0627\u062a \u062e\u0648\u062f \u0633\u0627\u062e\u062a\u0627\u0631 \u0627\u06cc\u0646 \u0646\u0648\u0639 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0631\u0627 \u0645\u062a\u062d\u0648\u0644 \u06a9\u0631\u062f\u0647 \u0627\u0633\u062a \u0648 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u0627\u0646\u062c\u0627\u0645 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u067e\u06cc\u0686\u06cc\u062f\u0647 \u0646\u062f\u0627\u0631\u06cc\u062f.<\/p>\n<p>\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u062a\u0631\u0644\u0631 \u062f\u0631 Route \u0628\u0631\u0627\u06cc \u0686\u0627\u0631\u0686\u0648\u0628 CodeBehind \u0628\u0647 \u0635\u0648\u0631\u062a \u0632\u06cc\u0631 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc \u0634\u0648\u062f:<\/p>\n<p>var builder = WebApplication.CreateBuilder(args);<\/p>\n<p>var app = builder.Build();<\/p>\n<p>SetCodeBehind.CodeBehindCompiler.Initialization();<\/p>\n<p>app.UseCodeBehindRoute();<\/p>\n<p>app.Run();<\/p>\n<p>    \u0648\u0627\u0631\u062f \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u0634\u0648\u06cc\u062f<\/p>\n<p>    \u0627\u0632 \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f<\/p>\n<p>\u0627\u0641\u0632\u0648\u062f\u0646 \u0645\u062a\u062f UseCodeBehindRoute \u0647\u0631 \u0628\u062e\u0634 \u0627\u0632 URL \u0631\u0627 \u0628\u062e\u0634 \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<p>\u0646\u06a9\u062a\u0647: Section \u0628\u0647 \u0645\u0639\u0646\u0627\u06cc \u0631\u0634\u062a\u0647 \u0647\u0627\u06cc \u0628\u06cc\u0646 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u0627\u0633\u0644\u0634 \u0627\u0633\u062a.\u0645\u062b\u0627\u0644: example.com\/section0\/section1\/section2<\/p>\n<p>\u0645\u062a\u062f UseCodeBehindRoute \u0645\u0642\u062f\u0627\u0631 \u0628\u062e\u0634 \u0631\u0627 0 \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc \u06a9\u0646\u062f.  \u0627\u06af\u0631 \u06cc\u06a9 Controller \u0628\u0627 \u0647\u0645\u0627\u0646 \u0646\u0627\u0645 \u0645\u0642\u062f\u0627\u0631 \u0642\u0633\u0645\u062a \u0627\u0648\u0644 \u0648\u062c\u0648\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f\u060c \u0645\u062a\u062f UseCodeBehindRoute Controller \u0631\u0627 \u0627\u062c\u0631\u0627 \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<p>\u0645\u062b\u0627\u0644:<\/p>\n<p>\u06a9\u0646\u062a\u0631\u0644\u0631 CodeBehind<\/p>\n<p>using CodeBehind;<\/p>\n<p>namespace YourProjectName<br \/>\n{<br \/>\n    public partial class home : CodeBehindController<br \/>\n    {<br \/>\n        public void PageLoad(HttpContext context)<br \/>\n        {<br \/>\n            Write(&#8220;Route work fine&#8221;);<br \/>\n        }<br \/>\n    }<br \/>\n}<\/p>\n<p>    \u0648\u0627\u0631\u062f \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u0634\u0648\u06cc\u062f<\/p>\n<p>    \u0627\u0632 \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f<\/p>\n<p>\u0628\u0627 \u062a\u0648\u062c\u0647 \u0628\u0647 \u06a9\u0644\u0627\u0633 Controller \u0628\u0627\u0644\u0627\u060c \u0627\u06af\u0631 \u0645\u0633\u06cc\u0631 example.com\/home \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0645\u06cc \u0634\u0648\u062f\u060c \u06a9\u0644\u0627\u0633 Controller \u0628\u0627\u0644\u0627 \u0627\u062c\u0631\u0627 \u0645\u06cc \u0634\u0648\u062f \u0648 Route work fine \u0631\u0634\u062a\u0647 \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/p>\n<p>\u0627\u06af\u0631 \u0646\u0627\u0645 \u06a9\u0644\u0627\u0633 Controller \u0628\u0627 \u0628\u062e\u0634 \u0645\u0648\u062c\u0648\u062f \u062f\u0631 url \u0645\u0637\u0627\u0628\u0642\u062a \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f\u060c \u0635\u0631\u0641 \u0646\u0638\u0631 \u0627\u0632 \u0641\u0636\u0627\u06cc \u0646\u0627\u0645\u060c \u06a9\u0644\u0627\u0633 Controller \u0627\u062c\u0631\u0627 \u0645\u06cc \u0634\u0648\u062f.<\/p>\n<p>\u0646\u0627\u0645 \u06a9\u0644\u0627\u0633 Controller \u0628\u0647 \u062d\u0631\u0648\u0641 \u06a9\u0648\u0686\u06a9 \u0648 \u0628\u0632\u0631\u06af \u062d\u0633\u0627\u0633 \u0627\u0633\u062a.  \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646\u060c \u0645\u0633\u06cc\u0631 example.com\/Home \u0646\u0645\u06cc \u062a\u0648\u0627\u0646\u062f Controller \u0631\u0627 \u0628\u0627 \u0646\u0627\u0645 \u06a9\u0644\u0627\u0633 \u062e\u0627\u0646\u0647 \u0627\u062c\u0631\u0627 \u06a9\u0646\u062f.<\/p>\n<p>\u0627\u06cc\u0646 \u0641\u0631\u0622\u06cc\u0646\u062f \u0645\u0627\u0698\u0648\u0644\u0627\u0631 \u0627\u0633\u062a\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0627\u06af\u0631 \u06cc\u06a9 dll \u062e\u0627\u0631\u062c\u06cc \u062f\u0627\u0631\u06cc\u062f \u06a9\u0647 \u062d\u0627\u0648\u06cc \u06a9\u0644\u0627\u0633 Controller \u0627\u0632 \u0686\u0627\u0631\u0686\u0648\u0628 CodeBehind \u0627\u0633\u062a\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0622\u0646 \u0631\u0627 \u062f\u0631 wwwroot\/bin \u0628\u0631\u0627\u06cc \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u06a9\u0644\u0627\u0633 Controller.<\/p>\n<p>\u0628\u0631\u062e\u0644\u0627\u0641 \u0633\u0627\u062e\u062a\u0627\u0631 \u0636\u0639\u06cc\u0641 \u067e\u06cc\u0634 \u0641\u0631\u0636 MVC \u062f\u0631 ASP.NET Core\u060c \u0641\u0631\u0622\u06cc\u0646\u062f \u0627\u062c\u0631\u0627\u06cc Controller \u067e\u0648\u06cc\u0627 \u0627\u0633\u062a \u0648 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u0627\u06cc\u062c\u0627\u062f \u0645\u062a\u062f \u0628\u0627 IActionResult \u062e\u0631\u0648\u062c\u06cc  \u062f\u0631 \u0646\u062a\u06cc\u062c\u0647 \u0628\u0647 \u062c\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0633\u062e\u062a \u0648 \u0648\u0627\u0628\u0633\u062a\u06af\u06cc \u06a9\u0627\u0645\u0644\u060c \u0627\u062a\u0635\u0627\u0644 \u0633\u0633\u062a \u0648 \u0648\u0627\u0628\u0633\u062a\u06af\u06cc \u06a9\u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0627\u0634\u062a.<\/p>\n<p>\u0645\u062b\u0627\u0644:<\/p>\n<p>\u06a9\u0646\u062a\u0631\u0644\u0631 \u067e\u0648\u06cc\u0627 \u062f\u0631 CodeBehind<\/p>\n<p>using CodeBehind;<\/p>\n<p>namespace YourProjectName<br \/>\n{<br \/>\n    public partial class home : CodeBehindController<br \/>\n    {<br \/>\n        public void PageLoad(HttpContext context)<br \/>\n        {<br \/>\n            if (Section.Count() &lt; 2)<br \/>\n            {<br \/>\n                Write(&#8220;This is main page&#8221;);<br \/>\n                return;<br \/>\n            }<\/p>\n<p>            switch (Section.GetValue(1))<br \/>\n            {<br \/>\n                case &#8220;first&#8221;: View(&#8220;\/page1.aspx&#8221;); break;<br \/>\n                case &#8220;second&#8221;: View(&#8220;\/page2.aspx&#8221;); break;<br \/>\n                case &#8220;third&#8221;: View(&#8220;\/page3.aspx&#8221;); break;<br \/>\n                case &#8220;fourth&#8221;: View(&#8220;\/page4.aspx&#8221;); break;<br \/>\n            }<br \/>\n        }<br \/>\n    }<br \/>\n}<\/p>\n<p>    \u0648\u0627\u0631\u062f \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u0634\u0648\u06cc\u062f<\/p>\n<p>    \u0627\u0632 \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f<\/p>\n<p>\u06a9\u062f \u0628\u0627\u0644\u0627 \u06cc\u06a9 Controller \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u06a9\u0647 \u0631\u0634\u062a\u0647 \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f This is main page \u0627\u06af\u0631 \u0647\u06cc\u0686 \u0628\u062e\u0634 \u062f\u06cc\u06af\u0631\u06cc \u067e\u0633 \u0627\u0632 \u0628\u062e\u0634 \u0627\u0635\u0644\u06cc \u0648\u062c\u0648\u062f \u0646\u062f\u0627\u0631\u062f.  \u0627\u06af\u0631 \u0628\u062e\u0634 \u062f\u06cc\u06af\u0631\u06cc \u0628\u0647 \u0646\u0627\u0645 \u0627\u0648\u0644\u060c \u062f\u0648\u0645\u060c \u0633\u0648\u0645 \u0648 \u0686\u0647\u0627\u0631\u0645 \u0628\u0639\u062f \u0627\u0632 \u0628\u062e\u0634 \u0627\u0635\u0644\u06cc\u060c \u0635\u0641\u062d\u0627\u062a \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0634\u0648\u062f page1.aspx\u060c page2.aspx\u060c page3.aspx \u0648 page4.aspx \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628 \u0628\u0627\u0632\u06af\u0631\u062f\u0627\u0646\u062f\u0647 \u062e\u0648\u0627\u0647\u062f \u0634\u062f.<\/p>\n<p>\u0645\u062b\u0627\u0644:<\/p>\n<p>\u062f\u0631 \u062d\u0627\u0644 \u062f\u0631\u062e\u0648\u0627\u0633\u062a example.com\/main\/first \u0635\u0641\u062d\u0647 \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f page1.aspx.<\/p>\n<p>\u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0627\u0641\u0632\u0648\u062f\u0646 \u0645\u0642\u062f\u0627\u0631 \u0628\u0648\u0644\u06cc \u062f\u0631\u0633\u062a \u0628\u0647 \u0645\u062a\u062f UseCodeBehindRoute\u060c \u0645\u062f\u06cc\u0631\u06cc\u062a \u062e\u0637\u0627 \u0631\u0627 \u0628\u0647 \u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0628\u0647 CodeBehind \u0628\u0633\u067e\u0627\u0631\u06cc\u062f.<\/p>\n<p>\u0645\u062b\u0627\u0644:<\/p>\n<p>app.UseCodeBehindRoute(true);<\/p>\n<p>    \u0648\u0627\u0631\u062f \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u0634\u0648\u06cc\u062f<\/p>\n<p>    \u0627\u0632 \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f<\/p>\n<p>\u062a\u0648\u062c\u0647: \u0644\u0637\u0641\u0627\u064b \u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0635\u0641\u062d\u0647 \u062e\u0637\u0627 \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0622\u0646 \u0645\u0634\u062e\u0635 \u06a9\u0646\u06cc\u062f code_behind \u0641\u0647\u0631\u0633\u062a \u0631\u0627\u0647\u0646\u0645\u0627.<\/p>\n<p>\u06a9\u062f\u0627\u0645 \u0686\u0627\u0631\u0686\u0648\u0628 ASP.NET Core \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u0645\u061f<\/p>\n<p>\u0644\u0637\u0641\u0627 \u067e\u0627\u0633\u062e \u0633\u0648\u0627\u0644 \u0628\u0627\u0644\u0627 \u0631\u0627 \u062f\u0631 \u0642\u0633\u0645\u062a \u0646\u0638\u0631\u0627\u062a \u0628\u0631\u0627\u06cc \u0645\u0627 \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f.<\/p>\n<p>  \u0644\u06cc\u0646\u06a9 \u0647\u0627\u06cc \u0645\u0631\u0628\u0648\u0637\u0647<\/p>\n<p>CodeBehind \u062f\u0631 GitHub:https:\/\/github.com\/elanatframework\/Code_behind<\/p>\n<p>CodeBehind \u062f\u0631 NuGet:https:\/\/www.nuget.org\/packages\/CodeBehind\/<\/p>\n<p>\u0635\u0641\u062d\u0647 CodeBehind:https:\/\/elanat.net\/page_content\/code_behind<\/p>\n<div data-article-id=\"1859335\" id=\"article-body\">\n<p>CodeBehind \u06cc\u06a9 \u0641\u0631\u06cc\u0645 \u0648\u0631\u06a9 \u0628\u06a9\u200c\u0627\u0646\u062f \u062c\u062f\u06cc\u062f \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 ASP.NET Core \u0627\u0633\u062a.  CodeBehind \u0645\u062a\u0639\u0644\u0642 \u0628\u0647 \u062a\u06cc\u0645 Elanat \u0627\u0633\u062a \u0648 \u0628\u0627 \u0686\u0627\u0631\u0686\u0648\u0628 \u0647\u0627\u06cc \u0648\u0628 \u067e\u06cc\u0634 \u0641\u0631\u0636 \u0645\u0627\u06cc\u06a9\u0631\u0648\u0633\u0627\u0641\u062a (Razor Pages\u060c MVC \u0648 Blazer) \u062f\u0631 NET Core \u0631\u0642\u0627\u0628\u062a \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<p>CodeBehind \u0633\u0627\u062f\u0647\u200c\u062a\u0631\u060c \u0627\u0646\u0639\u0637\u0627\u0641\u200c\u067e\u0630\u06cc\u0631\u062a\u0631 \u0648 \u0633\u0631\u06cc\u0639\u200c\u062a\u0631 \u0627\u0632 \u0686\u0627\u0631\u0686\u0648\u0628\u200c\u0647\u0627\u06cc \u0648\u0628 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0645\u0627\u06cc\u06a9\u0631\u0648\u0633\u0627\u0641\u062a \u0627\u0633\u062a.  \u0637\u0628\u0642 \u0622\u062e\u0631\u06cc\u0646 \u062a\u0633\u062a \u0647\u0627\u06cc \u062a\u06cc\u0645 \u0627\u0644\u0646\u0627\u062a\u060c CodeBehind \u062a\u0627 40 \u062f\u0631\u0635\u062f \u0633\u0631\u06cc\u0639\u062a\u0631 \u0627\u0632 \u0635\u0641\u062d\u0627\u062a Razor \u0648 MVC \u0645\u0627\u06cc\u06a9\u0631\u0648\u0633\u0627\u0641\u062a \u0627\u0633\u062a.<\/p>\n<p><strong>\u0644\u06cc\u0646\u06a9 \u0632\u06cc\u0631 \u0645\u0642\u0627\u0644\u0647 \u0627\u06cc \u062f\u0631 \u0645\u0648\u0631\u062f \u0639\u0645\u0644\u06a9\u0631\u062f \u062e\u06cc\u0631\u0647 \u06a9\u0646\u0646\u062f\u0647 \u0641\u0631\u06cc\u0645\u0648\u0631\u06a9 CodeBehind \u062a\u0648\u0633\u0637 \u062a\u06cc\u0645 \u0627\u0644\u0646\u0627\u062a \u0627\u0633\u062a.<\/strong><br \/>\u062a\u0633\u062a \u0639\u0645\u0644\u06a9\u0631\u062f\u060c ASP.NET Core MVC \u0648 Razor Pages \u062f\u0631 \u0645\u0642\u0627\u0628\u0644 CodeBehind Framework \u062f\u0631 \u0646\u0633\u062e\u0647 2.2<\/p>\n<p><strong>\u0627\u06af\u0631 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0631 \u0645\u0648\u0631\u062f \u0645\u0627\u0698\u0648\u0644\u0627\u0631 \u0628\u0648\u062f\u0646 \u062f\u0631 \u0686\u0627\u0631\u0686\u0648\u0628 CodeBehind \u0628\u06cc\u0634\u062a\u0631 \u0628\u062f\u0627\u0646\u06cc\u062f\u060c \u0644\u0637\u0641\u0627 \u0645\u0642\u0627\u0644\u0647 \u0632\u06cc\u0631 \u0631\u0627 \u0628\u062e\u0648\u0627\u0646\u06cc\u062f.<\/strong><br \/>\u0645\u0627\u0698\u0648\u0644\u0627\u0631 \u0628\u0648\u062f\u0646 \u062f\u0631 \u062d\u0627\u0644\u062a \u067e\u06cc\u0634 \u0641\u0631\u0636<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/media.dev.to\/cdn-cgi\/image\/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto\/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fem83g88pc3xpzyonre9o.jpg\" alt=\"CodeBehind Framework \u062f\u0631 \u0645\u0642\u0627\u0628\u0644 ASP.NET Core MVC\" loading=\"lazy\" width=\"800\" height=\"543\" title=\"\"><\/p>\n<p>\u0647\u0631 \u067e\u0631\u0648\u0698\u0647 \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 CodeBehind \u0628\u0647 \u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0627\u0632 \u0645\u0627\u0698\u0648\u0644\u0627\u0631 \u0628\u0648\u062f\u0646 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc \u06a9\u0646\u062f.  \u0641\u0642\u0637 \u0644\u0627\u0632\u0645 \u0627\u0633\u062a DLL \u0647\u0627 \u0631\u0627 \u062f\u0631 \u067e\u0648\u0634\u0647 bin \u0648 \u0635\u0641\u062d\u0627\u062a View \u0631\u0627 \u062f\u0631 \u0631\u06cc\u0634\u0647 \u067e\u0631\u0648\u0698\u0647 \u0641\u0639\u0627\u0644 \u0641\u0639\u0644\u06cc \u062a\u0648\u0632\u06cc\u0639 \u06a9\u0646\u06cc\u062f.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/media.dev.to\/cdn-cgi\/image\/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto\/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flofuz925suwgkvy5ap9r.png\" alt=\"CodeBehind 2.5 \u062f\u0631 NuGet\" loading=\"lazy\" width=\"800\" height=\"335\" title=\"\"><\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0646\u0633\u062e\u0647\u060c \u0686\u0646\u062f\u06cc\u0646 \u06a9\u0644\u0627\u0633 \u0645\u06cc\u0627\u0646\u200c\u0627\u0641\u0632\u0627\u0631 \u0627\u0636\u0627\u0641\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a \u062a\u0627 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc CodeBehind \u0628\u0633\u06cc\u0627\u0631 \u0622\u0633\u0627\u0646\u200c\u062a\u0631 \u0627\u0632 \u0642\u0628\u0644 \u0634\u0648\u062f.  \u0627\u0632 \u0627\u06cc\u0646 \u067e\u0633 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0686\u0627\u0631\u0686\u0648\u0628 CodeBehind \u0646\u0633\u062e\u0647 2.5 \u0628\u0647 \u0628\u0639\u062f \u0631\u0627 \u0637\u0628\u0642 \u06a9\u062f\u0647\u0627\u06cc \u0632\u06cc\u0631 \u062f\u0631 ASP.NET Core \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<p>CodeBehind 2.5 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u062f\u0631 \u0647\u0633\u062a\u0647 ASP.NET (\u06a9\u0644\u0627\u0633 Program.cs)<\/p>\n<div class=\"highlight js-code-highlight\">\n<pre class=\"highlight csharp\"><code><span class=\"kt\">var<\/span> <span class=\"n\">builder<\/span> <span class=\"p\">=<\/span> <span class=\"n\">WebApplication<\/span><span class=\"p\">.<\/span><span class=\"nf\">CreateBuilder<\/span><span class=\"p\">(<\/span><span class=\"n\">args<\/span><span class=\"p\">);<\/span>\n\n<span class=\"kt\">var<\/span> <span class=\"n\">app<\/span> <span class=\"p\">=<\/span> <span class=\"n\">builder<\/span><span class=\"p\">.<\/span><span class=\"nf\">Build<\/span><span class=\"p\">();<\/span>\n\n<span class=\"n\">SetCodeBehind<\/span><span class=\"p\">.<\/span><span class=\"n\">CodeBehindCompiler<\/span><span class=\"p\">.<\/span><span class=\"nf\">Initialization<\/span><span class=\"p\">();<\/span>\n\n<span class=\"n\">app<\/span><span class=\"p\">.<\/span><span class=\"nf\">UseCodeBehind<\/span><span class=\"p\">();<\/span>\n\n<span class=\"n\">app<\/span><span class=\"p\">.<\/span><span class=\"nf\">Run<\/span><span class=\"p\">();<\/span>\n<\/code><\/pre>\n<div class=\"highlight__panel js-actions-panel\">\n<div class=\"highlight__panel-action js-fullscreen-code-action\">\n    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" class=\"highlight-action crayons-icon highlight-action--fullscreen-on\"><title>\u0648\u0627\u0631\u062f \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u0634\u0648\u06cc\u062f<\/title>\n    <path d=\"M16 3h6v6h-2V5h-4V3zM2 3h6v2H4v4H2V3zm18 16v-4h2v6h-6v-2h4zM4 19h4v2H2v-6h2v4z\"\/>\n<\/svg><\/p>\n<p>    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" class=\"highlight-action crayons-icon highlight-action--fullscreen-off\"><title>\u0627\u0632 \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f<\/title>\n    <path d=\"M18 7h4v2h-6V3h2v4zM8 9H2V7h4V3h2v6zm10 8v4h-2v-6h6v2h-4zM8 15v6H6v-4H2v-2h6z\"\/>\n<\/svg><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0641\u0648\u0642 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0645\u0639\u0645\u0627\u0631\u06cc \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 MVC \u062f\u0631 CodeBehind \u0627\u0633\u062a\u060c \u062c\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0631\u062e\u0648\u0627\u0633\u062a\u200c\u0647\u0627 \u0627\u0628\u062a\u062f\u0627 \u0628\u0647 View \u0647\u062f\u0627\u06cc\u062a \u0645\u06cc\u200c\u0634\u0648\u0646\u062f \u0648 \u0633\u067e\u0633 \u06a9\u0646\u062a\u0631\u0644\u0631 \u0648 \u0645\u062f\u0644 \u0627\u0632 View \u0645\u0634\u062e\u0635 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f.  \u0627\u06cc\u0646 \u06cc\u06a9 \u0645\u0639\u0645\u0627\u0631\u06cc \u0627\u0646\u0642\u0644\u0627\u0628\u06cc \u0627\u0633\u062a \u06a9\u0647 \u062a\u0648\u0633\u0637 \u062a\u06cc\u0645 \u0627\u0644\u0646\u0627\u062a \u0627\u0631\u0627\u0626\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/p>\n<p>\u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0627\u0641\u0632\u0648\u062f\u0646 \u0645\u0642\u062f\u0627\u0631 \u0628\u0648\u0644\u06cc \u062f\u0631\u0633\u062a \u0628\u0647 \u0645\u062a\u062f UseCodeBehind\u060c \u0645\u062f\u06cc\u0631\u06cc\u062a \u062e\u0637\u0627 \u0631\u0627 \u0628\u0647 \u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0628\u0647 CodeBehind \u0628\u0633\u067e\u0627\u0631\u06cc\u062f.<\/p>\n<p>\u0645\u062b\u0627\u0644:<\/p>\n<div class=\"highlight js-code-highlight\">\n<pre class=\"highlight csharp\"><code><span class=\"n\">app<\/span><span class=\"p\">.<\/span><span class=\"nf\">UseCodeBehind<\/span><span class=\"p\">(<\/span><span class=\"k\">true<\/span><span class=\"p\">);<\/span>\n<\/code><\/pre>\n<div class=\"highlight__panel js-actions-panel\">\n<div class=\"highlight__panel-action js-fullscreen-code-action\">\n    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" class=\"highlight-action crayons-icon highlight-action--fullscreen-on\"><title>\u0648\u0627\u0631\u062f \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u0634\u0648\u06cc\u062f<\/title>\n    <path d=\"M16 3h6v6h-2V5h-4V3zM2 3h6v2H4v4H2V3zm18 16v-4h2v6h-6v-2h4zM4 19h4v2H2v-6h2v4z\"\/>\n<\/svg><\/p>\n<p>    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" class=\"highlight-action crayons-icon highlight-action--fullscreen-off\"><title>\u0627\u0632 \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f<\/title>\n    <path d=\"M18 7h4v2h-6V3h2v4zM8 9H2V7h4V3h2v6zm10 8v4h-2v-6h6v2h-4zM8 15v6H6v-4H2v-2h6z\"\/>\n<\/svg><\/p>\n<\/div>\n<\/div>\n<\/div>\n<blockquote>\n<p>\u062a\u0648\u062c\u0647: \u0644\u0637\u0641\u0627\u064b \u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0635\u0641\u062d\u0647 \u062e\u0637\u0627 \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0622\u0646 \u0645\u0634\u062e\u0635 \u06a9\u0646\u06cc\u062f <code>code_behind<\/code> \u0641\u0647\u0631\u0633\u062a \u0631\u0627\u0647\u0646\u0645\u0627.<\/p>\n<\/blockquote>\n<p>\u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u062a\u0631\u0644\u0631 \u062f\u0631 Route \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.  \u062a\u06cc\u0645 \u0627\u0644\u0646\u0627\u062a \u0646\u06cc\u0632 \u0628\u0627 \u0627\u0628\u062a\u06a9\u0627\u0631\u0627\u062a \u062e\u0648\u062f \u0633\u0627\u062e\u062a\u0627\u0631 \u0627\u06cc\u0646 \u0646\u0648\u0639 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0631\u0627 \u0645\u062a\u062d\u0648\u0644 \u06a9\u0631\u062f\u0647 \u0627\u0633\u062a \u0648 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u0627\u0646\u062c\u0627\u0645 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u067e\u06cc\u0686\u06cc\u062f\u0647 \u0646\u062f\u0627\u0631\u06cc\u062f.<\/p>\n<p>\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u062a\u0631\u0644\u0631 \u062f\u0631 Route \u0628\u0631\u0627\u06cc \u0686\u0627\u0631\u0686\u0648\u0628 CodeBehind \u0628\u0647 \u0635\u0648\u0631\u062a \u0632\u06cc\u0631 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc \u0634\u0648\u062f:<\/p>\n<div class=\"highlight js-code-highlight\">\n<pre class=\"highlight csharp\"><code><span class=\"kt\">var<\/span> <span class=\"n\">builder<\/span> <span class=\"p\">=<\/span> <span class=\"n\">WebApplication<\/span><span class=\"p\">.<\/span><span class=\"nf\">CreateBuilder<\/span><span class=\"p\">(<\/span><span class=\"n\">args<\/span><span class=\"p\">);<\/span>\n\n<span class=\"kt\">var<\/span> <span class=\"n\">app<\/span> <span class=\"p\">=<\/span> <span class=\"n\">builder<\/span><span class=\"p\">.<\/span><span class=\"nf\">Build<\/span><span class=\"p\">();<\/span>\n\n<span class=\"n\">SetCodeBehind<\/span><span class=\"p\">.<\/span><span class=\"n\">CodeBehindCompiler<\/span><span class=\"p\">.<\/span><span class=\"nf\">Initialization<\/span><span class=\"p\">();<\/span>\n\n<span class=\"n\">app<\/span><span class=\"p\">.<\/span><span class=\"nf\">UseCodeBehindRoute<\/span><span class=\"p\">();<\/span>\n\n<span class=\"n\">app<\/span><span class=\"p\">.<\/span><span class=\"nf\">Run<\/span><span class=\"p\">();<\/span>\n<\/code><\/pre>\n<div class=\"highlight__panel js-actions-panel\">\n<div class=\"highlight__panel-action js-fullscreen-code-action\">\n    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" class=\"highlight-action crayons-icon highlight-action--fullscreen-on\"><title>\u0648\u0627\u0631\u062f \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u0634\u0648\u06cc\u062f<\/title>\n    <path d=\"M16 3h6v6h-2V5h-4V3zM2 3h6v2H4v4H2V3zm18 16v-4h2v6h-6v-2h4zM4 19h4v2H2v-6h2v4z\"\/>\n<\/svg><\/p>\n<p>    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" class=\"highlight-action crayons-icon highlight-action--fullscreen-off\"><title>\u0627\u0632 \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f<\/title>\n    <path d=\"M18 7h4v2h-6V3h2v4zM8 9H2V7h4V3h2v6zm10 8v4h-2v-6h6v2h-4zM8 15v6H6v-4H2v-2h6z\"\/>\n<\/svg><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>\u0627\u0641\u0632\u0648\u062f\u0646 \u0645\u062a\u062f UseCodeBehindRoute \u0647\u0631 \u0628\u062e\u0634 \u0627\u0632 URL \u0631\u0627 \u0628\u062e\u0634 \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<blockquote>\n<p>\u0646\u06a9\u062a\u0647: Section \u0628\u0647 \u0645\u0639\u0646\u0627\u06cc \u0631\u0634\u062a\u0647 \u0647\u0627\u06cc \u0628\u06cc\u0646 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u0627\u0633\u0644\u0634 \u0627\u0633\u062a.<br \/>\u0645\u062b\u0627\u0644: <code>example.com\/section0\/section1\/section2<\/code><\/p>\n<\/blockquote>\n<p>\u0645\u062a\u062f UseCodeBehindRoute \u0645\u0642\u062f\u0627\u0631 \u0628\u062e\u0634 \u0631\u0627 0 \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc \u06a9\u0646\u062f.  \u0627\u06af\u0631 \u06cc\u06a9 Controller \u0628\u0627 \u0647\u0645\u0627\u0646 \u0646\u0627\u0645 \u0645\u0642\u062f\u0627\u0631 \u0642\u0633\u0645\u062a \u0627\u0648\u0644 \u0648\u062c\u0648\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f\u060c \u0645\u062a\u062f UseCodeBehindRoute Controller \u0631\u0627 \u0627\u062c\u0631\u0627 \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<p>\u0645\u062b\u0627\u0644:<\/p>\n<p>\u06a9\u0646\u062a\u0631\u0644\u0631 CodeBehind<\/p>\n<div class=\"highlight js-code-highlight\">\n<pre class=\"highlight csharp\"><code><span class=\"k\">using<\/span> <span class=\"nn\">CodeBehind<\/span><span class=\"p\">;<\/span>\n\n<span class=\"k\">namespace<\/span> <span class=\"nn\">YourProjectName<\/span>\n<span class=\"p\">{<\/span>\n    <span class=\"k\">public<\/span> <span class=\"k\">partial<\/span> <span class=\"k\">class<\/span> <span class=\"nc\">home<\/span> <span class=\"p\">:<\/span> <span class=\"n\">CodeBehindController<\/span>\n    <span class=\"p\">{<\/span>\n        <span class=\"k\">public<\/span> <span class=\"k\">void<\/span> <span class=\"nf\">PageLoad<\/span><span class=\"p\">(<\/span><span class=\"n\">HttpContext<\/span> <span class=\"n\">context<\/span><span class=\"p\">)<\/span>\n        <span class=\"p\">{<\/span>\n            <span class=\"nf\">Write<\/span><span class=\"p\">(<\/span><span class=\"s\">\"Route work fine\"<\/span><span class=\"p\">);<\/span>\n        <span class=\"p\">}<\/span>\n    <span class=\"p\">}<\/span>\n<span class=\"p\">}<\/span>\n<\/code><\/pre>\n<div class=\"highlight__panel js-actions-panel\">\n<div class=\"highlight__panel-action js-fullscreen-code-action\">\n    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" class=\"highlight-action crayons-icon highlight-action--fullscreen-on\"><title>\u0648\u0627\u0631\u062f \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u0634\u0648\u06cc\u062f<\/title>\n    <path d=\"M16 3h6v6h-2V5h-4V3zM2 3h6v2H4v4H2V3zm18 16v-4h2v6h-6v-2h4zM4 19h4v2H2v-6h2v4z\"\/>\n<\/svg><\/p>\n<p>    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" class=\"highlight-action crayons-icon highlight-action--fullscreen-off\"><title>\u0627\u0632 \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f<\/title>\n    <path d=\"M18 7h4v2h-6V3h2v4zM8 9H2V7h4V3h2v6zm10 8v4h-2v-6h6v2h-4zM8 15v6H6v-4H2v-2h6z\"\/>\n<\/svg><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>\u0628\u0627 \u062a\u0648\u062c\u0647 \u0628\u0647 \u06a9\u0644\u0627\u0633 Controller \u0628\u0627\u0644\u0627\u060c \u0627\u06af\u0631 \u0645\u0633\u06cc\u0631 <code>example.com\/home<\/code> \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0645\u06cc \u0634\u0648\u062f\u060c \u06a9\u0644\u0627\u0633 Controller \u0628\u0627\u0644\u0627 \u0627\u062c\u0631\u0627 \u0645\u06cc \u0634\u0648\u062f \u0648 <code>Route work fine<\/code> \u0631\u0634\u062a\u0647 \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/p>\n<p>\u0627\u06af\u0631 \u0646\u0627\u0645 \u06a9\u0644\u0627\u0633 Controller \u0628\u0627 \u0628\u062e\u0634 \u0645\u0648\u062c\u0648\u062f \u062f\u0631 url \u0645\u0637\u0627\u0628\u0642\u062a \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f\u060c \u0635\u0631\u0641 \u0646\u0638\u0631 \u0627\u0632 \u0641\u0636\u0627\u06cc \u0646\u0627\u0645\u060c \u06a9\u0644\u0627\u0633 Controller \u0627\u062c\u0631\u0627 \u0645\u06cc \u0634\u0648\u062f.<\/p>\n<p>\u0646\u0627\u0645 \u06a9\u0644\u0627\u0633 Controller \u0628\u0647 \u062d\u0631\u0648\u0641 \u06a9\u0648\u0686\u06a9 \u0648 \u0628\u0632\u0631\u06af \u062d\u0633\u0627\u0633 \u0627\u0633\u062a.  \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646\u060c \u0645\u0633\u06cc\u0631 <code>example.com\/Home<\/code> \u0646\u0645\u06cc \u062a\u0648\u0627\u0646\u062f Controller \u0631\u0627 \u0628\u0627 \u0646\u0627\u0645 \u06a9\u0644\u0627\u0633 \u062e\u0627\u0646\u0647 \u0627\u062c\u0631\u0627 \u06a9\u0646\u062f.<\/p>\n<p>\u0627\u06cc\u0646 \u0641\u0631\u0622\u06cc\u0646\u062f \u0645\u0627\u0698\u0648\u0644\u0627\u0631 \u0627\u0633\u062a\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0627\u06af\u0631 \u06cc\u06a9 dll \u062e\u0627\u0631\u062c\u06cc \u062f\u0627\u0631\u06cc\u062f \u06a9\u0647 \u062d\u0627\u0648\u06cc \u06a9\u0644\u0627\u0633 Controller \u0627\u0632 \u0686\u0627\u0631\u0686\u0648\u0628 CodeBehind \u0627\u0633\u062a\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0622\u0646 \u0631\u0627 \u062f\u0631 <code>wwwroot\/bin<\/code> \u0628\u0631\u0627\u06cc \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u06a9\u0644\u0627\u0633 Controller.<\/p>\n<p>\u0628\u0631\u062e\u0644\u0627\u0641 \u0633\u0627\u062e\u062a\u0627\u0631 \u0636\u0639\u06cc\u0641 \u067e\u06cc\u0634 \u0641\u0631\u0636 MVC \u062f\u0631 ASP.NET Core\u060c \u0641\u0631\u0622\u06cc\u0646\u062f \u0627\u062c\u0631\u0627\u06cc Controller \u067e\u0648\u06cc\u0627 \u0627\u0633\u062a \u0648 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u0627\u06cc\u062c\u0627\u062f \u0645\u062a\u062f \u0628\u0627 <code>IActionResult<\/code> \u062e\u0631\u0648\u062c\u06cc  \u062f\u0631 \u0646\u062a\u06cc\u062c\u0647 \u0628\u0647 \u062c\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0633\u062e\u062a \u0648 \u0648\u0627\u0628\u0633\u062a\u06af\u06cc \u06a9\u0627\u0645\u0644\u060c \u0627\u062a\u0635\u0627\u0644 \u0633\u0633\u062a \u0648 \u0648\u0627\u0628\u0633\u062a\u06af\u06cc \u06a9\u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0627\u0634\u062a.<\/p>\n<p>\u0645\u062b\u0627\u0644:<\/p>\n<p>\u06a9\u0646\u062a\u0631\u0644\u0631 \u067e\u0648\u06cc\u0627 \u062f\u0631 CodeBehind<\/p>\n<div class=\"highlight js-code-highlight\">\n<pre class=\"highlight csharp\"><code><span class=\"k\">using<\/span> <span class=\"nn\">CodeBehind<\/span><span class=\"p\">;<\/span>\n\n<span class=\"k\">namespace<\/span> <span class=\"nn\">YourProjectName<\/span>\n<span class=\"p\">{<\/span>\n    <span class=\"k\">public<\/span> <span class=\"k\">partial<\/span> <span class=\"k\">class<\/span> <span class=\"nc\">home<\/span> <span class=\"p\">:<\/span> <span class=\"n\">CodeBehindController<\/span>\n    <span class=\"p\">{<\/span>\n        <span class=\"k\">public<\/span> <span class=\"k\">void<\/span> <span class=\"nf\">PageLoad<\/span><span class=\"p\">(<\/span><span class=\"n\">HttpContext<\/span> <span class=\"n\">context<\/span><span class=\"p\">)<\/span>\n        <span class=\"p\">{<\/span>\n            <span class=\"k\">if<\/span> <span class=\"p\">(<\/span><span class=\"n\">Section<\/span><span class=\"p\">.<\/span><span class=\"nf\">Count<\/span><span class=\"p\">()<\/span> <span class=\"p\">&lt;<\/span> <span class=\"m\">2<\/span><span class=\"p\">)<\/span>\n            <span class=\"p\">{<\/span>\n                <span class=\"nf\">Write<\/span><span class=\"p\">(<\/span><span class=\"s\">\"This is main page\"<\/span><span class=\"p\">);<\/span>\n                <span class=\"k\">return<\/span><span class=\"p\">;<\/span>\n            <span class=\"p\">}<\/span>\n\n            <span class=\"k\">switch<\/span> <span class=\"p\">(<\/span><span class=\"n\">Section<\/span><span class=\"p\">.<\/span><span class=\"nf\">GetValue<\/span><span class=\"p\">(<\/span><span class=\"m\">1<\/span><span class=\"p\">))<\/span>\n            <span class=\"p\">{<\/span>\n                <span class=\"k\">case<\/span> <span class=\"s\">\"first\"<\/span><span class=\"p\">:<\/span> <span class=\"nf\">View<\/span><span class=\"p\">(<\/span><span class=\"s\">\"\/page1.aspx\"<\/span><span class=\"p\">);<\/span> <span class=\"k\">break<\/span><span class=\"p\">;<\/span>\n                <span class=\"k\">case<\/span> <span class=\"s\">\"second\"<\/span><span class=\"p\">:<\/span> <span class=\"nf\">View<\/span><span class=\"p\">(<\/span><span class=\"s\">\"\/page2.aspx\"<\/span><span class=\"p\">);<\/span> <span class=\"k\">break<\/span><span class=\"p\">;<\/span>\n                <span class=\"k\">case<\/span> <span class=\"s\">\"third\"<\/span><span class=\"p\">:<\/span> <span class=\"nf\">View<\/span><span class=\"p\">(<\/span><span class=\"s\">\"\/page3.aspx\"<\/span><span class=\"p\">);<\/span> <span class=\"k\">break<\/span><span class=\"p\">;<\/span>\n                <span class=\"k\">case<\/span> <span class=\"s\">\"fourth\"<\/span><span class=\"p\">:<\/span> <span class=\"nf\">View<\/span><span class=\"p\">(<\/span><span class=\"s\">\"\/page4.aspx\"<\/span><span class=\"p\">);<\/span> <span class=\"k\">break<\/span><span class=\"p\">;<\/span>\n            <span class=\"p\">}<\/span>\n        <span class=\"p\">}<\/span>\n    <span class=\"p\">}<\/span>\n<span class=\"p\">}<\/span>\n<\/code><\/pre>\n<div class=\"highlight__panel js-actions-panel\">\n<div class=\"highlight__panel-action js-fullscreen-code-action\">\n    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" class=\"highlight-action crayons-icon highlight-action--fullscreen-on\"><title>\u0648\u0627\u0631\u062f \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u0634\u0648\u06cc\u062f<\/title>\n    <path d=\"M16 3h6v6h-2V5h-4V3zM2 3h6v2H4v4H2V3zm18 16v-4h2v6h-6v-2h4zM4 19h4v2H2v-6h2v4z\"\/>\n<\/svg><\/p>\n<p>    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" class=\"highlight-action crayons-icon highlight-action--fullscreen-off\"><title>\u0627\u0632 \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f<\/title>\n    <path d=\"M18 7h4v2h-6V3h2v4zM8 9H2V7h4V3h2v6zm10 8v4h-2v-6h6v2h-4zM8 15v6H6v-4H2v-2h6z\"\/>\n<\/svg><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>\u06a9\u062f \u0628\u0627\u0644\u0627 \u06cc\u06a9 Controller \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u06a9\u0647 \u0631\u0634\u062a\u0647 \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f <code>This is main page<\/code> \u0627\u06af\u0631 \u0647\u06cc\u0686 \u0628\u062e\u0634 \u062f\u06cc\u06af\u0631\u06cc \u067e\u0633 \u0627\u0632 \u0628\u062e\u0634 \u0627\u0635\u0644\u06cc \u0648\u062c\u0648\u062f \u0646\u062f\u0627\u0631\u062f.  \u0627\u06af\u0631 \u0628\u062e\u0634 \u062f\u06cc\u06af\u0631\u06cc \u0628\u0647 \u0646\u0627\u0645 \u0627\u0648\u0644\u060c \u062f\u0648\u0645\u060c \u0633\u0648\u0645 \u0648 \u0686\u0647\u0627\u0631\u0645 \u0628\u0639\u062f \u0627\u0632 \u0628\u062e\u0634 \u0627\u0635\u0644\u06cc\u060c \u0635\u0641\u062d\u0627\u062a \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0634\u0648\u062f <code>page1.aspx<\/code>\u060c <code>page2.aspx<\/code>\u060c <code>page3.aspx<\/code> \u0648 <code>page4.aspx<\/code> \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628 \u0628\u0627\u0632\u06af\u0631\u062f\u0627\u0646\u062f\u0647 \u062e\u0648\u0627\u0647\u062f \u0634\u062f.<\/p>\n<p>\u0645\u062b\u0627\u0644:<\/p>\n<p>\u062f\u0631 \u062d\u0627\u0644 \u062f\u0631\u062e\u0648\u0627\u0633\u062a <code>example.com\/main\/first<\/code> \u0635\u0641\u062d\u0647 \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f <code>page1.aspx<\/code>.<\/p>\n<p>\u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0627\u0641\u0632\u0648\u062f\u0646 \u0645\u0642\u062f\u0627\u0631 \u0628\u0648\u0644\u06cc \u062f\u0631\u0633\u062a \u0628\u0647 \u0645\u062a\u062f UseCodeBehindRoute\u060c \u0645\u062f\u06cc\u0631\u06cc\u062a \u062e\u0637\u0627 \u0631\u0627 \u0628\u0647 \u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0628\u0647 CodeBehind \u0628\u0633\u067e\u0627\u0631\u06cc\u062f.<\/p>\n<p>\u0645\u062b\u0627\u0644:<\/p>\n<div class=\"highlight js-code-highlight\">\n<pre class=\"highlight csharp\"><code><span class=\"n\">app<\/span><span class=\"p\">.<\/span><span class=\"nf\">UseCodeBehindRoute<\/span><span class=\"p\">(<\/span><span class=\"k\">true<\/span><span class=\"p\">);<\/span>\n<\/code><\/pre>\n<div class=\"highlight__panel js-actions-panel\">\n<div class=\"highlight__panel-action js-fullscreen-code-action\">\n    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" class=\"highlight-action crayons-icon highlight-action--fullscreen-on\"><title>\u0648\u0627\u0631\u062f \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u0634\u0648\u06cc\u062f<\/title>\n    <path d=\"M16 3h6v6h-2V5h-4V3zM2 3h6v2H4v4H2V3zm18 16v-4h2v6h-6v-2h4zM4 19h4v2H2v-6h2v4z\"\/>\n<\/svg><\/p>\n<p>    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" class=\"highlight-action crayons-icon highlight-action--fullscreen-off\"><title>\u0627\u0632 \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f<\/title>\n    <path d=\"M18 7h4v2h-6V3h2v4zM8 9H2V7h4V3h2v6zm10 8v4h-2v-6h6v2h-4zM8 15v6H6v-4H2v-2h6z\"\/>\n<\/svg><\/p>\n<\/div>\n<\/div>\n<\/div>\n<blockquote>\n<p>\u062a\u0648\u062c\u0647: \u0644\u0637\u0641\u0627\u064b \u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0635\u0641\u062d\u0647 \u062e\u0637\u0627 \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0622\u0646 \u0645\u0634\u062e\u0635 \u06a9\u0646\u06cc\u062f <code>code_behind<\/code> \u0641\u0647\u0631\u0633\u062a \u0631\u0627\u0647\u0646\u0645\u0627.<\/p>\n<\/blockquote>\n<p><strong>\u06a9\u062f\u0627\u0645 \u0686\u0627\u0631\u0686\u0648\u0628 ASP.NET Core \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u0645\u061f<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/media.dev.to\/cdn-cgi\/image\/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto\/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmo6imlfkf4izun1mgj26.png\" alt=\"\u0686\u0627\u0631\u0686\u0648\u0628 \u0647\u0633\u062a\u0647 ASP.NET\" loading=\"lazy\" width=\"560\" height=\"582\" title=\"\"><\/p>\n<p>\u0644\u0637\u0641\u0627 \u067e\u0627\u0633\u062e \u0633\u0648\u0627\u0644 \u0628\u0627\u0644\u0627 \u0631\u0627 \u062f\u0631 \u0642\u0633\u0645\u062a \u0646\u0638\u0631\u0627\u062a \u0628\u0631\u0627\u06cc \u0645\u0627 \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f.<\/p>\n<h3>\n<p>  \u0644\u06cc\u0646\u06a9 \u0647\u0627\u06cc \u0645\u0631\u0628\u0648\u0637\u0647<br \/>\n<\/h3>\n<p>CodeBehind \u062f\u0631 GitHub:<br \/>https:\/\/github.com\/elanatframework\/Code_behind<\/p>\n<p>CodeBehind \u062f\u0631 NuGet:<br \/>https:\/\/www.nuget.org\/packages\/CodeBehind\/<\/p>\n<p>\u0635\u0641\u062d\u0647 CodeBehind:<br \/>https:\/\/elanat.net\/page_content\/code_behind<\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Summarize this content to 400 words in Persian Lang CodeBehind \u06cc\u06a9 \u0641\u0631\u06cc\u0645 \u0648\u0631\u06a9 \u0628\u06a9\u200c\u0627\u0646\u062f \u062c\u062f\u06cc\u062f \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 ASP.NET Core \u0627\u0633\u062a. CodeBehind \u0645\u062a\u0639\u0644\u0642 \u0628\u0647 \u062a\u06cc\u0645 Elanat \u0627\u0633\u062a \u0648 \u0628\u0627 \u0686\u0627\u0631\u0686\u0648\u0628 \u0647\u0627\u06cc \u0648\u0628 \u067e\u06cc\u0634 \u0641\u0631\u0636 \u0645\u0627\u06cc\u06a9\u0631\u0648\u0633\u0627\u0641\u062a (Razor Pages\u060c MVC \u0648 Blazer) \u062f\u0631 NET Core \u0631\u0642\u0627\u0628\u062a \u0645\u06cc \u06a9\u0646\u062f. CodeBehind \u0633\u0627\u062f\u0647\u200c\u062a\u0631\u060c \u0627\u0646\u0639\u0637\u0627\u0641\u200c\u067e\u0630\u06cc\u0631\u062a\u0631 \u0648 \u0633\u0631\u06cc\u0639\u200c\u062a\u0631 \u0627\u0632 \u0686\u0627\u0631\u0686\u0648\u0628\u200c\u0647\u0627\u06cc \u0648\u0628 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0645\u0627\u06cc\u06a9\u0631\u0648\u0633\u0627\u0641\u062a &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"","fifu_image_alt":"","footnotes":""},"categories":[339],"tags":[],"class_list":["post-63514","post","type-post","status-publish","format-standard","hentry","category-dev"],"_links":{"self":[{"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/posts\/63514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/comments?post=63514"}],"version-history":[{"count":0,"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/posts\/63514\/revisions"}],"wp:attachment":[{"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/media?parent=63514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/categories?post=63514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/tags?post=63514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}