您目前尚未登陆,请选择【登陆】或【注册
首页->行政办公->星幻短信群发平台Web源码>>Web.config>>代码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:星幻短信群发平台Web源码


当前文件路径:XingHuanWebSms/Web.config 文件类型
普通视图
		            
1<?xml version="1.0"?> 2<!-- 3 注意: 除了手动编辑此文件以外,您还可以使用 4 Web 管理工具来配置应用程序的设置。可以使用 Visual Studio 中的 5 “网站”->“Asp.Net 配置”选项。 6 设置和注释的完整列表在 7 machine.config.comments 中,该文件通常位于 8 \Windows\Microsoft.Net\Framework\v2.x\Config 中 9--> 10<configuration> 11 <configSections> 12 <section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter"/> 13 </configSections> 14 <RewriterConfig> 15 <Rules> 16 <!-- Rules for Blog Content Displayer --> 17 <RewriterRule> 18 <LookFor>~/Modules/Product/([0-9]*)\.html</LookFor> 19 <SendTo>~/Modules/Product/ProductMemo.aspx?pid=$1</SendTo> 20 </RewriterRule> 21 <RewriterRule> 22 <LookFor>~/Modules/Order_([0-9]*)\.html</LookFor> 23 <SendTo>~/Modules/Product/Preconcert_Product.aspx?pid=$1</SendTo> 24 </RewriterRule> 25 </Rules> 26 </RewriterConfig> 27 <system.web> 28 <!-- 29 设置 compilation debug="true" 将调试符号插入 30 已编译的页面中。但由于这会 31 影响性能,因此只在开发过程中将此值 32 设置为 true。 33 --> 34 <pages enableEventValidation="false" validateRequest="false"/> 35 <httpModules> 36 <add type="URLRewriter.ModuleRewriter,URLRewriter" name="ModuleRewriter"/> 37 </httpModules> 38 <httpHandlers> 39 <add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory,AjaxPro"/> 40 </httpHandlers> 41 <compilation debug="true"/> 42 <!-- 43 通过 <authentication> 节可以配置 ASP.NET 使用的 44 安全身份验证模式, 45 以标识传入的用户。 46 --> 47 <authentication mode="Windows"/> 48 <!-- 49 如果在执行请求的过程中出现未处理的错误, 50 则通过 <customErrors> 节可以配置相应的处理步骤。具体说来, 51 开发人员通过该节可以配置 52 要显示的 html 错误页 53 以代替错误堆栈跟踪。 54 55 <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> 56 <error statusCode="403" redirect="NoAccess.htm" /> 57 <error statusCode="404" redirect="FileNotFound.htm" /> 58 </customErrors> 59 --> 60 <globalization requestEncoding="gb2312" responseEncoding="gb2312"/> 61 62 <httpRuntime maxRequestLength="1000000" executionTimeout="2000000" /> 63 64 </system.web> 65 <appSettings> 66 67 <add key="ConnString" value="server=.\Sql2005;UID=sa;PWD=sa;database=sms"></add> 68 </appSettings> 69</configuration> 70
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:星幻短信群发平台Web源码

- GridView全选/反选示例源码

- Badgirl blog V1.0源码

- 天织在线购物网站完整源码及文档

- AjaxPro.NET实现TextBox智能..

- TreeView+XML实现的菜单

- Asp.net2.0投票演示程序

- 仿迅雷博客弹出登录窗口

- 在线订餐系统源码

51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号