2019年3月22日
摘要: 当发布netcore 到windows server iis可能会报这种错:An error occurred while starting the application 不要慌,这个时候可能是你用到了netcore 的nlog,没有把相应的文件(nlog.config)发布到服务器 vs解决方案 阅读全文
posted @ 2019-03-22 11:06 1老王 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 装饰者模式就是让一个类有更多的功能,多的话不说了,上具体的代码: // 装饰者模式,就是让一个类有更多的功能 /// <summary> /// 需要装饰的类(组件) /// </summary> public abstract class Phone { public virtual void P 阅读全文
posted @ 2019-03-22 10:50 1老王 阅读(88) 评论(0) 推荐(0) 编辑