I have the following
namespace MyWebsite.GeneralCode
{
/// <SUMMARY>
/// Base class with properties for meta tags for content pages
/// </SUMMARY>
public class BasePage : System.Web.UI.Page
{
}
}
and
namespace MyWebsite
{
// System.Web.UI.Page
public partial class Home : BasePage
{
}
}
and
<%@ Page Language="C#" MasterPageFile="~/MyWebSite.Master" AutoEventWireup="true"
CodeBehind="Home.aspx.cs" Inherits="MyWebsite.Home"
CodeFile="~/GeneralCode/BasePage.cs"
CodeFileBaseClass="MyWebsite.GeneralCode.BasePage"
Title="Home Page"
Meta_Keywords="yabba dabba doo"
Meta_Description="Home page for the site."
%>
<as ...
Go to the complete details ...