Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Trying to understand assembly references in Web.config

Posted on 2011-05-01
Medium Priority
Last Modified: 2012-08-13
I've busted this question into three parts.  This is part one.  

Over the last few months, I've dragged and dropped some chart controls and some other ASP standard and data controls onto some web forms in my project.   Subsequently, some assembly references have appeared in my project Web.config file.  

- Figure 1 shows the project's current assembly references in Web.config.  
- Figure 2 shows the project's current assembly references in the manifest.  
- One more piece if interesting information: If I delete all assembly references from Web.config on the development server, I can still build the project successfully.

I've noticed that there's some overlap (System.Web.DataVisualization is referenced in both places).  Mostly, however, the references don't overlap.  

What's up with the two sets assembly references?  
How does .NET decide make the decision, "Aha, this assembly reference belongs in Web.config whereas this assembly reference belongs in the manifest."?
Question by:jdana

Accepted Solution

dexion432 earned 750 total points
ID: 35503233
References are stored in the project files, decision is based on the dll version.

References existing in your project but not existing in your web.config depends on the project template file.

Author Closing Comment

ID: 35754398

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month13 days, 19 hours left to enroll

581 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