Программирование в IIS


Пример 3.4


<?xml version="1.0" encoding="utf-8" ?> <configuration> <system.web> <compilation defaultLanguage="c#" debug="true"/> <customErrors mode="RemoteOnly" /> </system.web>

<appSettings> <add key="ProductionDB.ConnectionString" value="data source=amd1700; initial catalog=ASPNETServices; integrated security=SSPI; persist security info=False; workstation id=AMD1700; packet size=4096" /> </appSettings>

</configuration>

Листинг 3.4. web.config File With <appSettings> Element That Contains Database Connection String

Закрыть окно






- Начало -  - Назад -  - Вперед -



Книжный магазин