博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  他山之石

他山之石,可以攻玉
摘要:Alright, I've purposely hid the View to Presenter communication in my previous posts on Supervising Controller and Passive View because I thought that subject was worthy of its own post. As I see it, there are 2 1/2 basic ways to communicate screen events back to the Presenter. Expose events off of the IView interface. Jeffrey Palermo has told me before that he will do something very similar, but attaches delegates through setter properties instead. I'm calling that technique the "1/2" bec 阅读全文

posted @ 2008-08-02 19:40 江南白衣 阅读(698) 评论(0) 推荐(0) 编辑

摘要:In the development of the Composite Application Guidance one area that we have labored intensely was around documentation. Documentation was so high on our priority list, that we deliberately reduced the number of bells and whistles in order to allow us to properly document what we had. As part of this we put in a significant effort to provide overview level information. We heard a lot of feedback from customers on the need for us to provide much more of the "Why" rather than the "What". Our hop 阅读全文

posted @ 2008-08-02 14:13 江南白衣 阅读(511) 评论(0) 推荐(0) 编辑

摘要:Occasionally this question pops up on the CAB message boards: How do I prevent my application from closing if the user has unsaved changes? Turns out that there’s a very simple pattern you can utilize to handle this situation. It’s called the Notification Pattern. Jeremy Miller, .Net guru, has a very good blog post on this pattern. He uses it to illustrate a standard way to handle validation on domain objects, but it’s a valuable pattern in other cases too, as I’ll show. 阅读全文

posted @ 2008-08-02 02:34 江南白衣 阅读(658) 评论(0) 推荐(0) 编辑

摘要:原文:http://weblogs.asp.net/vardi/archive/2008/05/31/net-debugger-visualizers-list.aspx1. WCF Visualizers - http://www.codeplex.com/WCFVisualizer2. CAB Visualization - http://www.codeplex.com/WorkItemVi... 阅读全文

posted @ 2008-07-10 22:05 江南白衣 阅读(559) 评论(0) 推荐(0) 编辑

摘要:There are a number of places where you can read an introduction to the Entity Framework, listen to a podcast about it, or watch a screen cast or video of an interview. Even with these various resources, though, there are so many different data access technologies out there that it's not uncommon for me to get the question: Why should I use the Entity Framework? Or what differentiates it from other options like just using ADO.Net SqlClient and friends, LINQ to SQL or something like nHibernate? 阅读全文

posted @ 2008-06-11 23:47 江南白衣 阅读(1020) 评论(2) 推荐(0) 编辑

摘要:The Entity Framework enables developers to reason about and write queries in terms of the EDM model rather than the logical schema of tables, joins, foreign keys, and so on. Many enterprise systems have multiple applications/databases with varying degrees of normalization, different schema styles depending on the group that developed it, and different naming conventions for tables and columns. Furthermore, in complex systems the entities of interest may be scattered across multiple rows in multi 阅读全文

posted @ 2008-06-11 23:36 江南白衣 阅读(2928) 评论(0) 推荐(0) 编辑

摘要:One of the main pillars of Visual Studio 2008 and .Net Framework 3.5 Service Pack 1 if the better integration with SQL Server 2008. Service Pack 1 now uses the Change Tracking capabilities of SQL Server 2008 in order to identify the incremental changes. 阅读全文

posted @ 2008-06-10 21:59 江南白衣 阅读(785) 评论(0) 推荐(0) 编辑

摘要:WCF相关测试工具,文章... 阅读全文

posted @ 2008-05-20 23:37 江南白衣 阅读(1746) 评论(1) 推荐(0) 编辑

摘要:Project Description Visual Studio 2005 shipped with a very nice feature called debugger visualizers. In accordance with their names, debugger visualizers allow you to visually view useful information about objects during debug. WCF Visualizers contain 5 visualizers: 1. Message Visualizer 2. ChannelDispatcher Visualizer 3. ServiceDescription Visualizer 4. ServiceHost Visualizer 5. ServiceEndpoint for the client side. 阅读全文

posted @ 2008-05-20 20:25 江南白衣 阅读(537) 评论(0) 推荐(0) 编辑

摘要:NOTE: Before I get into this, I do want to applaud the team for coming up with these instructions. It took good, hard work, investigation, experimentation, and testing to get this figured out. It is important that users and customers have the option to upgrade to Enterprise Library 4, if they choose to. With the release of these instructions, I feel that I owe it to you (our customers and users of SCSF) to ask you to consider "do you really need to upgrade?" Sure EntLib 4 has 阅读全文

posted @ 2008-05-18 16:11 江南白衣 阅读(948) 评论(0) 推荐(0) 编辑

摘要:把SCSF 安装到Orcas Beta 2上 阅读全文

posted @ 2007-08-30 15:40 江南白衣 阅读(1154) 评论(0) 推荐(0) 编辑

摘要:一个非常有创意的linq工具 阅读全文

posted @ 2007-08-16 22:44 江南白衣 阅读(799) 评论(0) 推荐(0) 编辑

摘要:SQL Server 2005 introduces a new way to create GUIDs that generates them in sequence. This gives you the benefit of sequential IDs (like using an IDENTITY) with the uniqueness benefits of GUIDs. 阅读全文

posted @ 2007-08-15 17:04 江南白衣 阅读(852) 评论(0) 推荐(0) 编辑

摘要:在运行时观察Ling to Sql生成的Sql语句的好工具 阅读全文

posted @ 2007-08-08 14:29 江南白衣 阅读(1164) 评论(2) 推荐(0) 编辑

摘要:Sql Server 2005 SP2 新增加函数:min_active_rowversion(),对于SmartClient数据同步来说非常之有帮助 阅读全文

posted @ 2007-08-06 18:24 江南白衣 阅读(1636) 评论(1) 推荐(0) 编辑

摘要:值得深思 阅读全文

posted @ 2007-08-03 18:12 江南白衣 阅读(395) 评论(0) 推荐(0) 编辑

摘要:本文将介绍以下内容: • CAB 和 Smart Client Software Factory 概述 • 集成式桌面的体系结构 • 构建和部署智能客户端 • 使用模块集成传统应用程序 本文涉及以下技术: • Visual Studio 2005、CAB、Smart Client Software Factory 阅读全文

posted @ 2007-04-04 19:34 江南白衣 阅读(565) 评论(0) 推荐(0) 编辑