Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Multiple App_Code folders and Web.config files in ASP project?

Posted on 2008-05-28
Medium Priority
Last Modified: 2011-10-03
Is there a way to have mulitple App_Code folders or web.config files in an ASP project?  For instance, can you have them at different levels in a project?  

Question by:weimha
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 16

Expert Comment

ID: 21662102
Not that I am aware of.  Why/what would you need to do this for?

If it is for programmability, could you just use session variables?
LVL 22

Accepted Solution

neeraj523 earned 1500 total points
ID: 21662683

Yes, it is possible to have multiple web.config files in same web application. Each of the sub folder can have its own web.config files which inherit web.config file at web root. But subfolders having separate web.config file need to be configured as application at IIS level.

Never tried multiple App_Code folders but i feel again each folder can have its own provided it is configured as application at IIS


Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA:…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question