reference namespace in different asp.net app 2.0
Posted on 2009-04-02
I am developing an asp.net site, inside of this site I have YAF running in a virtural directory as separate App named yaf.
In my main app, I followed the steps from yaf forum to integrate the main app with yaf app. Basically I change the web.config in the main app. and copy over the yafnet.config to the root folder. the purpose is to make the login in main app will also login the user in YAF.
In my login page I can reference the yaf namespace with
object userID = yaf.DB.user_login(1, UserName.Text, sPassword);
This worked fine.
Now I have another app newCart also inside of another virtual directory. How can referce the yaf namespace?
the structure is
Any help is grately appreciated.