Problem with Example in Chapter 1 (Build Providers)
I am having a problem implementing the example in Chapter 1 relating to build providers.
I created the Evjen.car file as shown, created the Car.cs class file, added the reference to the .car file extension in the application's web.config file , and moved the .car file to the App_Code folder, as instructed.
The problem occurs when I am creating the web page to test it out. After I declared the variable (newCar) of the EvjenCar datatype, I receive the following error:
"The type or namespace name 'EvjenCar' could not be found (are you missing a using directive or an assembly reference?)"
Am I missing something here?
Please advise.
Thank you.
|