新文章 网摘 文章 随笔 日记

摘要: 在页面加载完成时执行以下代码: $(document).ajaxStop(function() { $.validator.unobtrusive.parse('form'); });https://forums.asp.net/t/1651961.aspx?Unobtrusive+validati 阅读全文
posted @ 2019-11-30 17:27 岭南春 阅读(146) 评论(0) 推荐(0) 编辑
摘要: /* * onScan.js - scan-events for hardware barcodes scanners in javascript */ var onScan = { attachTo: function(oDomElement, oOptions) { if(oDomElement 阅读全文
posted @ 2019-11-29 09:52 岭南春 阅读(726) 评论(0) 推荐(0) 编辑
摘要: 在日常开发中,我们频繁用到反射,除了最“繁重”的原始反射方式(这里不讲解),以及 4.0的关键字dynamic,还有许多的方式(Emit以及Linq)。接下来的演示,我将着重对以下这个类进行操作。public class User { public string Username { get; se 阅读全文
posted @ 2019-11-28 18:15 岭南春 阅读(245) 评论(0) 推荐(0) 编辑
摘要: @functions{ public HelperResult EditBoxFor<TModel, TKey>(HtmlHelper<TModel> html, Expression<Func<TModel, TKey>> expression, bool disabled = false) { 阅读全文
posted @ 2019-11-28 18:10 岭南春 阅读(197) 评论(0) 推荐(0) 编辑
摘要: C#进阶系列——DDD领域驱动设计初探(一):聚合 C#进阶系列——DDD领域驱动设计初探(二):仓储Repository(上) C#进阶系列——DDD领域驱动设计初探(三):仓储Repository(下) C#进阶系列——DDD领域驱动设计初探(四):WCF搭建 C#进阶系列——DDD领域驱动设计 阅读全文
posted @ 2019-11-23 09:29 岭南春 阅读(152) 评论(0) 推荐(0) 编辑