Hi,
MonoX Default page is one of the demo pages that are present in the MonoX CMS so you can use the code from the GitHub -
MonoX-Demo-Pages, also if you put your custom cs file in to the project under the
Default.aspx you will need to direct everything to that file and class in order to get it working. So you need to point the following to your newly added cs file and class
//Old
<%@ Page
Language="C#"
AutoEventWireup="true"
MasterPageFile="/MonoX/MasterPages/Default.master"
Inherits="MonoSoftware.MonoX.Pages.Default"
Title="MonoX - Portal Framework for ASP.NET"
Codebehind="Default.aspx.cs" %>
//New
<%@ Page
Language="C#"
AutoEventWireup="true"
MasterPageFile="/MonoX/MasterPages/Default.master"
Inherits="YourNameSpace.Pages.YourDefault"
Title="MonoX - Portal Framework for ASP.NET"
Codebehind="YourDefault.aspx.cs" %>
Regards