摘要: 自动更新介绍 我们做了程序,不免会有版本升级,这就需要程序有自动版本升级的功能。应用程序自动更新是由客户端应用程序自身负责从一个已知服务器下载并安装更新,用户唯一需要进行干预的是决定是否愿意现在或以后安装新的更新。 客户端程序要完成自动更新必须要做三件事情:检查是否有更新;当发现有更新时,开始下载更 阅读全文
posted @ 2018-05-18 14:19 umlchina 阅读(6090) 评论(4) 推荐(2) 编辑
摘要: 这篇文章经授权转载自公众号『阿里技术』 毗卢:近期,我与团队同学探讨了职业发展规划的问题。有些同学表示希望后续能进一步在技术领域(或管理方向)有进一步的积累;有的同学表示希望在新的一年能具有更好的技术影响力,自己能做一些技术决定,去影响其他人,这样自己会很有成就感。 因此,我也问了一些问题: 你希望 阅读全文
posted @ 2018-05-30 10:47 umlchina 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 今天要为大家带来的内容是我们在HoloLens开发时,经常使用到的一个开发神器-微软原生开发包Mixed Reality Toolkit-Unity(简称“MRTK”):这是一组脚本和组件集成的开源开发工具包,旨在加速针对用Unity开发Windows的混合现实应用程序。 整个工具包分为九大模块: 阅读全文
posted @ 2018-05-30 10:46 umlchina 阅读(1384) 评论(0) 推荐(0) 编辑
摘要: 软件系统存在的原因:为用户提供价值。所有的决定都应该考虑到这一点。在指定系统需求之前,在关注系统的各个功能之前,在确定硬件平台或开发过程之前,问问自己以下问题:这是否能为系统真正增加价值?如果答案是否定的,那就不要去做。所有其他原则都以这一条为先。 原则#1:存在的原因 软件系统存在的原因:为用户提 阅读全文
posted @ 2018-05-24 11:02 umlchina 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 我们所开发的应用程序大多都需要提供一个图形用户界面(GUI)。关于GUI应用的架构设计, 已经有了很多模式, 比如Martin Fowler的blog中有一篇"GUI Architectures“, 里面介绍了Form & Control、MVC、MVP、Passive View、Presentation Model、 Supervising Controller、Event Aggregator, Observer Synchronization等多种模式。模式可以帮助我们建立优雅的架构, 但前提是弄清楚模式的应用场景。这些模式自然不是凭空产生的, 都是为了解决具体的问题. 阅读全文
posted @ 2012-05-24 15:34 umlchina 阅读(495) 评论(0) 推荐(0) 编辑
摘要: What is the difference between Finalize() and Dispose()?Dispose() is called by as an indication for an object to release any unmanaged resources it has held.Finalize() is used for the same purpose as dispose however finalize doesn’t assure the garbage collection of an object.Dispose() operates deter 阅读全文
posted @ 2012-04-25 21:25 umlchina 阅读(316) 评论(0) 推荐(0) 编辑
摘要: A little while back, we did a tutorial on how to embed WinFoms controls inside of WPF application (you can read all about ithere). Today, we are going to flip that on its head - we are going to take a look at how to embed WPF controls inside of a WinForms application.You might be thinking to yoursel 阅读全文
posted @ 2012-04-24 21:19 umlchina 阅读(789) 评论(0) 推荐(0) 编辑
摘要: 一个基于prism框架desktop项目,总共有100多个module。程序启动的时候有几秒钟的delay。用的DirectoryModuleCatalog类从本地目录中装载module的程序集。附:DirectoryModuleCatalog装载部分源代码View Code //===================================================================================//Microsoftpatterns&practices//CompositeApplicationGuidanceforWindowsPre 阅读全文
posted @ 2011-11-21 14:55 umlchina 阅读(1015) 评论(2) 推荐(1) 编辑
摘要: The main WPF thread will always be assigned a default setting for CurrentCulture and CurrentUICulture. You can also explicitly set these values based on user preferences (to be discussed). An important point to note, however, is that if a WPF application spins up new threads, those threads will not 阅读全文
posted @ 2011-11-21 14:11 umlchina 阅读(204) 评论(0) 推荐(0) 编辑
摘要: Dino Esposito 在上个月的专栏中,我简要介绍了 Unity 2.0 依赖关系注入容器使用的拦截机制。 在演示面向方面的编程 (AOP) 的核心概念之后,我介绍了一个具体的拦截示例,可能符合如今的很多开发人员的需要。 您是否想要扩展现有代码的行为却不想以任何方式触及源代码? 您是否希望围绕现有的代码再运行更多代码? AOP 的目标是提供一种方法,将核心代码与其他干扰核心业务逻辑的内容隔离开。 Unity 2.0 提供基于 Microsoft .NET Framework 4 的框架来实现此目的,而且极其快速和方便。 为了使您完全理解这篇后续文章的目的,我先概要介绍上个月的内容。 您. 阅读全文
posted @ 2011-11-19 13:35 umlchina 阅读(662) 评论(1) 推荐(0) 编辑