Trying to keep my code out of App_Code,
have two classes:
namespace BackEnd
{
public class PubTool
{
}
}
and
namespace BackEnd
{
public class Hub : PubTool
{
private string _hubName;
private DataTable _data;
public Hub(string hubId)
{
GetData(hubId);
}
}
}
if the classes are in one file all is good, but if they are in two different files, I get an error that PubTool isn’t found, so I’m sure I’m missing a reference somewhere but I don’t know where it should go.
So in the end, web projects don’t work that way, everything has to reside in App_Code