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

Posted on 2008-05-28
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 500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

737 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