温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:Ajax实现无刷新添加和删除数据源码
当前文件路径:AjaxInsertDelete/Web.config

1<?xml version="1.0"?> 2
<!-- 3
娉ㄦ剰: 闄や簡鎵嬪姩缂栬緫姝ゆ枃浠朵互澶栵紝鎮ㄨ繕鍙互浣跨敤 4
Web 绠$悊宸ュ叿鏉ラ厤缃簲鐢ㄧ▼搴忕殑璁剧疆銆傚彲浠ヤ娇鐢?Visual Studio 涓殑 5
鈥滅綉绔欌?>鈥淎sp.Net 閰嶇疆鈥濋夐」銆? 6
璁剧疆鍜屾敞閲婄殑瀹屾暣鍒楄〃鍦? 7
machine.config.comments 涓紝璇ユ枃浠堕氬父浣嶄簬 8
\Windows\Microsoft.Net\Framework\v2.x\Config 涓? 9
--> 10
<configuration> 11
<appSettings/> 12
<connectionStrings> 13
<add name="str_Sql" connectionString="Data Source=.;Initial Catalog=test;User ID=sa;Password=sa" providerName="System.Data.SqlClient"/> 14
</connectionStrings> 15
<system.web> 16
<!-- 17
璁剧疆 compilation debug="true" 灏嗚皟璇曠鍙锋彃鍏? 18
宸茬紪璇戠殑椤甸潰涓備絾鐢变簬杩欎細 19
褰卞搷鎬ц兘锛屽洜姝ゅ彧鍦ㄥ紑鍙戣繃绋嬩腑灏嗘鍊? 20
璁剧疆涓?true銆? 21
--> 22
<compilation debug="true"/> 23
<!-- 24
閫氳繃 <authentication> 鑺傚彲浠ラ厤缃?ASP.NET 浣跨敤鐨? 25
瀹夊叏韬唤楠岃瘉妯″紡锛? 26
浠ユ爣璇嗕紶鍏ョ殑鐢ㄦ埛銆? 27
--> 28
<authentication mode="Windows"/> 29
<!--<globalization requestEncoding="gb2312" responseEncoding="gb2312"/>--> 30
31
<!-- 32
濡傛灉鍦ㄦ墽琛岃姹傜殑杩囩▼涓嚭鐜版湭澶勭悊鐨勯敊璇紝 33
鍒欓氳繃 <customErrors> 鑺傚彲浠ラ厤缃浉搴旂殑澶勭悊姝ラ銆傚叿浣撹鏉ワ紝 34
寮鍙戜汉鍛橀氳繃璇ヨ妭鍙互閰嶇疆 35
瑕佹樉绀虹殑 html 閿欒椤? 36
浠ヤ唬鏇块敊璇爢鏍堣窡韪? 37
38
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> 39
<error statusCode="403" redirect="NoAccess.htm" /> 40
<error statusCode="404" redirect="FileNotFound.htm" /> 41
</customErrors> 42
--> 43
</system.web> 44
</configuration> 45


