随笔分类 -  Tips

20 Tips to Improve ASP.net Application Performance
摘要:There are certain things you should take into account when you are developing your applications. Over the last 12 years or so of working with asp and asp.net, I have learned to avoid and do certain th... 阅读全文

posted @ 2009-09-29 16:37 Wind Snail 阅读(345) 评论(0) 推荐(0)

SQL Server Stored Procedures Optimization Tips
摘要:Here are twelve helpful tips for ensuring that you've constructed your SQL Server stored procedures to perform in the most efficient manner possible. 1. Use stored procedures instead of heavy-duty que... 阅读全文

posted @ 2009-07-01 09:41 Wind Snail 阅读(394) 评论(1) 推荐(1)

通过避免下列 10 个常见 ASP.NET 缺陷使网站平稳运行(转)
摘要:-ASP.NET 成功的其中一个原因在于它降低了 Web 开发人员的门槛。即便您不是计算机科学博士也可以编写 ASP.NET 代码。我在工作中遇到的许多 ASP.NET 开发人员都是自学成材的,他们在编写 C# 或 Visual Basic® 之前都在编写 Microsoft® Excel® 电子表格。现在,他们在编写 Web 应用程序,总的来说,他们所做的工作值得表... 阅读全文

posted @ 2009-01-21 14:19 Wind Snail 阅读(248) 评论(0) 推荐(1)

How to add HTML code to the clipboard by using Visual Basic Or VBA
摘要:Developers can use the CF_HTML clipboard format (HTML Format) to share HTML data with other applications that understand HTML, such as Microsoft Office and Microsoft Internet Explorer.CF_HTML is entir... 阅读全文

posted @ 2009-01-20 09:43 Wind Snail 阅读(964) 评论(0) 推荐(0)

User Attributes - Inside Active Directory
摘要:Attr LDAP Name Attr Display Name ADUC Tab ADUC Field Property Set Static Property Method Hidden Perms M/O Syntax MultiValue MinRan MaxRan OID GC systemOn Indexed ANR Survives Copied Non-repl Construct... 阅读全文

posted @ 2009-01-20 09:39 Wind Snail 阅读(737) 评论(0) 推荐(0)

JavaScript去除空格的三种方法 (trim)
摘要:方法一:个人认为最好的方法.采用的是正则表达式,这是最核心的原理.其次.这个方法使用了JavaScript 的prototype 属性其实你不使用这个属性一样可以用函数实现.但这样做后用起来比较方便.下面就来看看这个属性是怎么来用的.返回对象类型原型的引用。objectName.prototypeobjectName 参数是对象的名称。说明用 prototype 属性提供对象的类的一组基本功能。对... 阅读全文

posted @ 2008-11-12 15:37 Wind Snail 阅读(1231) 评论(1) 推荐(0)

Redirecting to custom 401 page when "Access denied" occures within an ASP.NET application with Windows authentication
摘要:If you have an ASP.NET application with authentication mode set to Windows: <authentication mode="Windows"/><authorization><deny users="?" /></authorization>Then all Windows us... 阅读全文

posted @ 2008-11-12 15:35 Wind Snail 阅读(421) 评论(0) 推荐(0)

Exceptions vs Error Codes (异常还是错误代码)
摘要:Excpetion is a situation when a piece of code encounters some unexpected problem while running, and couldn't accomplish its task. The emphasis on the “unexpected“ is important, because it ... 阅读全文

posted @ 2008-01-16 13:44 Wind Snail 阅读(787) 评论(1) 推荐(0)

Increase IIS/WinXP connection limit (or how to avoid HTTP 403.9 error)
摘要:40 simultaneous connections!! Couple that with no HTTP Keep-Alives and it may actually work for you... From that post (for my own reference, as it was down some days ago):A lot of people were pinging ... 阅读全文

posted @ 2008-01-10 09:33 Wind Snail 阅读(550) 评论(0) 推荐(0)

导航