Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Subdirectories in an application

0 views
Skip to first unread message

Miguel

unread,
Apr 30, 2008, 12:17:57 PM4/30/08
to
Hello,

I need to put some files in a subfolder because I don't want all
the files in the subfolder to be under form authentication.

The problem is that in the root folder I have a "App_code" folder,
where I have clasess to instanciate. This clases are not accesible
from the aspx's located in the directory.

My configuration look like this.

- My_App_Example_Folder
-login.aspx
-changepwd.aspx

- App_code
- MyClass.vb

- New_Subfolder
- hello.aspx
- hello2.aspx


I had to declare New_Subfolder as an Application virtual Directory.
¿Do I have to?
And the main problem. Why is Myclass.vb not visible from hello.aspx??.


Thank you very much for your help.

Fernando Rodriguez

unread,
May 1, 2008, 9:00:50 PM5/1/08
to
Why not compile the stuff that you got on the App_Code folder as a DLL?,
That way you can put it on the bin folder and use it through the whole app
(and even other apps).

"Miguel" <mahe...@gmail.com> wrote in message
news:37d38961-26af-41db...@p25g2000hsf.googlegroups.com...

clintonG

unread,
Apr 30, 2008, 8:57:39 PM4/30/08
to
Put another web.config into the subfolder and write authentication or the
lack thereof into that web.config which will manage that subdirectory. How
to do this is all over the web and MSDN2 where you can find documentation.

"Miguel" <mahe...@gmail.com> wrote in message
news:37d38961-26af-41db...@p25g2000hsf.googlegroups.com...

0 new messages