What is the purpose of the Assemblies node in Web.Config?

后端 未结 2 633
忘了有多久
忘了有多久 2020-11-30 12:22

When creating a new ASP.NET AJAX Web Application in Visual Studio 2005, the default web.config contains the following section (inside the compilation node):

相关标签:
2条回答
  • 2020-11-30 12:48

    It may or may not be safely removed. The Assemblies node is for configuration-based reference addition. It's used by ASP.NET websites that deploy uncompiled .cs code files to their website, rather than (as sensible people do) compiled assemblies.

    If you are deploying code-behind files to your website rather than assemblies, then keep it in. If you are deploying assemblies, remove it.

    0 讨论(0)
  • 2020-11-30 12:48

    Rick Strahl's Web log has short but concisely explaining article on the subject.

    0 讨论(0)
提交回复
热议问题