摘要:
1,right click the mvc website ,then choose properties->Asp.net->Asp.net version change that value to 4.02,confirm that asp.net v4.0.0319 service is allowed.3,if the server has not installed the mvc framework ,remember to copy the system.web.mvc to the bin filefolder. 阅读全文
摘要:
1,An abstract class can have non-abstract methods; an interface can only have abstract methods.2,An abstract class can have static methods; interface can only have non-static methods;3,An abstract class can declare and use variable;an interface can't ;4,A class can implement any number of interf 阅读全文
摘要:
好的面向对象的开发的目标是:代码易复用、可维护性强。面向对象的设计方法:1, 信息专家(Information Expert)如果某个类拥有完成某个职责所需要的信息,那么,这个职责就应该分配给这个类。2, 创造者(Creator)如果下列条件被满足,则就由类A来创建类B:a, A是B的聚合b, A是B的容器c, A持有初始化B的信息d, A记录B的实例e, A频繁地使用B3, 低藕合(Low co... 阅读全文