posts - 609,  comments - 13,  views - 64万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

随笔分类 -  .NET

ABP框架提示框,客户端提示,脚本提示
摘要:abp.message.info('some info message', 'some optional title');abp.message.success('some success message', 'some optional title');abp.message.warn('some 阅读全文
posted @ 2018-11-01 15:58 邢帅杰 阅读(1049) 评论(0) 推荐(0) 编辑
ABP框架 配置权限、本地语言文件、左侧菜单项、登录
摘要:1.Framework.Core》Authorization》PermissionNames.cs 这里新增权限项 namespace Framework.Authorization { public static class PermissionNames { public const strin 阅读全文
posted @ 2018-11-01 10:46 邢帅杰 阅读(1008) 评论(0) 推荐(0) 编辑
上传图片到第三方服务器,将文件转换成byte[]数组
摘要:代码 /// <summary> /// 上传图片到第三方服务器 /// </summary> /// <param name="filePath"></param> /// <param name="picNo"></param> /// <returns></returns> public st 阅读全文
posted @ 2018-10-31 18:02 邢帅杰 阅读(923) 评论(0) 推荐(0) 编辑
xml转化为Dictionary
摘要:代码 阅读全文
posted @ 2018-10-31 17:59 邢帅杰 阅读(607) 评论(0) 推荐(0) 编辑
ABP框架使用Mysql数据库
摘要:参考文档:https://github.com/ABPFrameWorkGroup/AbpDocument2Chinese/blob/master/Markdown/Abp/9.4ABP%E5%9F%BA%E7%A1%80%E8%AE%BE%E6%96%BD%E5%B1%82-%E9%9B%86%E 阅读全文
posted @ 2018-10-29 12:09 邢帅杰 阅读(1298) 评论(0) 推荐(0) 编辑
将文件转换成byte[]数组
摘要:代码 /// <summary> /// 将文件转换成byte[] 数组 /// </summary> /// <param name="fileUrl">文件路径文件名称</param> /// <returns>byte[]</returns> public byte[] AuthGetFile 阅读全文
posted @ 2018-10-17 12:48 邢帅杰 阅读(1321) 评论(0) 推荐(0) 编辑
NuGet打包,IIS自动发布
摘要:NuGet学习笔记(1)——初识NuGet及快速安装使用 https://kb.cnblogs.com/page/143190/ NuGet学习笔记(2)——使用图形化界面打包自己的类库 https://kb.cnblogs.com/page/143191/ NuGet学习笔记(3)——搭建属于自己 阅读全文
posted @ 2018-09-06 10:41 邢帅杰 阅读(519) 评论(0) 推荐(1) 编辑
微信小程序解密
摘要:获取OpenId和SessionKey code 阅读全文
posted @ 2018-08-15 15:28 邢帅杰 阅读(183) 评论(0) 推荐(0) 编辑
EntityFramework的linq扩展where
摘要:代码 Expression<Func<TSource, bool>> predicate = c=>c.Id==1; predicate = predicate.And(c=>c.Name=="jay"); 阅读全文
posted @ 2018-08-09 16:13 邢帅杰 阅读(186) 评论(0) 推荐(0) 编辑
RestSharp发送请求得到Json数据
摘要:NUGET安装:RestSharp code: public string Post(string url, string content) { string contentType = "application/json"; //Content-Type try { var client = ne 阅读全文
posted @ 2018-08-07 11:33 邢帅杰 阅读(5609) 评论(0) 推荐(0) 编辑
ABP框架基本使用
摘要:文档:https://docs.abp.io/zh-Hans/abpabp默认管理员:admin,密码:123qwe,这是写死的,xxx.Core\Authorization\Users\User.cs 行数:101.先在Core项目中建立模型Models》Model.cs/ModelManager 阅读全文
posted @ 2018-08-02 17:39 邢帅杰 阅读(950) 评论(0) 推荐(0) 编辑
socket
摘要:https://blog.csdn.net/smartsmile2012/article/details/71172450 阅读全文
posted @ 2018-08-01 10:02 邢帅杰 阅读(88) 评论(0) 推荐(0) 编辑
使用SignalR进行实时通信
摘要:http://www.cnblogs.com/lonelyxmas/tag/%E4%B8%80%E6%AD%A5%E4%B8%80%E6%AD%A5%E5%AD%A6%E4%B9%A0SignalR%E8%BF%9B%E8%A1%8C%E5%AE%9E%E6%97%B6%E9%80%9A%E4%BF 阅读全文
posted @ 2018-07-27 15:16 邢帅杰 阅读(200) 评论(0) 推荐(0) 编辑
产生固定长度的数字和字母随机数
摘要:code 阅读全文
posted @ 2018-07-24 17:12 邢帅杰 阅读(191) 评论(0) 推荐(0) 编辑
migrantion
摘要:Enable-Migrations - ConfigurationTypeName namespace.DbContext Enable-Migrations命令创建了一个新的Migrations文件夹,并在该目录下创建了Configuration.cs文件,其中的Seed方法是向表中插入初始化数据 阅读全文
posted @ 2018-07-19 21:26 邢帅杰 阅读(183) 评论(0) 推荐(0) 编辑
StackExchange.Redis使用以及封装
摘要:来源:http://www.cnblogs.com/qtqq/p/5951201.html Redis安装:http://www.runoob.com/redis/redis-install.html Configuration:https://www.cnblogs.com/ArvinZhao/p 阅读全文
posted @ 2018-05-29 11:34 邢帅杰 阅读(2361) 评论(1) 推荐(1) 编辑
Memcached使用与纠错(附代码和相关dll)
摘要:今天没事研究一下,谁想到遇到了几个dll找不到,网上也不好找到,索性功夫不负有心人。贴出代码和相关的dll Memcached代码:(网上都是的,很多人都保存了这个代码) 测试代码:(很简单,随便写的) 主要是找到对应版本的dll不好找,网上很多代码,但几乎都没有附带资源 百度网盘:https:// 阅读全文
posted @ 2018-05-25 17:35 邢帅杰 阅读(181) 评论(0) 推荐(0) 编辑
微信公众号H5支付步骤
摘要:微信公众平台:https://mp.weixin.qq.com/ 进入 微信支付 管理》开通支付功能。 微信支付|商户平台: 设置安全目录:https://pay.weixin.qq.com/index.php/extend/pay_setting,意思是只有该目录下的页面才能够发起支付请求。 注意 阅读全文
posted @ 2018-05-14 09:52 邢帅杰 阅读(1085) 评论(0) 推荐(0) 编辑
Http方式下载文件
摘要:代码: 阅读全文
posted @ 2018-04-23 14:27 邢帅杰 阅读(754) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示