2009年10月12日

国外十大(ASP.Net C#)的开源CMS

摘要: 1、Ludico  Ludico是C#编写的居于ASP.NET 2.0的Portal/CMS系统。它的模块化设计是你可以按照你希望的使用或开发网站功能。它里面有高级的用户管理,一个所见即所的(WYSIWYG)的编辑器等。  下载地址:http://sourceforge.net/projects/ludico/  2、umbraco   Umbraco是一款在.net平台下C#开发的开源内容管理系... 阅读全文

posted @ 2009-10-12 10:25 Wind Snail 阅读(702) 评论(1) 推荐(0) 编辑

2009年9月29日

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 阅读(330) 评论(0) 推荐(0) 编辑

Understanding ASP.NET Validation Library

摘要: Introduction ASP.NET provides different options for validation at the client side. Each of the validation controls emits client side JavaScript behind the scenes for data validation. In the earlier ve... 阅读全文

posted @ 2009-09-29 16:33 Wind Snail 阅读(556) 评论(0) 推荐(1) 编辑

2009年7月1日

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 阅读(373) 评论(1) 推荐(1) 编辑

2009年6月12日

根据一个表的数据生成插入脚本

摘要: if exists (select * from sysobjects where id = object_id(N'[dbo].[sp_CreateDataLoadScript]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)drop procedure [dbo].[sp_CreateDataLoadScript]GOCreate Procedure... 阅读全文

posted @ 2009-06-12 10:19 Wind Snail 阅读(498) 评论(1) 推荐(0) 编辑

2009年1月21日

通过避免下列 10 个常见 ASP.NET 缺陷使网站平稳运行(转)

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

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

2009年1月20日

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 阅读(896) 评论(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 阅读(727) 评论(0) 推荐(0) 编辑

2008年11月12日

JavaScript去除空格的三种方法 (trim)

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

posted @ 2008-11-12 15:37 Wind Snail 阅读(1070) 评论(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 阅读(396) 评论(0) 推荐(0) 编辑

2008年7月21日

新版.Net开发必备十大工具

摘要: 几年前MSDN上的一篇文章《Ten Must-Have Tools Every Developer Should Download Now》中介绍了.NET开发中必备的十大工具,几年过去之后,.NET Framework发展到了3.5版本,这些工具中,有些已经转向商业化,有些因为推出了新的工具而已经停止了开发,有些则继续免费提供给开发者使用。 笔者对.NET开发中必备的十大工具重新做了整... 阅读全文

posted @ 2008-07-21 09:52 Wind Snail 阅读(292) 评论(1) 推荐(0) 编辑

2008年3月18日

Five Ways to Rev up Your SQL Performance

摘要: sometimes all it takes is a little tweak here or there to make your application run much faster. Ah, but the key is figuring out how to tweak it! Sooner or later you'll face a situation where a SQL qu... 阅读全文

posted @ 2008-03-18 09:30 Wind Snail 阅读(306) 评论(0) 推荐(0) 编辑

使用 PIVOT 和 UNPIVOT

摘要: 可以使用 PIVOT 和 UNPIVOT 关系运算符将表值表达式更改为另一个表。PIVOT 通过将表达式某一列中的唯一值转换为输出中的多个列来旋转表值表达式,并在必要时对最终输出中所需的任何其余列值执行聚合。UNPIVOT 与 PIVOT 执行相反的操作,将表值表达式的列转换为列值。注意:对升级到 Microsoft SQL Server 2005 的数据库使用 PIVOT 和 UNPIVOT 时... 阅读全文

posted @ 2008-03-18 09:26 Wind Snail 阅读(782) 评论(0) 推荐(0) 编辑

Exceptions and Error Codes

摘要: The beauty of returning a pointer to an object, is that you can return NULL as your standard error return value, and if the value mattered, you will most likely take the necessary steps to check its r... 阅读全文

posted @ 2008-03-18 09:16 Wind Snail 阅读(396) 评论(12) 推荐(0) 编辑

2008年2月12日

Lesson 6 Smash-and-grab

摘要: Lesson 6 Smash-and-grab 砸橱窗抢劫 The expensive shops in a famous near Piccadilly were just opening. At this time of the morning, the arcade was almost empty. Mr. Taylor, the owner of a jewellery shop was... 阅读全文

posted @ 2008-02-12 13:15 Wind Snail 阅读(566) 评论(0) 推荐(0) 编辑

2008年1月16日

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 阅读(740) 评论(1) 推荐(0) 编辑

2008年1月10日

SQL Server SQL语句调优技巧

摘要: 子查询优化 一条好的值得称赞的规则是尽量用连接代替所有的子查询。优化器有时可以自动将子查询“扁平化”,并且用常规或外连接代替。但那样也不总是有效。明确的连接对选择表的顺序和找到最可能的计划给出了更多的选项。当你优化一个特殊查询时,了解一下是否去掉自查询可产生很大的差异。 示例 下面查询选择了pubs数据库中所有表的名字,以及每个表的聚集索引(如果存在)。如果没有聚集索引,表... 阅读全文

posted @ 2008-01-10 09:54 Wind Snail 阅读(516) 评论(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 阅读(529) 评论(0) 推荐(0) 编辑

Ten Common Database Design Mistakes

摘要: So, the list: Poor design/planning Ignoring normalization Poor naming standards Lack of documentation One table to hold all domain values Using identity/guid columns as your o... 阅读全文

posted @ 2008-01-10 09:30 Wind Snail 阅读(324) 评论(0) 推荐(0) 编辑

2007年10月14日

sql server事务全攻略

摘要: 一 事务的属性 事务具有ACID属性 即 Atomic原子性, Consistent一致性, Isolated隔离性, Durable永久性 原子性 就是事务应作为一个工作单元,事务处理完成,所有的工作要么都在数据库中保存下来,要么完全 回滚,全部不保留 一致性 事务完成或者撤销后,都应该处于一致的状态 隔离性 多个事务同时进行,它们之间应该互不干扰.应该防止一个事务处理其他事务也要修改的数据时,... 阅读全文

posted @ 2007-10-14 22:24 Wind Snail 阅读(258) 评论(0) 推荐(0) 编辑

导航