标签归档:web developer tip

web developer tips (24):显示html/css的警告错误或错误

原文地址:You could display CSS/HTML errors as warnings or a […]


原文地址:You could display CSS/HTML errors as warnings or as errors 在vs2008里面可以有个很cool的功能,可以降级显示作为任何警告的错误,这个功能很有用,它可以让你区分验证的错误和查找让程序无法生成的错误。 http://www.watch-life.net/life-thinking/display-css-html-errors-as-warnings-or-as-errors.html 在vs2008里面,默认会如下图所示显示任何html/css 的作为警告的错误。注意警告有个绿色的波浪线。 ...... [阅读全文]

web developer tips (20):使用IIS作为web服务器

原文地址:How to change WAP to use an IIS Web server 有时候,在开发 […]


原文地址:How to change WAP to use an IIS Web server 有时候,在开发web应用,想使用IIS来代替Visual Studio 开发服务器(Development Server) 作为web应用服务器,可以按如下操作进行: http://www.watch-life.net/visual-studio/change-wap-to-use-an-iis-web-server.html 1、在解决方案管理器中,单击“ Properties”页或在项目的上下文菜单中选择“属性” ...... [阅读全文]

web developer tips (15):在ASP.NET Ajax里使用跟踪

原文地址: How to use tracing with ASP.NET Ajax 如果你在使用ASP.NE […]


原文地址: How to use tracing with ASP.NET Ajax 如果你在使用ASP.NET Ajax的时候,遇到一个页面问题,想在调试时候跟踪语句,有个比较快速的方法:使用“Sys.Debug.trace”函数。 <script language="javascript" type="text/javascript"> function PositionDiv() { Sys.Debug.trace("Entering PositionDiv Function"); //some other code Sys.Debug.trace("Exiting PositionDiv Function"); } </script> http://www.watch-life.net/visual-studio/use-tracing-with-asp-net-ajax.html 为了看...... [阅读全文]