lenmom

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 43 下一页

2018年5月24日 #

摘要: 一、组件 创建出来的对象需要从组件中来获取,组件的创建有如下4种(延续第一篇的Demo,仅仅变动所贴出的代码)方式: 1、类型创建RegisterType AutoFac能够通过反射检查一个类型,选择一个合适的构造函数,创造这个对象的实例。主要通过RegisterType<T>() 和 Regist 阅读全文
posted @ 2018-05-24 10:54 老董 阅读(24280) 评论(4) 推荐(7)

摘要: 为了方面APP开发人员,服务端的接口都应当提供详尽的API说明。但每次有修改,既要维护代码,又要维护文档,一旦开发进度紧张,很容易导致代码与文档不一致。 Web API有一个Help Page插件,可以很方便的根据代码及注释自动生成相关API说明页面。 Help Page安装步骤及扩展(以VS201 阅读全文
posted @ 2018-05-24 10:11 老董 阅读(1806) 评论(0) 推荐(0)

2018年5月23日 #

摘要: GDB是GNU开源组织发布的一个强大的UNIX下的程序调试工具,GDB主要可帮助工程师完成下面4个方面的功能: 启动程序,可以按照工程师自定义的要求随心所欲的运行程序。 让被调试的程序在工程师指定的断点处停住,断点可以是条件表达式。 当程序被停住时,可以检查此时程序中所发生的事,并追索上文。 动态地 阅读全文
posted @ 2018-05-23 18:16 老董 阅读(473) 评论(0) 推荐(0)

2018年5月22日 #

摘要: You need tcl 8.5 or newer in order to run the Redis test, 则安装tcl 阅读全文
posted @ 2018-05-22 18:34 老董 阅读(257) 评论(0) 推荐(0)

摘要: 前言 C 中动态内存分配malloc 函数的背后实现有诸派:dlmalloc 之于 bionic;ptmalloc 之于 glibc;allocation zones 之于 mac os x/ios;以及 jemalloc 之于 FreeBSD/NetBSD/Firefox。 malloc 实现对性 阅读全文
posted @ 2018-05-22 17:12 老董 阅读(4467) 评论(0) 推荐(0)

摘要: 1. 安装上传/.下载软件 a) cd /tmp wget http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz tar zxvf lrzsz-0.12.20.tar.gz && cd lrzsz-0.12.20 ./configure && ma 阅读全文
posted @ 2018-05-22 16:55 老董 阅读(521) 评论(0) 推荐(0)

2018年5月16日 #

摘要: HttpContext context; Request.Properties.TryGetValue("MS_HttpContext", out context); 阅读全文
posted @ 2018-05-16 14:04 老董 阅读(1287) 评论(0) 推荐(0)

2018年5月14日 #

摘要: CentOS 7下安装Python3.6.4 CentOS 7下安装Python3.6.4 •安装python3.6可能使用的依赖 yum install -y openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlit 阅读全文
posted @ 2018-05-14 18:16 老董 阅读(211) 评论(0) 推荐(0)

2018年5月8日 #

摘要: 实体定义: 数据库存储内容形式: 1. 删除内嵌字段的值: 如删除Attribute子集合: 2. 删除Attribute集合中Id等于6的内嵌文档 或者 或者 var filter = Builders<Person>.Filter.Where(x => x.Id == id); var upda 阅读全文
posted @ 2018-05-08 19:30 老董 阅读(5684) 评论(0) 推荐(0)

2018年4月28日 #

摘要: ASP.NET Web API is a great piece of technology. Writing Web API is so easy that many developers don’t take the time to structure their applications fo 阅读全文
posted @ 2018-04-28 10:39 老董 阅读(206) 评论(0) 推荐(0)

上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 43 下一页