Skip to main content

Posts

Showing posts from October, 2007

Importance of Namespace

Recently I have been developing a content managed website. The website worked fine on my machine (I can see developers grinning there!). The problem started when I published this website on a live server. It started giving out strange error like "no code found at line..." and it was pointing a dll in a temporary file in .Net framework folder. After some investigation, it turns out that my class names were clashing with others. I renamed the classes and class files and it sorted the problem. A proper solution to this would be to define you own namespace and make sure all the classes are within that namespace. This is also important if you are deploying website on shared server. Raj