473,386 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Multiple web project Assemblies in same bin folder.

The way I understand is that one web project has only one bin directory
and all reference and project assemblies sit in that bin directory.

Scenario is this. I have two web applications (lets say a.dll and b.dll
in their respective bin directories.) but my host will only allow one
application folder. Now is it possible to have a.dll and b.dll sit in
the same bin directory and perform their functions while the aspx are
contained in other directories of the same application? (Ref. to
directory tree below.)

Eg. of the directory tree.

/AppDir/
/bin/
a.dll
b.dll
/AApp/
a1.aspx
a2.aspx
a3.aspx
/BApp/
b1.aspx
b2.aspx
b3.aspx
default.aspx

Thanks for any assistance.

Apr 14 '06 #1
2 1719
First off, a host that doesn't allow you to define multiple application
starting points (IIS applications) should be seriously questioned as to their
viability. I know of at least 2, one of which I use for experimental work,
that allow this for as little as $15 / month on a shared hosting basis.

Having said that, simply put all the dlls in the Main /bin folder, and have
all the respective aspx pages in subfolders do their thing. The subfolders
would not be marked as IIS applications.

Hope that helps.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"ze****@gmail.com" wrote:
The way I understand is that one web project has only one bin directory
and all reference and project assemblies sit in that bin directory.

Scenario is this. I have two web applications (lets say a.dll and b.dll
in their respective bin directories.) but my host will only allow one
application folder. Now is it possible to have a.dll and b.dll sit in
the same bin directory and perform their functions while the aspx are
contained in other directories of the same application? (Ref. to
directory tree below.)

Eg. of the directory tree.

/AppDir/
/bin/
a.dll
b.dll
/AApp/
a1.aspx
a2.aspx
a3.aspx
/BApp/
b1.aspx
b2.aspx
b3.aspx
default.aspx

Thanks for any assistance.

Apr 14 '06 #2
Thanks Peter for your response.

If I understand correctly from your response:
1. All I do is add my second web projects DLL in the main bin directory
2. Add the second web projects folder to the main project's tree

And I do not need to mark second folder to be an Application or a
virtual directory. I can share the same web.config for both projects.

Please confirm.

Thanks again.

Apr 15 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Vagif Abilov | last post by:
We decided to adopt .NET coding guidelines posted by Brad Abrams from Microsoft: http://blogs.msdn.com/brada/archive/2005/01/26/361369.aspx Here is what Brad (and AFAIK Microsoft) suggests...
5
by: Edward Mitchell | last post by:
I am trying to include two class files into a web service project. The structure I have is a top level solution and project in a folder and below that, the web service project in it's own folder. ...
5
by: TB | last post by:
Hi All: This news group is proving to be great help on my path towards mastering ASP.NET thanks to all of you helpful souls out there. I am looking forward to the day when I can contribute...
21
by: Al Christoph | last post by:
I posted this last week end in the MSDN forums. No luck there. Let's see what the experts here have to say:-)))) I have a rather convoluted project. The distributable will come in eight...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.