473,722 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

installing another Web Site Project inside my existing VS2005 website project

Hi,

How do I go about installing another Web Site Project inside my existing
VS2005 website project. I currently have both a forum WSP and my main WSP
application within the same solution. Both compile and run without error.
However they are separate applications and I would like to have them
together in order to make use of my masterpages, and share controls between.
Do I need to combine the web.config files? I figured I would just create a
folder within my current main WSP ( Web Site PRoject ) and call it something
like Forum and then copy the contents of the working Forum Web Site Project
into this new "Forum" folder, but what do I need to do from there?, What
about the app_code folder should I merge the contents from both, how about
the web.config, am I allowed to have two? one in each folder? I'm not sure
if I'm going about this the correct way but what I'l trying to do is
integrate a forum into my main website project, also my main website makes
use of master pages, so ideally I would just link to include the forum
located within the other WSP into the content area of my main WSP forum
page. Is there perhaps a better way to accomplish this. i.e. could I make
thie other WSP forum project into a user control or something that I could
then embed directly into the content page of another main WSP page, much in
the same manner as I would embed a VS tool? or am I best to try and merge
the two WSP projects together.

Any and all advice would be grealt appreciated.

Also both my vs2005 applications are website projects, not the new Website
Application Projects.

All help would be appreciated,

Thanks,

Back to top
May 23 '06 #1
2 2057
If I'm not mistaken virtual folders are considered to be application
boundaries for web applications. I mean, for instance, you can not load
controls dynamically if controls are residing in a different virtual folder
than your web application's. And every virtual folder can have a web.config
file within its root (This also applies for the nested virtual folders
scenario.) . You might consider using location element and its path
attribute (in web.config) to restrict access to specific portion of your web
pages. That might save you from using two different web.config files and two
different virtual folders. So you can use a single virtual folder for your
web application and create a non-virtual folder within that virtual folder
to put your forum specific controls and pages and restrict access to those
pages by using location element in your web applications web.config file. Or
you may create some class libraries and web control libraries combined to
package your -embeddable- forum service and then implement that to your web
application. The second one seems like a better solution to me since that
would achieve true modularity.

"Rob Dob" <ro************ @yahoo.com> wrote in message
news:OW******** ******@TK2MSFTN GP03.phx.gbl...
Hi,

How do I go about installing another Web Site Project inside my existing
VS2005 website project. I currently have both a forum WSP and my main WSP
application within the same solution. Both compile and run without error.
However they are separate applications and I would like to have them
together in order to make use of my masterpages, and share controls
between. Do I need to combine the web.config files? I figured I would just
create a folder within my current main WSP ( Web Site PRoject ) and call
it something like Forum and then copy the contents of the working Forum
Web Site Project into this new "Forum" folder, but what do I need to do
from there?, What about the app_code folder should I merge the contents
from both, how about the web.config, am I allowed to have two? one in each
folder? I'm not sure if I'm going about this the correct way but what I'l
trying to do is integrate a forum into my main website project, also my
main website makes use of master pages, so ideally I would just link to
include the forum located within the other WSP into the content area of my
main WSP forum page. Is there perhaps a better way to accomplish this.
i.e. could I make thie other WSP forum project into a user control or
something that I could then embed directly into the content page of
another main WSP page, much in the same manner as I would embed a VS
tool? or am I best to try and merge the two WSP projects together.

Any and all advice would be grealt appreciated.

Also both my vs2005 applications are website projects, not the new Website
Application Projects.

All help would be appreciated,

Thanks,

Back to top

May 23 '06 #2
Hi,

">Or
you may create some class libraries and web control libraries combined to
package your -embeddable- forum service and then implement that to your
web application. The second one seems like a better solution to me since
that would achieve true modularity.

"

Is it a difficult venture to take an existing vs 2005 website project and
convert it to a web control library?

Also I guess combining the two projext is NOT the recommended approach
coorrect?

Thanks for all your help.
May 23 '06 #3

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

Similar topics

4
1484
by: bryan | last post by:
I'm still using Beta 2 of VS2005. I'd like to be able to precompile my web site (similar to 1.x) so that I don't have to put source files on the deployment server. Is there anyway to do this other than with the command line aspnet_compiler.exe tool? Thanks, Bryan
8
3165
by: Graham | last post by:
I noticed a similar post awhile ago and in terms of my problem it wasnt a suitable answer so I will ask again. I have VS2005 running a on development machine in my office where I do all my development on existing and new applications. This environment also has its own Sql Server with dev versions of all our live Databases. Our live production server also its own Sql Server, these 2 Sql Servers are kept completely separate (for obvious...
6
3629
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a list of all of my webs, however if I attempt to open a site under and web other than localhost I receive the message: "Unable to open the Web 'http://localhost/anywebappname'. The Web 'http://localhost/anywebappname' does not exist" Obviously...
2
6898
by: Alec MacLean | last post by:
Hi I've just recently upgraded to VS2005 and started using/learning about the Master Pages. I'd like to know if it is possible to have separate web app projects use the master page(s) from their "parent" site. E.g.: Main site at http://localhost/mainsite/
6
4109
by: gerry | last post by:
On winXP with VSTE for software developers installed, I downloaded and installed vs2005 sp1 during the install i was informed that I had to uninstall the web application project package I did the uninstall of the wap and restarted the install everything seemed to go fine with the sp install after that however when I try to open an existing web application project or create a new web application project i get the following error :
3
2407
by: DBLWizard | last post by:
Howdy All, Is it possible to have Visual Studio 2005 create a project form an existing hosted website? In other words I want to be able connect via ftp to my website structure and have it pull down all the files and create a local project from it? I know things like DreamWeaver will do this ... and I have been poking around VS 2005 and haven't seen anything that jumps out at me.
19
1882
by: nyhetsgrupper | last post by:
Hi, Which project type do you prefer? Is the web site or web application project the best solution? The application I am about to write is completly new so migrating from vs 2003 is not an issue, but it has to be easy to deploy the application (precompiled, I don't want to give away my source)
9
2928
by: Jason | last post by:
Hi all, I am no longer able to publish a web site project using Visual Studio 2005 Professional. I am publishing it to an FTP url, and this used to work just fine. I enter the username and password and select "passive mode" when publishing the site, like I have always done. Visual Studio deletes the existing files, but then doesn't write the new ones, though it tells me the operation was
5
1223
by: mark4asp | last post by:
I have a website written in asp.net 1.1 Is it possible to convert it to asp.net 2.0 There is no solution or project file. I'm using VS2005.
0
9238
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9157
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9088
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6681
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4502
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4762
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3207
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2602
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2147
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.