摘要: 上个月的一个项目中用到了NetTiers进行快速开发, 感觉很好玩, 所以就简单的学了一下, 发现真的很好玩~~哈哈 以前从来没用过自动生成代码的工具, 一时间不知道怎么搞, 不过大概的概念还能稍微理解一点. CodeSmith上面写的东西就貌似JavaScript, 也可以像ASP.NET一样拥有后台.cs代码. 好多标签的样子, 记起来好费劲啊, 真不知道人家在CodeSmith上咋弄出来一个... 阅读全文
posted @ 2008-11-21 08:26 TonyKent 阅读(929) 评论(3) 推荐(0) 编辑
摘要: 前阵子做.NET2003下的开发, 有些琐碎的细节记录在了网易博客里, 现在搬家过来啦. 1. 将一些代码分类管理: #region [类别名] ...//内容 #endregion 2. 列举硬盘驱动器: Code Code highlighting produced by Actipro CodeHighlig... 阅读全文
posted @ 2008-11-20 07:03 TonyKent 阅读(514) 评论(0) 推荐(0) 编辑
摘要: 最常用的字符实体(Character Entities)PHPChina 开源社区门户 @ r2[ {:s l-? G o | 显示结果 说明 Entity Name Entity Number A Y$o h;i+_ r E5C f ? ~ p0 显示一个空格 H r K I J F w0 大于 > > 6O$u ~ B b _ p |0& &符号 & & { v:O'} ... 阅读全文
posted @ 2008-11-19 09:46 TonyKent 阅读(6565) 评论(0) 推荐(0) 编辑
摘要: 001 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1string[] strs = { "aaa", "bbbbb", "ccc", "ddddd", "eee", "fffff", "ggg" }; 2 3//查询表达式方式 ... 阅读全文
posted @ 2008-11-17 08:05 TonyKent 阅读(285) 评论(0) 推荐(0) 编辑
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1var newP = new { ID = 2, Name = "Kent", Age = 26 }; 2Console.WriteLine(newP.ID.ToString() + "\t"... 阅读全文
posted @ 2008-11-17 08:00 TonyKent 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1public class Person 2{ 3 private long _ID; 4 private string _Name; 5 private int _... 阅读全文
posted @ 2008-11-17 08:00 TonyKent 阅读(118) 评论(1) 推荐(0) 编辑
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1public static class TestExFun 2{ 3 public static string Foo(this string str) 4 { 5 ... 阅读全文
posted @ 2008-11-17 07:57 TonyKent 阅读(114) 评论(0) 推荐(0) 编辑