I am btrying to have a base page as a common repository for a set of
functions:
some business logic, set-reset session variables.
Can never get to run the aspx. Here is my agony:
basePage.cs
namespace dbLib{
public class basePage : System.Web.UI.Page
{
public basePage()
{
//
// TODO: Add constructor logic here
//
}
public string hostServer()
{
return Request.ServerVariables["HTTP_HOST"];
}
public string webAppsPath()
{
return Request.ServerVariables["PATH_INFO"];
}
}
}
My aspx.cs is:
public class _default:dbLib
In the Page_Load class, I can see hostServer() ... etc
But on the browser I always get: missing reference to the library.
I am not sure what I am missing ...