{"id":778,"date":"2007-12-19T16:46:00","date_gmt":"2007-12-19T16:46:00","guid":{"rendered":"\/post\/1386\/09\/28\/d985d8afdb8cd8b1db8cd8aa-d8aed8b7d8a7-d8a8d988d8b3db8cd984d987-webconfig"},"modified":"2007-12-19T16:46:00","modified_gmt":"2007-12-19T16:46:00","slug":"%d9%85%d8%af%db%8c%d8%b1%db%8c%d8%aa-%d8%ae%d8%b7%d8%a7-%d8%a8%d9%88%d8%b3%db%8c%d9%84%d9%87-web-config","status":"publish","type":"post","link":"https:\/\/mesbahi.net\/fa\/blog\/1386\/09\/28\/%d9%85%d8%af%db%8c%d8%b1%db%8c%d8%aa-%d8%ae%d8%b7%d8%a7-%d8%a8%d9%88%d8%b3%db%8c%d9%84%d9%87-web-config\/","title":{"rendered":"\u0645\u062f\u06cc\u0631\u06cc\u062a \u062e\u0637\u0627 \u0628\u0648\u0633\u06cc\u0644\u0647 web.config"},"content":{"rendered":"<p dir=\"rtl\" align=\"justify\"><img loading=\"lazy\" decoding=\"async\" style=\"border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 0px 0px 10px; border-right-width: 0px\" height=\"128\" alt=\"Error\" src=\"http:\/\/mesbahi.net\/fa\/wp-content\/uploads\/sites\/3\/pictures\/migration\/WindowsLiveWriter\/web.config_EC8B\/Error_3.png\" width=\"128\" align=\"right\" border=\"0\">&nbsp;&nbsp; \u06cc\u06a9\u06cc \u0627\u0632 \u062a\u0648\u0635\u06cc\u0647 \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0639\u0645\u0648\u0645\u0627 \u0628\u0647 \u062f\u0627\u0646\u0634\u062c\u0648\u0647\u0627\u0645 \u062f\u0627\u0631\u0645\u060c \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u0627\u0632 \u06a9\u062f\u0647\u0627\u06cc \u0646\u0645\u0648\u0646\u0647 \u0645\u0627\u06cc\u06a9\u0631\u0648\u0633\u0627\u0641\u062a \u06a9\u0647 \u0645\u0639\u0631\u0648\u0641 \u062a\u0631\u06cc\u0646\u0634\u0648\u0646 \u0647\u0645 Enterprise Library&nbsp; \u062d\u062f\u0627\u06a9\u062b\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0631\u0648 \u062c\u0647\u062a \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0647\u0631\u0686\u0647 \u0628\u0647\u062a\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0627\u0635\u0648\u0644\u06cc \u0628\u0628\u0631\u0646. \u0686\u06cc\u0632\u06cc \u06a9\u0647 \u0628\u0647 \u06a9\u0631\u0627\u062a \u062f\u0631 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u0647\u0627\u06cc \u0648\u0628 \u0628\u06cc\u0633 \u062f\u06cc\u062f\u0645\u060c \u062d\u062a\u06cc \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062a\u0648\u0633\u0637 \u062a\u06cc\u0645 \u0647\u0627\u06cc \u0628\u0647 \u0627\u0635\u0637\u0644\u0627\u062d \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u06cc \u0648 \u0645\u062a\u062e\u0635\u0635 \u0634\u0631\u06a9\u062a \u0647\u0627\u06cc \u0628\u0647 \u0627\u0635\u0637\u0644\u0627\u062d \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u06cc \u0646\u0648\u0634\u062a\u0647 \u0645\u06cc\u0634\u0647 \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u0645\u062f\u06cc\u0631\u06cc\u062a \u062e\u0637\u0627\u0647\u0627 \u06cc\u0627 Exception Handling \u0631\u0648 \u0628\u0647 \u0647\u06cc\u0686 \u0648\u062c\u0647 \u0645\u062f\u0646\u0638\u0631 \u0642\u0631\u0627\u0631 \u0646\u0645\u06cc \u062f\u0647\u0646\u062f.<\/p>\n<p>\u06cc\u06a9\u06cc \u0627\u0632 \u06a9\u0645\u06a9 \u0647\u0627\u06cc\u06cc \u06a9\u0647 Enterprise Library \u0628\u0647 \u0645\u0627 \u0645\u06cc \u06a9\u0646\u0647 \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u062f\u0631 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u0647\u0627 \u0648 \u062e\u0635\u0648\u0635\u0627 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u0647\u0627\u06cc \u0648\u0628 \u0628\u06cc\u0633 \u0645\u062f\u06cc\u0631\u06cc\u062a \u062e\u0637\u0627 \u0631\u0648 \u0628\u0627 \u0686\u0646\u062f \u062e\u0637 \u06a9\u062f\u060c \u0628\u0647 \u0634\u06a9\u0644 \u062e\u0648\u0628\u06cc \u0628\u0647\u06cc\u0646\u0647 \u06a9\u0646\u06cc\u0645. \u0686\u062c\u0648\u0631\u06cc \u061f<br \/>\u06a9\u0627\u0641\u06cc\u0647 \u062a\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 namespace \u0647\u0627\u06cc \u0632\u06cc\u0631 \u06cc\u0647 \u06a9\u0644\u0627\u0633 \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f \u06a9\u0647 \u062e\u0637\u0627 \u0631\u0648 \u0631\u06cc\u062f\u0627\u06cc\u0631\u06a9\u062a \u06a9\u0646\u0647 \u0628\u0647 \u062a\u0648\u0627\u0628\u0639 E.L \u0648 \u0628\u0639\u062f \u062a\u0648 web.config \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0644\u0627\u0632\u0645 \u06a9\u0647 \u062f\u0631 \u0632\u06cc\u0631 \u062e\u0648\u0627\u0647\u0645 \u0646\u0648\u0634\u062a \u0627\u0639\u0645\u0627\u0644 \u06a9\u0646\u06cc\u062f&#8230; \u0627\u06af\u0631 \u0627\u06cc\u0646\u0642\u062f\u0631 \u0645\u062e\u062a\u0635\u0631 \u0646\u0648\u0634\u062a\u0645 \u0686\u0648\u0646 \u06cc\u06a9\u06cc \u062f\u0648 \u062a\u0627 \u0627\u0632 \u062f\u0627\u0646\u0634\u062c\u0648\u06cc\u0627\u0646 \u062f\u06cc\u0631\u0648\u0632 \u0648 \u0627\u0639\u0636\u0627\u06cc \u0627\u0645\u0631\u0648\u0632 NET Solutions. \u067e\u0631\u0633\u06cc\u062f\u0647 \u0628\u0648\u062f\u0646 \u0648 \u062b\u0627\u0646\u06cc\u0627 \u0628\u0647 \u062f\u0644\u0627\u06cc\u0644\u06cc \u06a9\u0647 \u062f\u0631 \u067e\u0633\u062a \u0642\u0628\u0644 \u0630\u06a9\u0631 \u06a9\u0631\u062f\u0645 \u062d\u0648\u0635\u0644\u0647 \u06cc \u0647\u06cc\u0686\u06cc \u0631\u0648 \u0646\u062f\u0627\u0631\u0645!<\/p>\n<p dir=\"ltr\">\n<p>Microsoft.Practices.EnterpriseLibrary.Common.Configuration<br \/>Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder<br \/>Microsoft.Practices.EnterpriseLibrary.ExceptionHandling<br \/>Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration <\/p>\n<p>web.config Attributes :<\/p>\n<div style=\"border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 89.6%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas,'Courier New',courier,monospace; height: 258px; background-color: rgb(244,244,244)\">\n<div style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none\">\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">   1:<\/span> <span style=\"color: rgb(0,0,255)\">&lt;<\/span><span style=\"color: rgb(128,0,0)\">configuration<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">   2:<\/span> <span style=\"color: rgb(0,0,255)\">&lt;<\/span><span style=\"color: rgb(128,0,0)\">configSections<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">   3:<\/span>  <span style=\"color: rgb(0,0,255)\">&lt;<\/span><span style=\"color: rgb(128,0,0)\">section<\/span> <span style=\"color: rgb(255,0,0)\">name<\/span><span style=\"color: rgb(0,0,255)\">=\"exceptionHandling\"<\/span> <span style=\"color: rgb(255,0,0)\">type<\/span><span style=\"color: rgb(0,0,255)\">=\"Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"<\/span><span style=\"color: rgb(0,0,255)\">\/&gt;<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">   4:<\/span> <span style=\"color: rgb(0,0,255)\"><span style=\"color: rgb(128,0,0)\">configSections<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">   5:<\/span>  <span style=\"color: rgb(0,0,255)\">&lt;<\/span><span style=\"color: rgb(128,0,0)\">exceptionHandling<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">   6:<\/span>   <span style=\"color: rgb(0,0,255)\">&lt;<\/span><span style=\"color: rgb(128,0,0)\">exceptionPolicies<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">   7:<\/span>   <span style=\"color: rgb(0,0,255)\">&lt;<\/span><span style=\"color: rgb(128,0,0)\">add<\/span> <span style=\"color: rgb(255,0,0)\">name<\/span><span style=\"color: rgb(0,0,255)\">=\"General Policy\"<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">   8:<\/span>   <span style=\"color: rgb(0,0,255)\">&lt;<\/span><span style=\"color: rgb(128,0,0)\">exceptionTypes<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">   9:<\/span>   <span style=\"color: rgb(0,0,255)\">&lt;<\/span><span style=\"color: rgb(128,0,0)\">add<\/span> <span style=\"color: rgb(255,0,0)\">type<\/span><span style=\"color: rgb(0,0,255)\">=\"System.Data.SqlClient.SqlException, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  10:<\/span>    <span style=\"color: rgb(255,0,0)\">postHandlingAction<\/span><span style=\"color: rgb(0,0,255)\">=\"None\"<\/span> <span style=\"color: rgb(255,0,0)\">name<\/span><span style=\"color: rgb(0,0,255)\">=\"SqlException\"<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  11:<\/span>   <span style=\"color: rgb(0,0,255)\">&lt;<\/span><span style=\"color: rgb(128,0,0)\">exceptionHandlers<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  12:<\/span>    <span style=\"color: rgb(0,0,255)\">&lt;<\/span><span style=\"color: rgb(128,0,0)\">add<\/span> <span style=\"color: rgb(255,0,0)\">url<\/span><span style=\"color: rgb(0,0,255)\">=\"~\/ErrorPage\/DatabaseFailed.aspx\"<\/span> <span style=\"color: rgb(255,0,0)\">type<\/span><span style=\"color: rgb(0,0,255)\">=\"ErrorHandling.CustomExcepetion, ErrorHandling, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  13:<\/span>     <span style=\"color: rgb(255,0,0)\">name<\/span><span style=\"color: rgb(0,0,255)\">=\"Custom Handler\"<\/span> <span style=\"color: rgb(0,0,255)\">\/&gt;<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  14:<\/span>     <span style=\"color: rgb(0,0,255)\"><span style=\"color: rgb(128,0,0)\">exceptionHandlers<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  15:<\/span>      <span style=\"color: rgb(0,0,255)\"><span style=\"color: rgb(128,0,0)\">add<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  16:<\/span>     <span style=\"color: rgb(0,0,255)\">&lt;<\/span><span style=\"color: rgb(128,0,0)\">add<\/span> <span style=\"color: rgb(255,0,0)\">type<\/span><span style=\"color: rgb(0,0,255)\">=\"System.Net.WebException, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  17:<\/span>      <span style=\"color: rgb(255,0,0)\">postHandlingAction<\/span><span style=\"color: rgb(0,0,255)\">=\"None\"<\/span> <span style=\"color: rgb(255,0,0)\">name<\/span><span style=\"color: rgb(0,0,255)\">=\"WebException\"<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  18:<\/span>      <span style=\"color: rgb(0,0,255)\">&lt;<\/span><span style=\"color: rgb(128,0,0)\">exceptionHandlers<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  19:<\/span>      <span style=\"color: rgb(0,0,255)\">&lt;<\/span><span style=\"color: rgb(128,0,0)\">add<\/span> <span style=\"color: rgb(255,0,0)\">url<\/span><span style=\"color: rgb(0,0,255)\">=\"~\/ErrorPage\/RemoteServerFailure.aspx\"<\/span> <span style=\"color: rgb(255,0,0)\">type<\/span><span style=\"color: rgb(0,0,255)\">=\"ErrorHandling.CustomExcepetion, ErrorHandling, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  20:<\/span>        <span style=\"color: rgb(255,0,0)\">name<\/span><span style=\"color: rgb(0,0,255)\">=\"Custom Handler\"<\/span> <span style=\"color: rgb(0,0,255)\">\/&gt;<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  21:<\/span>       <span style=\"color: rgb(0,0,255)\"><span style=\"color: rgb(128,0,0)\">exceptionHandlers<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  22:<\/span>       <span style=\"color: rgb(0,0,255)\"><span style=\"color: rgb(128,0,0)\">add<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  23:<\/span>       <span style=\"color: rgb(0,0,255)\">&lt;<\/span><span style=\"color: rgb(128,0,0)\">add<\/span> <span style=\"color: rgb(255,0,0)\">type<\/span><span style=\"color: rgb(0,0,255)\">=\"System.TimeoutException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  24:<\/span>       <span style=\"color: rgb(255,0,0)\">postHandlingAction<\/span><span style=\"color: rgb(0,0,255)\">=\"None\"<\/span> <span style=\"color: rgb(255,0,0)\">name<\/span><span style=\"color: rgb(0,0,255)\">=\"TimeoutException\"<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  25:<\/span>        <span style=\"color: rgb(0,0,255)\">&lt;<\/span><span style=\"color: rgb(128,0,0)\">exceptionHandlers<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  26:<\/span>        <span style=\"color: rgb(0,0,255)\">&lt;<\/span><span style=\"color: rgb(128,0,0)\">add<\/span> <span style=\"color: rgb(255,0,0)\">url<\/span><span style=\"color: rgb(0,0,255)\">=\"~\/ErrorPage\/DatabaseFailed.aspx\"<\/span> <span style=\"color: rgb(255,0,0)\">type<\/span><span style=\"color: rgb(0,0,255)\">=\"ErrorHandling.CustomExcepetion, ErrorHandling, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  27:<\/span>         <span style=\"color: rgb(255,0,0)\">name<\/span><span style=\"color: rgb(0,0,255)\">=\"Custom Handler\"<\/span> <span style=\"color: rgb(0,0,255)\">\/&gt;<\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  28:<\/span>             <span style=\"color: rgb(0,0,255)\"><span style=\"color: rgb(128,0,0)\">exceptionHandlers<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  29:<\/span>           <span style=\"color: rgb(0,0,255)\"><span style=\"color: rgb(128,0,0)\">add<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  30:<\/span>         <span style=\"color: rgb(0,0,255)\"><span style=\"color: rgb(128,0,0)\">exceptionTypes<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  31:<\/span>       <span style=\"color: rgb(0,0,255)\"><span style=\"color: rgb(128,0,0)\">add<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: rgb(244,244,244); border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  32:<\/span>     <span style=\"color: rgb(0,0,255)\"><span style=\"color: rgb(128,0,0)\">exceptionPolicies<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/span><\/pre>\n<pre style=\"padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas,'Courier New',courier,monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none\"><span style=\"color: rgb(96,96,96)\">  33:<\/span>   <span style=\"color: rgb(0,0,255)\"><span style=\"color: rgb(128,0,0)\">exceptionHandling<\/span><span style=\"color: rgb(0,0,255)\">&gt;<\/span><\/span><\/pre>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;&nbsp; \u06cc\u06a9\u06cc \u0627\u0632 \u062a\u0648\u0635\u06cc\u0647 \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0639\u0645\u0648\u0645\u0627 \u0628\u0647 \u062f\u0627\u0646\u0634\u062c\u0648\u0647\u0627\u0645 \u062f\u0627\u0631\u0645\u060c \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u0627\u0632 \u06a9\u062f\u0647\u0627\u06cc \u0646\u0645\u0648\u0646\u0647 \u0645\u0627\u06cc\u06a9\u0631\u0648\u0633\u0627\u0641\u062a \u06a9\u0647 \u0645\u0639\u0631\u0648\u0641 \u062a\u0631\u06cc\u0646\u0634\u0648\u0646 \u0647\u0645 Enterprise Library&nbsp; \u062d\u062f\u0627\u06a9\u062b\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0631\u0648 \u062c\u0647\u062a \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0647\u0631\u0686\u0647 \u0628\u0647\u062a\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0627\u0635\u0648\u0644\u06cc \u0628\u0628\u0631\u0646. \u0686\u06cc\u0632\u06cc \u06a9\u0647 \u0628\u0647 \u06a9\u0631\u0627\u062a \u062f\u0631 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u0647\u0627\u06cc \u0648\u0628 \u0628\u06cc\u0633 \u062f\u06cc\u062f\u0645\u060c \u062d\u062a\u06cc \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062a\u0648\u0633\u0637 \u062a\u06cc\u0645 \u0647\u0627\u06cc \u0628\u0647 \u0627\u0635\u0637\u0644\u0627\u062d \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u06cc \u0648 &#8230; <a title=\"\u0645\u062f\u06cc\u0631\u06cc\u062a \u062e\u0637\u0627 \u0628\u0648\u0633\u06cc\u0644\u0647 web.config\" class=\"read-more\" href=\"https:\/\/mesbahi.net\/fa\/blog\/1386\/09\/28\/%d9%85%d8%af%db%8c%d8%b1%db%8c%d8%aa-%d8%ae%d8%b7%d8%a7-%d8%a8%d9%88%d8%b3%db%8c%d9%84%d9%87-web-config\/\" aria-label=\"\u062f\u0631\u0628\u0627\u0631\u06c0 \u0645\u062f\u06cc\u0631\u06cc\u062a \u062e\u0637\u0627 \u0628\u0648\u0633\u06cc\u0644\u0647 web.config \u0628\u06cc\u0634\u062a\u0631 \u0628\u062e\u0648\u0627\u0646\u06cc\u062f\">\u0627\u062f\u0627\u0645\u0647<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[2],"tags":[],"class_list":["post-778","post","type-post","status-publish","format-standard","hentry","category-net"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"\u0627\u0645\u06cc\u0646 \u0645\u0635\u0628\u0627\u062d\u06cc","author_link":"https:\/\/mesbahi.net\/fa\/blog\/author\/amin\/"},"uagb_comment_info":0,"uagb_excerpt":"&nbsp;&nbsp; \u06cc\u06a9\u06cc \u0627\u0632 \u062a\u0648\u0635\u06cc\u0647 \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0639\u0645\u0648\u0645\u0627 \u0628\u0647 \u062f\u0627\u0646\u0634\u062c\u0648\u0647\u0627\u0645 \u062f\u0627\u0631\u0645\u060c \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u0627\u0632 \u06a9\u062f\u0647\u0627\u06cc \u0646\u0645\u0648\u0646\u0647 \u0645\u0627\u06cc\u06a9\u0631\u0648\u0633\u0627\u0641\u062a \u06a9\u0647 \u0645\u0639\u0631\u0648\u0641 \u062a\u0631\u06cc\u0646\u0634\u0648\u0646 \u0647\u0645 Enterprise Library&nbsp; \u062d\u062f\u0627\u06a9\u062b\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0631\u0648 \u062c\u0647\u062a \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0647\u0631\u0686\u0647 \u0628\u0647\u062a\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0627\u0635\u0648\u0644\u06cc \u0628\u0628\u0631\u0646. \u0686\u06cc\u0632\u06cc \u06a9\u0647 \u0628\u0647 \u06a9\u0631\u0627\u062a \u062f\u0631 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u0647\u0627\u06cc \u0648\u0628 \u0628\u06cc\u0633 \u062f\u06cc\u062f\u0645\u060c \u062d\u062a\u06cc \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062a\u0648\u0633\u0637 \u062a\u06cc\u0645 \u0647\u0627\u06cc \u0628\u0647 \u0627\u0635\u0637\u0644\u0627\u062d \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u06cc \u0648&hellip;","_links":{"self":[{"href":"https:\/\/mesbahi.net\/fa\/wp-json\/wp\/v2\/posts\/778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mesbahi.net\/fa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mesbahi.net\/fa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mesbahi.net\/fa\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mesbahi.net\/fa\/wp-json\/wp\/v2\/comments?post=778"}],"version-history":[{"count":0,"href":"https:\/\/mesbahi.net\/fa\/wp-json\/wp\/v2\/posts\/778\/revisions"}],"wp:attachment":[{"href":"https:\/\/mesbahi.net\/fa\/wp-json\/wp\/v2\/media?parent=778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mesbahi.net\/fa\/wp-json\/wp\/v2\/categories?post=778"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mesbahi.net\/fa\/wp-json\/wp\/v2\/tags?post=778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}