I've created a class file and stuck it into the App_Code folder of my website. I was under the impression that I should just be able to access it by typing the name of the class and accessing one of its methods. That obviously isn't the case? Do I need to include it somehow? Can that be done in the web.config folder? Also, I am aware of the fact that a class needs to be static in order for you to run it's methods without needing to instantiate it. I've declared the class in this manner:
public static class Database
{
...
...
...
}
Is this correct?
Start Free Trial