.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old October 31st, 2001, 04:57 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
How to integrate 2 ASP.NET apps in VS.NET

Originally posted by : Enav (secretagent@libero.it)Hi,I'm builing a web site and decided to do it in ASP.NET with VS.NET. I have asolution componed by a web projects. Some of them are class libraries andsome ASP.NET webapps. I can't keep all the files in one single ASP.NETproject, because I want to create separated assemblies for different part ofthe project. In other words, I need to have an assembly for the codebehindsof my UserManager "module", one for the Guestbook module and one for therest of the site. I do this way because if I have to change something in theguestbook or in the UserManager I don't have to recompiled one big assembly,but a small one, and I have to upload just that one.So where's the problem? The problem is that VS.NET creates a virtualdirectory for any ASP.NET app you create. This means that I cannot share mySessions variable between my Guestook "module", the USerManager and the restof the site, since they run in seprate Application domains. There is alsoanother problem. My structure is this:/MyWeb /Images /GuestbookGuesbook is created as a virtual directory, so if I write it won't load the image under /Images, since itdoes not recognize the parent folder.All this would not happen if I were developing with a normal text editor andcompiling my assemblies from the command line, because I would not createthe sub-virtual folders but still compile the files in separate assemblies!So, how to solve this problem, and integrate the separate assemblies? I canuse them as long as I don't need to share Session variables or refer to any"parent" path, but unfortunately I need to do that...I tried to change the Guestbook virtual dir and make it a normal dir, butVS.NET no longer compile the assembly then...Any suggestion? Manyt thanks in advance...- Enav

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > How to integrate 2 ASP.NET apps in VS.NET


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway