03 2016 档案

摘要:项目地址https://github.com/dockpanelsuite/dockpanelsuite 可以参考的博客http://www.cnblogs.com/wuhuacong/archive/2009/07/09/1520082.html#!comments 可以通过NuGet获取dll; 阅读全文
posted @ 2016-03-31 18:02 ChuckLu 阅读(443) 评论(0) 推荐(0) 编辑
摘要:先上代码 单元测试一般都是基于接口的,比如Isys_systemInfoService TestInitialize初始化的时候执行的函数 TestMethod待测试的方法 阅读全文
posted @ 2016-03-29 11:25 ChuckLu 阅读(224) 评论(0) 推荐(0) 编辑
摘要:在VS的菜单栏上,Test-->Windows-->TestExplorer 在TestExplorer的最下方,有一个Output 查看测试结果,使用了Console.WriteLine 出现异常的时候,在提示窗口,右键,选择Copy All Test Name: DeleteSystemInfo 阅读全文
posted @ 2016-03-29 11:17 ChuckLu 阅读(1010) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/bb397951.aspx Expression trees represent code in a tree-like data structure, where each node is an expression 阅读全文
posted @ 2016-03-29 11:03 ChuckLu 阅读(467) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/bb397676(v=vs.100).aspx Language-Integrated Query (LINQ) is the name for a set of technologies based on the i 阅读全文
posted @ 2016-03-29 10:07 ChuckLu 阅读(419) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/data/gg558520.aspx 阅读全文
posted @ 2016-03-28 13:39 ChuckLu 阅读(171) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/ff477603(v=vs.100).aspx This topic provides an overview of the .ttinclude file that contains utility classes 阅读全文
posted @ 2016-03-28 13:21 ChuckLu 阅读(263) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/cbf4life/archive/2009/12/15/1624435.html 阅读全文
posted @ 2016-03-27 22:58 ChuckLu 阅读(177) 评论(0) 推荐(0) 编辑
摘要:http://www.techrepublic.com/article/google-deepmind-ai-tries-it-hand-at-creating-hearthstone-magic-the-gathering-cards/ Google Deepmind tasks a machin 阅读全文
posted @ 2016-03-26 15:39 ChuckLu 阅读(324) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/7689742/base-class-doesnt-contain-parameterless-constructor #region Assembly System.Data.Entity, Version=4.0.0.0, C 阅读全文
posted @ 2016-03-25 15:56 ChuckLu 阅读(932) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/ms191491.aspx 方法一:Using SQL Server Management Studio To detach a database In SQL Server Management Studio Obj 阅读全文
posted @ 2016-03-25 10:31 ChuckLu 阅读(427) 评论(0) 推荐(0) 编辑
摘要:右键,添加链接服务器 在安全里面输入用户名和密码 添加成功之后的使用方法 select * from [192.168.1.63,3326].[数据库].[dbo].[表] 阅读全文
posted @ 2016-03-24 16:57 ChuckLu 阅读(389) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/57b85fsc.aspx 阅读全文
posted @ 2016-03-23 10:25 ChuckLu 阅读(139) 评论(0) 推荐(0) 编辑
摘要:命令行中进行配置 http://stackoverflow.com/questions/783811/getting-git-to-work-with-a-proxy-server Command to use : change proxyuser to your proxy user change 阅读全文
posted @ 2016-03-23 10:10 ChuckLu 阅读(2348) 评论(0) 推荐(0) 编辑
摘要:https://en.wikipedia.org/wiki/Modular_multiplicative_inverse https://zh.wikipedia.org/wiki/%E6%A8%A1%E5%8F%8D%E5%85%83%E7%B4%A0 阅读全文
posted @ 2016-03-23 00:34 ChuckLu 阅读(392) 评论(0) 推荐(0) 编辑
摘要:https://en.wikipedia.org/wiki/Modular_exponentiation 蒙哥马利(Montgomery)幂模运算是快速计算a^b%k的一种算法,是RSA加密算法的核心之一。 蒙哥马利模乘的优点在于减少了取模的次数(在大数的条件下)以及简化了除法的复杂度(在2的k次幂 阅读全文
posted @ 2016-03-23 00:10 ChuckLu 阅读(2062) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/system.runtime.remoting.messaging.callcontext(v=vs.110).aspx Provides a set of properties that are carried wi 阅读全文
posted @ 2016-03-22 16:46 ChuckLu 阅读(271) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/bb126445.aspx Microsoft's Text Template Transformation Toolkit (usually referred to as "T4") is a template ba 阅读全文
posted @ 2016-03-22 11:16 ChuckLu 阅读(333) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/kwtft8ak(v=vs.140).aspx It is often useful to define interfaces either for generic collection classes, or for 阅读全文
posted @ 2016-03-21 16:38 ChuckLu 阅读(258) 评论(0) 推荐(0) 编辑
摘要:http://lnbogen.com/2006/09/20/changing-the-output-path-in-your-web-applications-is-a-bad-idea/ Let’s assume we have a WebSite(the same issue applied t 阅读全文
posted @ 2016-03-21 14:41 ChuckLu 阅读(227) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/ywdtth2f.aspx The topics in this section describe how to create, customize, and manage an ASP.NET Web project 阅读全文
posted @ 2016-03-21 14:26 ChuckLu 阅读(182) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/ms178108(v=vs.120).aspx When you run a Web project in Visual Studio, project options determine which Web serv 阅读全文
posted @ 2016-03-21 14:01 ChuckLu 阅读(331) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/dd547590(v=vs.110).aspx 阅读全文
posted @ 2016-03-21 13:44 ChuckLu 阅读(149) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/aa983445(v=vs.100).aspx The Web tab of the project Properties page enables you to specify start behavior, ser 阅读全文
posted @ 2016-03-21 13:31 ChuckLu 阅读(460) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/library/aa983454(v=vs.100).aspx ASP.NET Web application projects share the configuration settings and behavior that are use 阅读全文
posted @ 2016-03-21 13:27 ChuckLu 阅读(148) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/1343749/get-log4net-log-file-in-c-sharp Solution is quite easy in your situation; just use this code: var rootAppen 阅读全文
posted @ 2016-03-21 10:40 ChuckLu 阅读(1155) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-03-20 04:35 ChuckLu 阅读(293) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/4208231/visual-studio-adding-space-after-if-statements In the Visual Studio options, under Text Editor / C# / Forma 阅读全文
posted @ 2016-03-20 04:25 ChuckLu 阅读(511) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/gg416514(v=vs.108).aspx The Model-View-Controller (MVC) pattern is an architectural design principle that sep 阅读全文
posted @ 2016-03-18 17:33 ChuckLu 阅读(271) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/4w3ex9c2.aspx ASP.NET is a unified统一的 Web development model that includes the services necessary for you to b 阅读全文
posted @ 2016-03-18 16:38 ChuckLu 阅读(306) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/ee532866.aspx The topics in this section provide information about ASP.NET 4 and the Web development tools in 阅读全文
posted @ 2016-03-18 16:35 ChuckLu 阅读(209) 评论(0) 推荐(0) 编辑
摘要:https://github.com/JamesNK/Newtonsoft.Json Json.NET is a popular high-performance JSON framework for .NET http://www.newtonsoft.com/json Popular high- 阅读全文
posted @ 2016-03-17 21:41 ChuckLu 阅读(458) 评论(0) 推荐(0) 编辑
摘要:https://www.nuget.org/packages/Microsoft.AspNet.Mvc/3.0.50813.1 This package contains the runtime assemblies for ASP.NET MVC. ASP.NET MVC gives you a 阅读全文
posted @ 2016-03-17 21:39 ChuckLu 阅读(330) 评论(0) 推荐(0) 编辑
摘要:https://github.com/apache/log4net 阅读全文
posted @ 2016-03-17 21:11 ChuckLu 阅读(168) 评论(0) 推荐(0) 编辑
摘要:http://automapper.org/ A convention-based object-object mapper映射. 100% organic and gluten-free. Takes out all of the fuss of mapping one object to ano 阅读全文
posted @ 2016-03-17 21:09 ChuckLu 阅读(204) 评论(0) 推荐(0) 编辑
摘要:在项目上右键-->Manage NuGet Packages Browse 可以去搜索想要添加到项目的类库 Installed 已经添加到项目的类库 Updates 需要更新的类库 阅读全文
posted @ 2016-03-17 19:51 ChuckLu 阅读(825) 评论(0) 推荐(0) 编辑
摘要:ConfigurationManager.OpenExeConfiguration Method Opens the specified client configuration file as a Configuration object. http://stackoverflow.com/que 阅读全文
posted @ 2016-03-16 11:12 ChuckLu 阅读(2823) 评论(0) 推荐(0) 编辑
摘要:在app.config文件中添加如下配置 访问方式(需要添加System.Configuration.dll的引用) https://msdn.microsoft.com/en-us/library/system.configuration.configurationmanager.appsetti 阅读全文
posted @ 2016-03-15 16:34 ChuckLu 阅读(726) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/2811006/what-is-a-good-buffer-size-for-socket-programming 问题: We are using .Net and sockets. The server is using th 阅读全文
posted @ 2016-03-15 14:13 ChuckLu 阅读(209) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/22940317/protected-vs-protected-internal-again-in-c-sharp protected means that you can access the member from any s 阅读全文
posted @ 2016-03-15 13:57 ChuckLu 阅读(395) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/bcd5672a.aspx The protected keyword is a member access modifier. A protected member is accessible within its 阅读全文
posted @ 2016-03-15 13:46 ChuckLu 阅读(713) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/sf985hc5.aspx The abstract modifier indicates that the thing being modified has a missing or incomplete imple 阅读全文
posted @ 2016-03-15 13:25 ChuckLu 阅读(350) 评论(0) 推荐(0) 编辑
摘要:在word文档的第140页 A member lookup is the process whereby凭借;通过…;借以;与…一致 the meaning of a name in the context of a type is determined. A member lookup can o 阅读全文
posted @ 2016-03-15 10:12 ChuckLu 阅读(219) 评论(0) 推荐(0) 编辑
摘要:The C# Language Specification is the definitive决定性的;最后的;限定的 source for C# syntax and usage. This spec contains detailed information about all aspects 阅读全文
posted @ 2016-03-15 09:59 ChuckLu 阅读(1235) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/435f1dw2.aspx When used as a declaration modifier, the new keyword explicitly hides a member that is inherite 阅读全文
posted @ 2016-03-15 09:44 ChuckLu 阅读(486) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/51y09td4.aspx In C#, the new keyword can be used as an operator, a modifier, or a constraint. Used to create 阅读全文
posted @ 2016-03-15 09:28 ChuckLu 阅读(325) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/ms173153.aspx In C#, a method in a derived class can have the same name as a method in the base class. You ca 阅读全文
posted @ 2016-03-14 16:25 ChuckLu 阅读(236) 评论(0) 推荐(0) 编辑
摘要:The C# language is designed so that versioning between base and derived classes in different libraries can evolve发展 and maintain backward compatibilit 阅读全文
posted @ 2016-03-14 15:21 ChuckLu 阅读(219) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/ms173152.aspx Polymorphism is often referred to as the third pillar of object-oriented programming, after enc 阅读全文
posted @ 2016-03-14 14:06 ChuckLu 阅读(609) 评论(0) 推荐(0) 编辑
摘要:  一、初始化的过程   supersocket\socketengine\defaultbootstrap.cs   supersocket\socketbase\appserverbase.cs   supersocket\socketengine\socketserverfactory.cs 阅读全文
posted @ 2016-03-11 17:11 ChuckLu 阅读(6664) 评论(0) 推荐(0) 编辑
摘要:第一个函数 d:\sourcecode\github\supersocket\quickstart\basic\telnetserver_startbyconfig\program.cs static void Main(string[] args) { Console.WriteLine("Pre 阅读全文
posted @ 2016-03-11 14:46 ChuckLu 阅读(2402) 评论(0) 推荐(0) 编辑
摘要:第一个函数 d:\sourcecode\github\supersocket\quickstart\basic\telnetserver_startbyconfig\program.cs static void Main(string[] args) { Console.WriteLine("Pre 阅读全文
posted @ 2016-03-11 13:52 ChuckLu 阅读(2504) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-03-10 11:56 ChuckLu 阅读(456) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/ms173157.aspx If a class implements two interfaces that contain a member with the same signature, then implem 阅读全文
posted @ 2016-03-10 09:50 ChuckLu 阅读(260) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/ms173156.aspx An interface contains definitions for a group of related functionalities that a class or a stru 阅读全文
posted @ 2016-03-10 09:42 ChuckLu 阅读(372) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/ebca9ah3.aspx The override modifier is required to extend or modify the abstract or virtual implementation of 阅读全文
posted @ 2016-03-09 17:12 ChuckLu 阅读(369) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/9fkccyh4.aspx The virtual keyword is used to modify a method, property, indexer, or event declaration and all 阅读全文
posted @ 2016-03-09 16:54 ChuckLu 阅读(304) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/4253454/question-about-listening-and-backlog-for-sockets The listen backlog is, as Pieter said, a queue which is us 阅读全文
posted @ 2016-03-08 13:40 ChuckLu 阅读(285) 评论(0) 推荐(0) 编辑
摘要:把属性View设置为Details,确保列可以显示出来 this.listView1.View = System.Windows.Forms.View.Details; 属性Columns根据需要添加 this.listView1.Columns.AddRange(new System.Window 阅读全文
posted @ 2016-03-08 09:18 ChuckLu 阅读(575) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/z6zx288a(v=vs.110).aspx The System.Threading.Semaphore class represents a named (systemwide) or local semapho 阅读全文
posted @ 2016-03-07 11:22 ChuckLu 阅读(487) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/system.threading.semaphoreslim(v=vs.110).aspx Represents a lightweight alternative to Semaphore that limits t 阅读全文
posted @ 2016-03-07 10:59 ChuckLu 阅读(1249) 评论(0) 推荐(0) 编辑
摘要:http://www.albahari.com/threading/part2.aspx#_Mutex A Mutex is like a C# lock, but it can work across multiple processes. In other words, Mutex can be 阅读全文
posted @ 2016-03-07 10:40 ChuckLu 阅读(285) 评论(0) 推荐(0) 编辑
摘要:http://www.albahari.com/threading/part2.aspx#_Semaphore A semaphore is like a nightclub: it has a certain capacity, enforced by a bouncer. Once it’s f 阅读全文
posted @ 2016-03-07 10:29 ChuckLu 阅读(346) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/9647641/resharper-warns-static-field-in-generic-type It's fine to have a static field in a generic type, so long as 阅读全文
posted @ 2016-03-02 15:27 ChuckLu 阅读(547) 评论(0) 推荐(0) 编辑
摘要:FileStream vs/differences StreamWriter? http://stackoverflow.com/questions/4963667/filestream-vs-differences-streamwriter What is different between Fi 阅读全文
posted @ 2016-03-02 10:41 ChuckLu 阅读(292) 评论(0) 推荐(0) 编辑
摘要:http://csharpindepth.com/Articles/General/Unicode.aspx Scope of this page This is a big topic. Don't expect this page to do more than scratch the surf 阅读全文
posted @ 2016-03-01 17:31 ChuckLu 阅读(295) 评论(0) 推荐(0) 编辑
摘要:C:\Users\Administrator>tracert 10.0.0.1 通过最多 30 个跃点跟踪到 10.0.0.1 的路由 1 <1 毫秒 1 ms 3 ms 192.168.1.1 2 <1 毫秒 1 ms 1 ms 10.0.0.1 跟踪完成。 C:\Users\Administra 阅读全文
posted @ 2016-03-01 13:26 ChuckLu 阅读(1492) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示