摘要: Please refer to the three configure files to check if they contains the rule setting. "%ProgramFiles%\IIS Express\config\templates\PersonalWebServer\A 阅读全文
posted @ 2017-07-24 15:51 霍旭东 阅读(1716) 评论(0) 推荐(0) 编辑
摘要: What is Fusion Log? Also known as the Fusion Log or Assembly Binding Log Viewer. This tool is installed as part of Visual Studio and is not available otherwise. This displays details for failed... 阅读全文
posted @ 2017-04-18 16:09 霍旭东 阅读(614) 评论(0) 推荐(0) 编辑
摘要: install docker-machine $ curl -L https://github.com/docker/machine/releases/download/v0.10.0/docker-machine-`uname -s`-`uname -m` >/tmp/docker-machine && chmod +x /tmp/docker-machine && sudo cp /... 阅读全文
posted @ 2017-04-06 14:04 霍旭东 阅读(408) 评论(0) 推荐(0) 编辑
摘要: IOS 浏览器控件的选择 如果使用WebView 会有滚动事件多次触发问题。 参考 https://developer.apple.com/reference/webkit/wkwebview 阅读全文
posted @ 2017-04-05 15:17 霍旭东 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 准备的软件 问题 Image下载问题 以下就是为啥要有最后一个软件(我是使用版): SQLSever for Linux 内存需求 需要编译Image 成功搞定 其他问题: 某个docker停止后 报错提示还不错 参考 Welcome to the eShopOnContainers wiki! ... 阅读全文
posted @ 2017-03-21 10:30 霍旭东 阅读(1407) 评论(2) 推荐(0) 编辑
摘要: CDN Google CDN Microsoft CDN CDNJS CDN jsDelivr CDN 选择器 jQuery 元素选择器和属性选择器允许您通过标签名、属性名或内容对 HTML 元素进行选择。 选择器允许您对 HTML 元素组或单个元素进行操作。 在 HTML DOM 术语中: 选择器允许您对 DOM 元素组或单个 DOM 节点进... 阅读全文
posted @ 2017-03-01 14:49 霍旭东 阅读(409) 评论(0) 推荐(0) 编辑
摘要: jQuery 选择器大体上可分为 4 类: 基本选择器、 层次选择器、 过滤选择器、 表单选择器。 其中过滤选择器可以分为:简单过滤选择器、内容过滤选择器、可见性过滤选择器、属性过滤选择器、子元素过滤选择器、表单对象属性过滤选择器。 阅读全文
posted @ 2017-03-01 14:23 霍旭东 阅读(273) 评论(0) 推荐(1) 编辑
摘要: 问题 公司项目H5调用接口遇到Response for preflight has invalid HTTP status code 405这样的错误,是使用PUT方式提交请求接口。Content-Type设置为application/json,JS代码如下: $.ajax({ type: "PUT", url: "http://172.16.200.84:8977/Message... 阅读全文
posted @ 2017-02-16 16:03 霍旭东 阅读(2713) 评论(3) 推荐(0) 编辑
摘要: 倒影效果 代码 更加复杂的应用 参考 https://blogs.msdn.microsoft.com/wpfedevcon/2007/01/05/use-transforms-and-o... 阅读全文
posted @ 2017-02-08 17:40 霍旭东 阅读(1542) 评论(0) 推荐(1) 编辑
摘要: 订阅不一致导致消费时成功时失败问题: Console下使用.Net SDK 访问队列成功。 Windows 服务下使用.Net SDK 访问队列成功。 有时成功,有时则没有任何反应… 解决: 阿里的SDK 这种情况下没有报错,实际上在web的管理平台中,查看订阅者的问题是会发现 订阅状态不一致 这实际上是由于Ons的SDK 使用中必须确保一台机器上对一个T... 阅读全文
posted @ 2017-01-11 16:48 霍旭东 阅读(399) 评论(0) 推荐(0) 编辑
摘要: 引言 Web.config 通过web.Release.config 和web.Debug.config文件来实现不同编译配置下生成不同的配置文件, 但有时为了区分appSettings节点的配置内容,我们会单独放到一个文件。 以便我们更好的查看,修改(维护),这样我们如何像Web.config 那样优雅的处理这种转换呢? 本文中提及的插件就是解决这个问题的 Vs 插件 ... 阅读全文
posted @ 2017-01-11 16:40 霍旭东 阅读(460) 评论(0) 推荐(0) 编辑
摘要: 参考 Web Platform Installer Direct Downloads 阅读全文
posted @ 2017-01-11 15:14 霍旭东 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 问题 如上图所示,阿里云的PercentEncode 转换! 为 %21 PercentEncode 源码为: 查找问题 第三方工具 上图表明的确没有转义!(感叹号) C#中的URLEncode转义 C#中URLEncode,C#中有两种URLEncode,WebUlitity 和 HttpUlit 阅读全文
posted @ 2017-01-06 16:29 霍旭东 阅读(2921) 评论(0) 推荐(0) 编辑
摘要: 使用ELK 来实时分析IIS Logs 阅读全文
posted @ 2017-01-04 17:37 霍旭东 阅读(813) 评论(3) 推荐(0) 编辑
摘要: 问题 Mail服务器在安装TFS服务(含SQLServer2016)后启动不了网页服务。 排查问题 使用命令查看端口占用情况 netstat -nao | find ":80" netstat -b 使用GUI 工具查看 问题解决 将IIS的绑定修改不再绑定80端口 将SQLServer ReportService从80端口改到8081,8... 阅读全文
posted @ 2016-12-28 10:44 霍旭东 阅读(1266) 评论(0) 推荐(0) 编辑
摘要: 生成 阅读全文
posted @ 2016-12-26 14:32 霍旭东 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 下载Agent 后,执行配置命令 参考 安装TFS(2015)工作组模式代理服务器(Agent) 阅读全文
posted @ 2016-12-26 10:33 霍旭东 阅读(1093) 评论(0) 推荐(0) 编辑
摘要: 错误 问题详细: HTTP 错误 500.19 - Internal Server Error 无法访问请求的页面,因为该页的相关配置数据无效。 详细错误信息 模块 DynamicCompressionModule 通知 SendResponse 处理程序 StaticFile 错误代码 0x8007007e 请求的 URL ***... 阅读全文
posted @ 2016-12-26 09:33 霍旭东 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 问题 解决: 1.手动安装了 Windows8.1-KB2919442-x64 2.手动下载 KB2919355 更新成功 Turns out to have been a result of a USB Restriction GPO which locked down permissions to USBSTOR.sys, which KB2919355... 阅读全文
posted @ 2016-12-23 14:26 霍旭东 阅读(531) 评论(0) 推荐(0) 编辑
摘要: 抽奖模型 普通概率模型 普通概率模型是最常用的一种模型,但是在游戏运营过程中的确发现很多小白玩家不能正确理解——他们认为中奖率 10% 的设定等同于抽 10 次肯定会中一次。这显然是错误的,普通概率模型的中奖抽奖次数是基于正态分布的,而且每次抽奖的事件是独立的,并不会因为你前面抽了 9 次没中奖,第十次就一定能中奖。 虽然在大量的统计中,两次中奖的平均间隔是 10 次,但是还有一个有趣... 阅读全文
posted @ 2016-10-10 13:07 霍旭东 阅读(24108) 评论(0) 推荐(1) 编辑
摘要: 泛型类型的注册和使用public interface IRepository where T:class { } public interface ISchoolDetailRepository : IRepository { } public abstract class RepositoryBase where T : class { private LearningCompactPi... 阅读全文
posted @ 2016-09-28 09:00 霍旭东 阅读(885) 评论(0) 推荐(0) 编辑
摘要: 引言 有时我们会在IIS中启用一些定时服务,但是你必须清楚IIS会定期回收Asp.net的应用程序的。首先来看IIS啥时候回收APPDomain. APPDomain 回收时机 There are several things that can cause ASP.NET to tear down your AppDomain. When you modify web.conf... 阅读全文
posted @ 2016-09-27 10:04 霍旭东 阅读(784) 评论(0) 推荐(1) 编辑
摘要: Navigation Timing(javascript) 参考 https://www.w3.org/TR/navigation-timing/ 阅读全文
posted @ 2016-09-27 09:21 霍旭东 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 指定值只会执行一次 public class MomanBaseProfile : Profile { public MomanBaseProfile() { CreateMap() .ForMember(d => d.ID, op => op.Ignore()) ... 阅读全文
posted @ 2016-09-26 16:06 霍旭东 阅读(1438) 评论(1) 推荐(0) 编辑
摘要: 在发送通知邮件的时候, 假如可以有漂亮的邮件模板就更好了,但是出于安全的原因, 邮件一般不支持 link 或者 style 样式,只能通过内联的方式。找到了 The Automatic CSS Inliner Tool。有了自动转换工具,那就简单了。首先,编写普通的 html 代码,把 css 样式放到 style 标签中 邮件模板 ... 阅读全文
posted @ 2016-09-26 16:04 霍旭东 阅读(794) 评论(0) 推荐(0) 编辑