hi there
i usually create asp.net websites and have a few classes i use, mainly a baseclass normally i would change
public partial class _default : Page
to public partial class _default : BaseClass
with a using at the top of the namespace name
however i dont seem to be able to do this in MVC, how do i get my baseclass or any other class into my mvc page.
the reason i ask is that i have a class called errors, i usually have this in my global.asax file:
void Application_Error(object sender, EventArgs e)
{
Exception objErr = Server.GetLastError().GetBaseException();
namespace.errors.WriteError(Request.Url.ToString(), objErr.Message);
}
but i seem unable to do this, even with a shared namespace across the whole site
it is most probable that this question is lame but what the hell :-)
ta