标签归档:web.config

web developer tips (26):在 App_Code目录下同时放c#和VB.NET文件

原文地址:How to have C# and VB.NET files inside your App_Co […]


原文地址:How to have C# and VB.NET files inside your App_Code directory 如果你利用App_Code目录来开发一个Asp.net web网站,有时候需要写用不同net语言的代码文件。例如,如果你想用在同一个web网站同时使用c#和VB.net ...... [阅读全文]

web developer tips (14):启动网站调试

原文地址:How to enable debugging of your Web Site 在debug的模式 […]


原文地址:How to enable debugging of your Web Site 在debug的模式配置下运行一个页面,你必须选择菜单:调试+开始启动 或按下F5. 在默认的情况下,调试是没有启用的。如果你想启动调试网站项目,就需要进行配置。这个设置通过修改web.config文件来实现。 默认情况下,在web.config 的compilation节点 的debug 选项设置值是false。 http://www.watch-life.net/visual-studio/enable-debugging-of-your-web-site.html <compilation debug="false" strict="false" ex...... [阅读全文]

web developer tips (9):在Web.config文件中注册web用户控件

原文地址:How to create an ASP.NET Web User Control and incl […]


原文地址:How to create an ASP.NET Web User Control and include it in your web page 在上一篇创建web用户控件并包含在web页面里中介绍了如何创建一个web用户控件和在页面使用它。注意:在页面拖拽一个web用户控件后,VS 会在页面上方添加 @Register指令。 http://www.watch-life.net/visual-studio/register-your-asp-net-web-user-controls-in-web-config.html 如果将来移动了web用户控件的位置的话,那么在每个使用了这个web用户控件的页面都需要修...... [阅读全文]