> My web directory structure is as follows:
> The root directory has the my own common framework's ASPX's and folders
f> or usercontrols, includes,stylesheets images etc used by the framework
a> nd other apps. The framework shows the initial interface (menu) to the
u> ser depending on access rights.
> Each .Net or ASP application has a folder within the virtual dir.
T> he aspx files inherit usercontrols of the framework using, for example,
t> he ../Security.ascx notation. The Classic ASP apps use
t> he ../Include/Security.inc notation.
> The aspx's are fired from a menu using the /app-folder-name/aspx-name
n> otation.
> I deployed my .net application by copying the .aspx and codebehind files
i> nto a folder below the virtual dir. I put the .net asssembly in the
root
b> in folder. The App works fine.
> Is this an ideal way of deployment? I have heard suggestions that
e> ach of the application folders below the virtual dir should have
o> nly the .aspx files and the codebehind files be made into a DLL and put
i> n the bin folder of the app's folder (not the root bin folder).
D> oes this mean each app's folder be a virtual directory by itself? If
t> hat's true, the ../Security.ascx inheritance does not work since .Net
t> hrows an error saying you are accessing another application (since the
i> nclude and usercontrol folders lie within the top virtual dir).
> What should I do to preserve the above architecture, yet get maximum
p> erformance? Is copying the .aspx.vb files along with the .aspx files
a> n issue?
> Thanks in advance.
> Sundar
Rahul,
Thanks for your reply. My problem is in creating the assembly
for each of the apps in the folders. When I create a new app
I want to create a separate folder and hang the app under the main virtual
dir. I don't want to create an assembly which includes the other
apps.
To create an assembly of the new app, I would have to make
it a web project under the main project. That's where I run into
inheritance problems with usercontrols etc since they belong in the top
virtual dir.
Thanks.
Sundar