摘要: 参考从Membership 到 .NET4.5 之 ASP.NET IdentityExtending Identity Accounts and Implementing Role-Based Authentication in ASP.NET MVC 5ASP.NET Identity 2.0:... 阅读全文
posted @ 2015-04-09 16:09 霍旭东 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 如何让TFS管理的项目更名后不丢失修改历史记录? 在工作中有时由于前期考虑不足,某个Project的名字在项目开发过程中需要修改以更准备表达它的功能。a56爆大奖在线娱乐就对此进行抛砖引玉 阅读全文
posted @ 2015-04-09 13:40 霍旭东 阅读(695) 评论(0) 推荐(0) 编辑
摘要: 在EntityFramework的开发过程中a56爆大奖在线娱乐们有时因需求变化或者数据结构设计的变化经常会改动表结构。但数据库Schema发生变化时EF会要求a56爆大奖在线娱乐们做DataMigration 和UpdateDatabase。但在这个过程中如何才能保证现有数据库的数据存在。 另外a56爆大奖在线娱乐只针对CodeFirst的方式来做。 阅读全文
posted @ 2015-03-27 13:43 霍旭东 阅读(1473) 评论(0) 推荐(0) 编辑
摘要: 一、使用VMware虚拟机部署Swift开发环境所需工具: Vmware Workstation 10.0虚拟机软件 VM安装Mac解锁工具Unlock 苹果操作系统(Mac OS X Mavericks 10.9) 下载地址:http://pan.baidu.com/s/1qWLkffQ 密码:ewb2 http://blog.csdn.net/bai... 阅读全文
posted @ 2015-03-20 17:27 霍旭东 阅读(3851) 评论(0) 推荐(0) 编辑
摘要: 《WF编程》笔记目录 2008-03-18 09:33 by Windie Chai, 26803 阅读, 49 评论, 收藏, 编辑WF笔记开始 《WF编程》系列之0 - WF笔记开始 电子版下载地址 《WF编程》系列之附录 电子版下载地址 1 Hello, Workflow 1.1 创建工作流解决方案 《WF编程》系列之1 - Hello,Workflow & 创建工作流解决方案 1.2 漫游... 阅读全文
posted @ 2015-03-19 14:27 霍旭东 阅读(355) 评论(0) 推荐(0) 编辑
摘要: DockPanel The nice thing about dock panels is they already fill all the available space. LastChildFill is true by default (but I set it below for clarity), so just don't set the DockPanel attribut... 阅读全文
posted @ 2015-03-19 10:22 霍旭东 阅读(424) 评论(0) 推荐(0) 编辑
摘要: Problem: solution: A workaround is to copy your files to the old directory. Just copy the aapt.exe file from %android_sdk%\build-tools\17.0.0 to%android_sdk%\platform-tools. And also cop... 阅读全文
posted @ 2015-03-18 12:43 霍旭东 阅读(719) 评论(0) 推荐(0) 编辑
摘要: MySQL Connector/Net 6.8.x MySQL Server 5.1 or above Entity Framework 6 assemblies .NET Framework 4.0 or above 参考文档 Entity Framework 6 with MySql 在Entity Framework中使用MySQL ... 阅读全文
posted @ 2015-03-13 17:50 霍旭东 阅读(367) 评论(0) 推荐(0) 编辑
摘要: regex1 @"w*(?\d*x\d*x\d*)\D*(?(\d*p\d*x*){0,3})_\w*" 测试数据: DY3_1_2_90cm_512x512x1464_0p4947x0p4947x0p625_140kv_16bit_signed.raw BB331_S05_8453p33_FullPlug_Model_800x610x610_40p1113_For_iCo... 阅读全文
posted @ 2015-03-05 14:45 霍旭东 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 参考 How to bind to a PasswordBox in MVVM 阅读全文
posted @ 2015-03-04 14:20 霍旭东 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 通过Style实现对Texbox添加水印 阅读全文
posted @ 2015-03-04 14:17 霍旭东 阅读(695) 评论(0) 推荐(0) 编辑
摘要: Style定义实例 给Textbox定义一个阴影效果。 UpdateSourceTrigger 默认UpdateSourceTrigger为LostFoucs,有时需要及时CommitValue,则需要设置为PropertyChanged。这样当Text属性的值发生变化时,a56爆大奖在线娱乐们的值就能及时更新到Datasource中。 更多参考 How to: Cont... 阅读全文
posted @ 2015-03-04 12:47 霍旭东 阅读(3072) 评论(0) 推荐(3) 编辑
摘要: UpdateSourceTrigger NumberTextbox 参考 Finally! Entity Framework working in fully disconnected N-tier web app Entity Framework 4.0 and WCF Data Services 4.0 in Visual Studio 2010 阅读全文
posted @ 2015-03-04 09:35 霍旭东 阅读(219) 评论(0) 推荐(0) 编辑
摘要: MMVM模式示意图。 View绑定到ViewModel,然后执行一些命令在向它请求一个动作。而反过来,ViewModel跟Model通讯,ViewModel告诉Model更新来响应UI。 这样便使得为应用构建UI外观设计相对独立,也非常容易替换UI设计(“随心所欲”设计你的界面)。... 阅读全文
posted @ 2015-03-03 14:30 霍旭东 阅读(735) 评论(0) 推荐(0) 编辑
摘要: MUHAMMAD SHUJAAT SIDDIQI 阅读全文
posted @ 2015-03-03 09:24 霍旭东 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 参考 Three steps for fast entityframework 6.1 code-first startup performance Managing DbContext the right way with Entity Framework 6: an in-depth guide 阅读全文
posted @ 2015-03-02 17:34 霍旭东 阅读(322) 评论(0) 推荐(0) 编辑
摘要: Multithreaded UI: HostVisualCreating a Busy Indicator in a separate thread in WPF 阅读全文
posted @ 2015-02-25 14:26 霍旭东 阅读(537) 评论(0) 推荐(0) 编辑
摘要: 示例 参考 WPF combobox SelectedValue binding to string Confused with wpf ComboBox DisplayMemberPath,SelectedValue and SelectedValuePath 阅读全文
posted @ 2015-02-06 17:10 霍旭东 阅读(437) 评论(0) 推荐(0) 编辑
摘要: Stackpanel: Height vs ActualHeight vs ExtentHeight vs ViewportHeight vs DesiredSize vs RenderSize 阅读全文
posted @ 2015-02-06 15:51 霍旭东 阅读(204) 评论(0) 推荐(0) 编辑
摘要: I want to share this great post from Anoop that shows a easy way to add a notification system to dependency properties of a given element. It creates and attaches a new property to the existing proper... 阅读全文
posted @ 2015-02-06 11:27 霍旭东 阅读(284) 评论(0) 推荐(0) 编辑
摘要: So far, we worked with styles by setting a static value for a specific property. However, using triggers, you can change the value of a given property 阅读全文
posted @ 2015-02-03 16:20 霍旭东 阅读(801) 评论(0) 推荐(0) 编辑
摘要: Download Solution ShadowedTextBoxExample.zip (70.3 KB) Usage Styles ShadowedTextBox.cs using System.ComponentModel; using System.Windows; using System.Windows.Controls; using System.Window... 阅读全文
posted @ 2015-02-03 09:10 霍旭东 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 简介 通常a56爆大奖在线娱乐们想对现有的控件,做些修饰时a56爆大奖在线娱乐们就会想到一个装饰模式。WPF中也提供了这样的实现思路:通过将Adorner添加到AdornerLayer中来实现装饰现有控件的效果。如图示: 本来TextBox四角没有圆点,但是通过装饰器可以为它加上。a56爆大奖在线娱乐可以看成在TextBox上加了层。 这样就“无痛”的给控件进行了装饰(如果不想要,还可以随时拆掉,哈哈)。当然应用不单... 阅读全文
posted @ 2015-01-30 16:48 霍旭东 阅读(1341) 评论(0) 推荐(0) 编辑
摘要: 简介项目中经常会用到,同步两个控件的值,a56爆大奖在线娱乐就简单列举两种方式来同步不同控件的两个Dependency Property。示例效果图:只使用C#代码://获取slider1的ValueDependency property的值var binding = new Binding(){ Eleme... 阅读全文
posted @ 2015-01-29 21:08 霍旭东 阅读(501) 评论(0) 推荐(0) 编辑
摘要: 参考 Deep Zoom in Silverlight 阅读全文
posted @ 2015-01-23 13:08 霍旭东 阅读(359) 评论(0) 推荐(0) 编辑