I have a VS 2005 website project. I have created a folder in App_code called "BL".
In BL folder, I have a User.cs class. So the structure is, App_Code/BL/User.cs.
Now, I create a new aspx page. In this page, it is not detecting User.cs.. It is showing up .net framework's User(Page.User) class. I thought this might be a conflict of namespaces or something and so I gave a namespace to my User.cs. The namespace given for this class is Sitename.BL..
But the namespace(Sitename.BL) doesn't even show up in when I type "Using.. "
If I create another cs in the BL folder, its able to recognize the class. I don;t know where I am going wrong. I don't want to create web application and create a separate BL class library and all for a small website as mine.
Any help is greatly appreciated.