Kerwen Blog

Stay Hungry Stay Foolish

TCC 学习笔记

Reference1 Reference2 Reference3

Nuget 学习笔记

Nuget是一个.NET平台下的开源的项目,它是Visual Studio的扩展。在使用Visual Studio开发基于.NET Framework的应用时,Nuget能把在项目中添加、移除和更新引用的工作变得更加快捷方便。 Nuget是 ASP .NET Gallery 的一员。NuGet 是免费、开源的包管理开发工具,专注于在 .NET 应用开发过程中,简单地合并第三方的组件库。 Nu...

Git SSL certificate issue

Reference 在用TorToiseGit进行 Git Clone时,遇到错误提示: 1 GIT SSL certificate problem: unable to get local issuer certificate Workaround: 1 git config --global http.sslVerify false Resolution: Referenc...

MEF 学习笔记

Reference

重构 改善既有代码的设计 学习笔记

重构的第一步是为即将修改的代码建立一组可靠的测试环境。 好的测试是重构的根本。 好的代码应该清楚表达自己的功能, 变量名称是代码清晰的关键。 重构时对软件内部结构的一种调整, 目的是在不改变软件可观察行为的前提下,提高其可理解性, 降低其修改成本。 重构原则

Updater work notes

IIS enable net.tcp 协议 Right click on application, manage application -> Advanced setting service change to “http,net.tcp” 1.1 IIS add application pool for .net 4.0 Database does ...

C# library project 不支持 config

You generally should not add an app.config file to a class library project; it won’t be used without some painful bending and twisting on your part. It doesn’t hurt the library project at all - it ...

C# 各种名词

线程 C# 线程 1 2 3 4 5 6 7 8 9 10 11 12 static void Main(string[] args) { Thread t = new Thread(Child); t.Start(); Console.WriteLine("This is main thread."); Console.ReadKey(); } sta...

WPF 基础

http://www.cnblogs.com/chillsrc/category/684419.html “WPF应用程序”会在“引用”里面自动添加下图中所示的 PresentationCore、PresentationFramework、WindowsBase三大核心程序集 在App.xaml中的“StartupUri”属性可以指定项目运行时的启动窗体。

WPF(2)依赖属性

http://www.cnblogs.com/chillsrc/category/684419.html 在WPF库实现中,依赖属性使用普通的C#属性进行了包装. WPF中的依赖属性主要有以下三个优点: 依赖属性加入了属性变化通知、限制、验证等功能。这样可以使我们更方便地实现应用,同时大大减少了代码量。许多之前需要写很多代码才能实现的功能,在WPF中可以轻松实现。 节约内存:在WinFor...