diff --git a/csharp/codebehind/HomeController.cs b/csharp/codebehind/HomeController.cs index 95dbe00654d..7c26cc88e3d 100644 --- a/csharp/codebehind/HomeController.cs +++ b/csharp/codebehind/HomeController.cs @@ -4,7 +4,6 @@ public partial class DefaultController : CodeBehindController { public void PageLoad(HttpContext context) { - IgnoreViewAndModel = true; Write(""); // path: / } } diff --git a/csharp/codebehind/UserController.cs b/csharp/codebehind/UserController.cs index 6b719596e33..8987f073558 100644 --- a/csharp/codebehind/UserController.cs +++ b/csharp/codebehind/UserController.cs @@ -3,9 +3,7 @@ public partial class user : CodeBehindController { public void PageLoad(HttpContext context) - { - IgnoreViewAndModel = true; - + { if (Section.Count() > 0) Write(Section.GetValue(0)); // path: /user/{id} else diff --git a/csharp/codebehind/config.yaml b/csharp/codebehind/config.yaml index 7c181088b67..3476c8b7a77 100644 --- a/csharp/codebehind/config.yaml +++ b/csharp/codebehind/config.yaml @@ -1,3 +1,3 @@ framework: website: elanat.net - version: 3.4 + version: 3.6 diff --git a/csharp/codebehind/web.csproj b/csharp/codebehind/web.csproj index 014372cf398..da1044beb38 100644 --- a/csharp/codebehind/web.csproj +++ b/csharp/codebehind/web.csproj @@ -7,8 +7,7 @@ - - +