会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lishidefengchen
首页
新随笔
管理
上一页
1
···
35
36
37
38
39
40
41
42
43
···
52
下一页
2017年11月14日
【ABP开发】:asp.net core 中使用mysql
摘要: EntityFrameworkCore项目--Nuget包管理,卸载包: Microsoft.EntityFrameworkCore.SqlServer; EntityFrameworkCore项目和Host项目--Nuget包管理,添加包: Pomelo.EntityFrameworkCore.M
阅读全文
posted @ 2017-11-14 16:00 lishidefengchen
阅读(237)
评论(0)
推荐(0)
2017年11月13日
单点登录理解笔记
摘要: 【错误的理解】:一个用户只能在一处登录。 【正确的理解】:多个子系统中,任意成功登录一个子系统,其他子系统状态都会变为登录状态;任意成功退出一个子系统,其他子系统状态就全部变为退出状态。【前提条件是在一个浏览器内】 【例子】:以博客园为例 博客园首页的菜单栏里的这几个导航,就是不同的子系统(查看它们
阅读全文
posted @ 2017-11-13 11:34 lishidefengchen
阅读(393)
评论(0)
推荐(0)
解决浏览器location.href重定向失效问题
摘要: 在【location.href】赋值语句后,添加页面刷新代码【location.reload(true)】,参数为【true】这样就等价于F5刷新页面了。 需要注意的是:不能把【location.reload(true)】直接放到location.href重定向语句后,这样页面就只会刷新不跳转了,正
阅读全文
posted @ 2017-11-13 11:15 lishidefengchen
阅读(4326)
评论(0)
推荐(0)
同域内的两台电脑,一台访问另一台上搭建的IIS站点无法访问解决方法
摘要: 需要在搭建IIS站点的机器上,打开【高级安全Windows防火墙】,新建【入站规则】,添加外部允许访问的端口号即可。
阅读全文
posted @ 2017-11-13 10:16 lishidefengchen
阅读(341)
评论(0)
推荐(0)
2017年10月27日
Active Domain中的用户属性
摘要: /// /// AD中的属性,没有出现的后续接着补充 /// public class LdapUserEntryProperty { public static string AccountExpires { get { return "accou...
阅读全文
posted @ 2017-10-27 13:50 lishidefengchen
阅读(642)
评论(0)
推荐(0)
2017年10月25日
查询邮箱服务器某一时间段的邮件收发量
摘要: Get-MessageTrackingLog -Start "2017/10/17 17:54:52" -End "2017/10/17 17:59:21" -EventId send -Server EX01.iwsdev.com | Measure-object Get-MessageTrackingLog -Start "2017/10/17 17:54:52" -End "2017/10...
阅读全文
posted @ 2017-10-25 11:06 lishidefengchen
阅读(418)
评论(0)
推荐(0)
在邮箱服务器上执行Powershell命令Get-MessageTrackingLog 报错
摘要: 开启对应的服务即可。 中文环境: 英文环境:
阅读全文
posted @ 2017-10-25 10:51 lishidefengchen
阅读(678)
评论(0)
推荐(0)
2017年9月17日
LDAP--对某些AD属性值是字节数组byte[]情况的类型转换方法
摘要: //BitConverter.ToBoolean((searchResult.Properties["mDBUseDefaults"][0] as byte[]), 0); rows.MDBUseDefaults = System.Text.Encoding.ASCII.GetString((sea
阅读全文
posted @ 2017-09-17 16:23 lishidefengchen
阅读(247)
评论(0)
推荐(0)
LDAP相关操作注意事项
摘要: 对于布尔类型的属性值,必须要大写,否则报错; 在执行删除操作的时候,必须要先判断有无该属性,否则执行失败; 执行更新操作,需要注意的是,更新的值必须不能为空,否则报错。也就是说,要是清空某一个属性值,只能是执行DELETE删除该属性;
阅读全文
posted @ 2017-09-17 16:15 lishidefengchen
阅读(370)
评论(0)
推荐(0)
2017年9月12日
angular双向绑定与单向绑定的写法区别
摘要: [ngModel]="manualCode" (ngModelChange)="manualCode=$event;" 等价于下面这样的写法: [(ngModel)]="manualCode" 但有时候,需要在模型发生改变时,还要添加一些自定义事件的话,第一种写法就是最合适的选择了。
阅读全文
posted @ 2017-09-12 10:58 lishidefengchen
阅读(1634)
评论(0)
推荐(0)
2017年9月8日
sweetAlert()参数配置
摘要: alertTypes = ['error', 'warning', 'info', 'success'], defaultParams = { title: '', text: '', type: null, allowOutsideClick: false, showCancelButt...
阅读全文
posted @ 2017-09-08 14:21 lishidefengchen
阅读(865)
评论(0)
推荐(0)
2017年9月5日
abp架构中加载公共css样式表和公共js的文件目录位置
摘要: src\shared\helpers\LocalizedResourcesHelper.ts
阅读全文
posted @ 2017-09-05 15:19 lishidefengchen
阅读(619)
评论(0)
推荐(0)
2017年9月4日
angular中[hidden]="expression"注意事项
摘要: [hidden]="expression",右侧的表达式尽量使用布尔值;虽然比较运算符也可以达到效果,但时常会出现一些莫名其妙的错误。
阅读全文
posted @ 2017-09-04 10:58 lishidefengchen
阅读(699)
评论(0)
推荐(0)
2017年9月2日
angular中使用canvas画布做验证码
摘要: var num = Math.random().toFixed(5) + ""; this.validateCode = num.slice(2) ctx.strokeText(this.validateCode, 3, 22); }
阅读全文
posted @ 2017-09-02 14:52 lishidefengchen
阅读(455)
评论(0)
推荐(0)
2017年8月11日
AngularJs页面跳转
摘要: 同一页面之间的跳转: 打开新页面的跳转方式:
阅读全文
posted @ 2017-08-11 17:28 lishidefengchen
阅读(442)
评论(0)
推荐(0)
上一页
1
···
35
36
37
38
39
40
41
42
43
···
52
下一页
公告