代码改变世界

VISUAL STUDIO 使用技巧大全 中英文版本之 一 - 命名空间引用管理

2014-08-02 11:16 by 朱峰(Peter.zhu), 340 阅读, 0 推荐, 收藏, 编辑
摘要:http://msdn.microsoft.com/en-us/library/bb514115.aspxRemoving Unused UsingsTheRemove Unused Usingsoption in the Visual Studio user interface removesus... 阅读全文

Redirect and Post JSON object in ASP.NET MVC

2014-05-21 09:14 by 朱峰(Peter.zhu), 751 阅读, 0 推荐, 收藏, 编辑
摘要:I want to be short as much as I can by stating the problem, possible solutions and cleanest solution that I am sharing with you here, so I will be descriptive and straight forward to the point as much as I can. 阅读全文

【引】Difference between Asp.Net WebForm and Asp.Net MVC

2014-03-14 10:12 by 朱峰(Peter.zhu), 199 阅读, 0 推荐, 收藏, 编辑
摘要:Keywords : asp.net mvc vs web forms, mvc vs asp.net,advantage of mvc over asp.net,what is asp.net and mvc 阅读全文

【引】How to Choose the Best Way to Pass Multiple Models in ASP.NET MVC

2014-02-11 09:47 by 朱峰(Peter.zhu), 602 阅读, 0 推荐, 收藏, 编辑
摘要:ViewModel,Partial View,ViewBag ,ViewData,TempData,Tuple 阅读全文

【引】Version Control System - SVN - Deployments Best Practices

2014-02-10 15:08 by 朱峰(Peter.zhu), 257 阅读, 0 推荐, 收藏, 编辑
摘要:version control system- best practices 阅读全文

【引】Version Control System - SVN - Developing and Deploying with Branches

2014-02-10 15:06 by 朱峰(Peter.zhu), 462 阅读, 0 推荐, 收藏, 编辑
摘要:Developing and Deploying with Branches 阅读全文

ASP.NET之ORM模型 - ActiveRecord 模式

2013-12-25 18:00 by 朱峰(Peter.zhu), 563 阅读, 0 推荐, 收藏, 编辑
摘要:ActiveRecord也属于ORM层,由Rails最早提出,遵循标准的ORM模型:表映射到记录,记录映射到对象,字段映射到对象属性。配合遵循的命名和配置惯例,能够很大程度的快速实现模型的操作,而且简洁易懂。ActiveRecord的主要思想是:1. 每一个数据库表对应创建一个类,类的每一个对象实例对应于数据库中表的一行记录;通常表的每个字段在类中都有相应的Field;2. ActiveRecord同时负责把自己持久化,在ActiveRecord中封装了对数据库的访问,即CURD;;3. ActiveRecord是一种领域模型(Domain Model),封装了部分业务逻辑;ActiveRec 阅读全文

Javascript基础复习 - jQuery Proxy函数

2013-12-25 14:42 by 朱峰(Peter.zhu), 480 阅读, 0 推荐, 收藏, 编辑
摘要:API 文档http://api.jquery.com/jQuery.proxy/jQuery.proxy(function,obj)jquery1.4新增,返回一个新函数,并且这个函数始终保持了特定的作用域。当有事件处理函数要附加到元素上,但他们的作用域实际是指向另一个对象时,这个方法最有用了。此外,最妙的是,jQuery能够确保即便你绑定的函数是经过jQuery.proxy()处理过的函数,你依然可以传递原先的函数来准确无误地取消绑定。请参考下面的例子。这个函数还有另一种用法,jQuery.proxy( scope, name )。第一个参数是要设定的作用域对象。第二个参数是将要设置作用域 阅读全文

【转】Domain Driven Design - Clear Your Concepts Before You Start

2013-12-24 10:05 by 朱峰(Peter.zhu), 333 阅读, 0 推荐, 收藏, 编辑
摘要:Start Developing a New ApplicationWhat we traditionally do when we start a business application? We read the spec and find the functionalities. We break down tasks. In most of the cases the goal of the breakdown is to come up with an estimation and plan of works. We do the estimation. We distribute 阅读全文

【转】单体模式-经典实现 Implementing the Singleton Pattern in C#

2013-12-23 17:50 by 朱峰(Peter.zhu), 310 阅读, 0 推荐, 收藏, 编辑
摘要:http://csharpindepth.com/Articles/General/Singleton.aspxTable of contents (for linking purposes...)IntroductionNon-thread-safe versionSimple thread safety via lockingDouble-checked lockingSafety through initializationSafe and fully lazy static initializationLazyExceptionsPerformanceConclusionIntrodu 阅读全文
上一页 1 2 3 4 5 6 ··· 13 下一页