![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
.NET
古井
这个作者很懒,什么都没留下…
展开
-
Could not find stored procedure 'sp_sdidebug'
在VS2003开发中,出现Could not find stored procedure sp_sdidebug错误,把调试时以上图中红色标示的选项勾除即可;在VS2005中支持此功能。原创 2008-07-30 21:10:00 · 3042 阅读 · 0 评论 -
安全性测试修复意见总结
安全性检查工具1 CAT.NET2 AppScan一 SQL注入攻击(SQL Injection)问题1:用字符串连接组合SQL命令的方式;修复方法:使用参数化查询或者使用存储过程;但是如果使用了存储过程,也要避免在存储过程中使用字符串连接组合SQL命令的原创 2011-08-04 13:57:55 · 1365 阅读 · 0 评论 -
asp.net mvc 3介绍与IOC框架
说来惭愧,博客许久没有更新了。快过年了,终于有两天闲时间。正好靠asp.net mvc 3.0 RC版也出来了。之前asp.net mvc 2.0 也看过,但是没有项目采用新的技术。花一天时间把《MVC Music Store - Tutorial - v2.0》看完,整体了解了一下。总体说新版本更新蛮多的,也比较成熟了,以后的项目准备采用。 另外就是IOC框架,可以了解一下Common Service Locator,是IOC的一个通用接口库。性能比较可以各种IOC库的对比,按需索原创 2011-01-29 14:33:00 · 1049 阅读 · 0 评论 -
开源的通用帮助库
CommonLibrary.NET http://commonlibrarynet.codeplex.com/原创 2010-09-06 10:47:00 · 765 阅读 · 0 评论 -
单元测试
《The Art of Unit Testing with Examples in .NET》 第一章:单元测试的基本知识 0、一个好的单元测试应当有如下特性: ❂ It should be automated and repeatable. ❂ It should be easy to implement. ❂ Once it’s written, it should remain for future use. ❂ Anyone should be able to run i原创 2010-08-31 01:08:00 · 582 阅读 · 0 评论 -
推荐工具
1 能生成chm帮助文档的工具(免费):Sandcastle http://sandcastle.codeplex.com/ 2 查看微软最佳实践的工具(免费):GuidanceExplorer http://guidanceexplorer.codeplex.com/原创 2010-08-05 21:03:00 · 505 阅读 · 0 评论 -
代码规范
代码规范 1 代码文件头注释 FileComment.snippet FileComment Code snippet for generate file comment qiangguo fc classname name of class MyClass原创 2010-06-01 16:31:00 · 699 阅读 · 0 评论 -
数据库缓存依赖
1 web.config配置如下; 2 打开 Visual Studio 2008 命令提示 执行如下命令: aspnet_regsql -C "User原创 2010-05-06 17:21:00 · 533 阅读 · 0 评论 -
vs2008 常用快捷键
编辑快捷键Ctrl+B,T 切换书签开关Ctrl+B,N 移动到下一书签Ctrl+B,P 移动到上一书签Ctrl+B,C 清除全部标签Ctrl+I 渐进式搜索Ctrl+Shift+I反向渐进式搜索F12 转到定义Alt+F12 查找符号(列出所有查找结果)C转载 2010-03-21 09:56:00 · 458 阅读 · 0 评论 -
【转】ASP.NET Process Model
<! /* Style Definitions */ table.MsoNormalTable {mso-style-name:普通表格; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qf转载 2009-03-12 09:52:00 · 1085 阅读 · 0 评论 -
【转】盘点.NET的性能优化策略
<! /* Style Definitions */ table.MsoNormalTable {mso-style-name:普通表格; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qf转载 2009-03-12 09:52:00 · 538 阅读 · 0 评论 -
ASP.NET 母版页的加载顺序
ASP.NET 母版页的加载顺序 执行母版页的占位符cphBody内容的cphBody_Init()事件,时间为:2008-10-10 21:32:34执行母版页的Page_Init()事件,时间为:2008-10-10 21:32:39执行Login页面的Page_Init()事件,时间为:2008-10-10 21:32:43执行Login页面的Page_Load()事件,时间为:2原创 2008-10-18 14:17:00 · 778 阅读 · 0 评论 -
C#编写高质量,规范,高效代码资料
编写高质量的代码http://msdn.microsoft.com/zh-cn/library/4dtdybt8%28v=VS.90%29.aspx类库开发的设计准则http://msdn.microsoft.com/zh-cn/library/ms229042.as原创 2011-08-04 13:58:45 · 645 阅读 · 0 评论