The fourth section uses XML

Source: Internet
Author: User

Extensible Markup Language XML, which is a platform-independent data representation format, has some advantages over the relational format for data representing the needs of specific data.

An XML document can be a physical file on a computer, a stream of data on a network, or just a string in memory. However, the XML document itself must be complete and well-formed. Even if there is no pattern, it must obey certain rules.

The Web. config file is an XML text file that is used to store configuration information for an ASP.

<?XML version= "1.0"?><Configuration>    <system.web>    <customErrorsdefaultredirect= "~/default.aspx"Mode= "Off"/>        <HttpRuntimeRequestvalidationmode= "2.0"executiontimeout= "$"maxRequestLength= "52428800"useFullyQualifiedRedirectUrl= "false" />    <pagesvalidaterequest= "false"/>    <compilationtargetframework= "4.0"Debug= "true"></compilation>    
<httphandlers> <AddPath= "Action.ashx"verb="*"Validate= "false"type= "UI. Action.action "/> <AddPath= "Logout.ashx"verb="*"Validate= "false"type= "UI. Action.logout "/> <AddPath= "Verificationcode.ashx"verb="*"Validate= "false"type= "UI. Action.verificationcodeaction "/> </httphandlers>
</system.web> <connectionStrings> <Addname= "HYD." EMS "connectionString= "Data source=192.168.3.11\dev;timeout=210;initial catalog=appsale; User Id=sa; password=123456 "/> </connectionStrings> <appSettings> <AddKey= "Email"value= "[email protected]" /> <AddKey= "Emailpassword"value= "123456" /> <AddKey= "SMTP"value= "Smtp.qq.com" /> </appSettings> <system.webserver> <handlers> <AddPath= "Action.ashx"name= "Emsaction"verb="*"type= "UI. Action.action "/> <AddPath= "Logout.ashx"name= "Emslogout"verb="*"type= "UI. Action.logout "/> <AddPath= "Verificationcode.ashx"name= "Emsverificationcode"verb="*"type= "UI. Action.verificationcodeaction "/> <AddPath= "Params.ashx"name= "Emsparams"verb="*"type= "UI. Action.params "/> </handlers> <Validationvalidateintegratedmodeconfiguration= "false"/> </system.webserver> <System.ServiceModel> <Bindings/> <Client/> </System.ServiceModel></Configuration>

The fourth section uses XML

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.