Configuration file schema for the .NET Framework

本文介绍.NET Framework配置文件元素,包括运行时设置、Web设置及ASP.NET设置等,详细解析了assemblyBinding、dependentAssembly、system.web等关键元素的作用及使用方法。

https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/index

 

Runtime Settings Schema

Describes the elements that configure assembly binding and runtime behavior.

<assemblyBinding> Element for <runtime>

Contains information about assembly version redirection and the locations of assemblies.

<dependentAssembly> Element

Encapsulates binding policy and assembly location for each assembly.

Use one dependentAssembly element for each assembly.

 

 

 

 

Web Settings Schema

All elements in the Web settings schema, which includes elements for configuring how ASP.NET works with a host application such as IIS. Used in Aspnet.config files.

<system.web> Element (Web Settings)

 

 

ASP.NET Settings Schema

Describes the elements that control the behavior of ASP.NET Web applications.

system.web Element (ASP.NET Settings Schema)

compilation Element (ASP.NET Settings Schema)

child element
assemblies

Defines a collection of names of assemblies that are used during compilation of an ASP.NET resource.

 Remarks

In the .NET Framework version 2.0, the compilers child element of the compilation element is deprecated in favor of the compilers element of the system.codeDom section.

However, using the compilers child element of the compilation element is still valid and overrides the compilers element that is located in the system.codedom section.

 

<probing> Element

https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/runtime/probing-element

Specifies application base subdirectories for the common language runtime to search when loading assemblies.

<configuration>
<runtime>
<assemblyBinding>
<probing>  

 

转载于:https://www.cnblogs.com/chucklu/p/7569187.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值