<? Xml version = "1.0" encoding = "UTF-8"?>
<! --
Note: In addition to manually editing this file, you can also use
Web management tools to configure application settings. You can use
"Website"-> "Asp. Net configuration" option.
The complete list of settings and comments is displayed in
In machine. config. comments, this file is usually located in
In WindowsMicrosoft. NetFrameworkv2.xConfig
-->
<Configuration>
<Deleetask>
<Add key = "WebSiteURL" value = "http://zwlyl.twtzw.com/"/>
</AppSettings>
<ConnectionStrings>
<Add name = "MySqlConnection" connectionString = "Data Source = localhost; Initial Catalog = database; User ID = sa; Password = 111111; Pooling = true"/>
</ConnectionStrings>
<System. web>
<! --
Set compilation debug = "true" to insert the debugging symbol
Compiled pages. However, this
Performance is affected, so this value is only available during development.
Set to true.
-->
<Compilation debug = "false"/>
<! --
In the <authentication> section, you can configure
Security Authentication mode,
To identify the user.
-->
<Authentication mode = "Windows"/>
<! --
If an unprocessed error occurs during request execution,
You can configure the corresponding processing steps in the <mermerrors> section. Specifically,
This section allows developers to configure
HTML error page to be displayed
To replace the error stack trace.
<Customerrors mode = "remoteonly" defaultredirect = "genericerrorpage.htm">
<Error statuscode = "403" Redirect = "noaccess.htm"/>
<Error statuscode = "404" Redirect = "filenotfound.htm"/>
</Customerrors>
-->
</System. Web>
</Configuration>
String connectionstring = convert. tostring (configurationmanager. connectionstrings ["mysqlconnection"]);
String websiteurl = convert. tostring (configurationmanager. receivettings ["websiteurl"]);