会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
富坚老贼
https://github.com/buchizaodian
新随笔
管理
上一页
1
···
56
57
58
59
60
61
62
63
64
···
86
下一页
2018年11月30日
(1) C语言 基础1
摘要: VS scanf 安全错误 在预处理器定义那里添加一行_CRT_SECURE_NO_DEPRECATE vs编译头错误 一、打印helloworld 二、数据类型 signed表示有符号,unsigned表示无符号。对应的有符号数的最大取值要比无符号的小约一半,因为最高一位被用来表示符号。 例如 i
阅读全文
posted @ 2018-11-30 09:09 富坚老贼
阅读(222)
评论(0)
推荐(0)
2018年11月27日
(5)数据契约
摘要: wcf传递类和结构 一、使用 [Serializable] 特性 序列化 服务端 IService1.cs [ServiceContract] public interface IService1 { [OperationContract] Animal GetData(Animal value);
阅读全文
posted @ 2018-11-27 16:17 富坚老贼
阅读(181)
评论(0)
推荐(0)
(4)服务契约
摘要: 一、契约重载 契约也可以生成重载, 像C#一样的重载方式服务端启动时会发生异常 [ServiceContract] public interface IService1 { [OperationContract] string GetData(int value); [OperationContra
阅读全文
posted @ 2018-11-27 15:34 富坚老贼
阅读(163)
评论(0)
推荐(0)
git object
摘要: 查看文件类型 blob tree commit tag git cat-file -t 013612 013612 是文件夹名+文件组成的前6位数 查看文件内容 git cat-file -p 013612 查看文件大小 git cat-file -s 013612 object对象哈希值的计算 文
阅读全文
posted @ 2018-11-27 15:24 富坚老贼
阅读(177)
评论(0)
推荐(0)
2018年11月22日
(2)WCF客户端调用
摘要: 一、visual studion引用生成代理 引入服务端发布元数据的地址(并不是服务的地址) 用服务端是控制台程序 例子1 服务端的配置 <system.serviceModel> <services> <service name="WcfServiceLibrary6.Service1" beha
阅读全文
posted @ 2018-11-22 13:56 富坚老贼
阅读(225)
评论(0)
推荐(0)
2018年11月12日
(1)WCF托管
摘要: wcf 托管方式有很多种,常见的托管方式,iis,was,控制台,winfrom等。 先创建一个wcf服务 IService1.cs using System.ServiceModel; namespace WcfServiceLibrary6 { [ServiceContract] public
阅读全文
posted @ 2018-11-12 10:46 富坚老贼
阅读(359)
评论(0)
推荐(0)
2018年11月8日
(50) C# 反射
摘要: 一、Type类 二、Assembly类 带参数 找到私有方法 静态方法 泛型方法 泛型类 泛型类与泛型方法 三、MethodInfo类 四、MemberInfo类
阅读全文
posted @ 2018-11-08 13:56 富坚老贼
阅读(128)
评论(0)
推荐(0)
2018年9月14日
mysql-workbench
摘要: 1. 不能执行语句,需要在mysql里设置,windows下是edit–>preferences–>SQL Editor 把右边的最后一行,“safe update”对用的那一行的选框按钮去掉。再重启一下软件 2 远程连接数据库 (1) (2) (3) (4) (5) 如果显示错误信息:host .
阅读全文
posted @ 2018-09-14 09:48 富坚老贼
阅读(406)
评论(0)
推荐(0)
2018年9月6日
git 报错
摘要: 将分支推送到远程存储库时遇到错误: rejected Updates were rejected because the remote contains work that you do not have locally 在仓库目录下执行 git pull origin master --allow
阅读全文
posted @ 2018-09-06 10:46 富坚老贼
阅读(176)
评论(0)
推荐(0)
2018年9月1日
连接mysql
摘要: 1.nuget 所搜MySql.Data 2.appsettings.json 3. Startup.cs 添加一行 4. 新建model类 UsersModel.cs 5. 新建context类 UserContext 6. Controller 添加 Action
阅读全文
posted @ 2018-09-01 11:39 富坚老贼
阅读(142)
评论(0)
推荐(0)
上一页
1
···
56
57
58
59
60
61
62
63
64
···
86
下一页
公告