I have a fundamental question that I hope doesn't get too many laughs.
I have a web site in visual web developer express in c#. I've added a couple of class files to the app_code folder (these are 3rd party class files, I did not write them).
When I instantiate, I get an error:
"The type or namespace name 'Customer' could not be found (are you missing a using directive or an assembly reference?)"
Here's the code snippet:
protected void Page_Load(object sender, EventArgs e)
CustomerPost newCustomer = new CustomerPost();
newCustomer.Code = new Guid().ToString();
newCustomer.Company = "CompanyName";
newCustomer.FirstName = "FirstName";
newCustomer.LastName = "LastName";
newCustomer.Email = "email@example.com";
newCustomer.PlanCode = PlanCodeEnum.Trial;
Customer returnCustomer = CheddarGetter.CreateCustomer(newCustomer);
What am I missing here? I know it has to be simple :)