文章分类 -  C#、VS.Net

摘要:The first step to insert a record into a database is to create a DataContext. That is the first step for every LINQ to SQL query. Second, an entity object is instantiated from an entity class. Third, that entity object is inserted into the appropriate table collection. And fourth, the SubmitChanges method is called on the DataContext. 阅读全文
posted @ 2008-10-23 16:21 ABeen 阅读(300) 评论(0) 推荐(0)
摘要:nVelocity是一个基于.NET的模板引擎(template engine)。它允许任何人仅仅简单的使用模板语言(template language)来引用由.NET代码定义的对象。当nVelocity 应用于web开发时,界面设计人员可以和.NET程序开发人员同步开发一个遵循MVC架构的web站点,也就是说,页面设计人员可以只关注页面的显示效果,而由.NET程序开发人员关注业务逻辑编码。nV... 阅读全文
posted @ 2008-09-27 11:58 ABeen 阅读(572) 评论(0) 推荐(1)
摘要:查看CLR基础  !dumpdomain //dump domain信息  !dumpdomain domain assress //dump 某个 domain 的信息  !dumpassembly assembly address //dump 某个 assmebly 信息  !dumpmodule // dump module 信息,有一个有用的开关,是-mt mt address  !dumpmt +方法表地址 // 查看方法表信息   !dumpclass class address // 来查看这个class的信息 阅读全文
posted @ 2008-09-16 11:29 ABeen 阅读(326) 评论(0) 推荐(0)
摘要:WinDbg是微软开发的免费源码级调试工具。Windbg可以用于Kernel模式调试和用户模式调试,还可以调试Dump文件。下载地址:http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx--------------------------------------------------------------------缓存路径设置:srv*c:\ABeenSymcache*http://msdl.microsoft.com/download/symbols;c:\ABeenSymcache; // "c:\ABeen 阅读全文
posted @ 2008-09-13 17:45 ABeen 阅读(411) 评论(0) 推荐(0)