03 2016 档案
摘要:项目地址https://github.com/dockpanelsuite/dockpanelsuite 可以参考的博客http://www.cnblogs.com/wuhuacong/archive/2009/07/09/1520082.html#!comments 可以通过NuGet获取dll;
阅读全文
摘要:先上代码 单元测试一般都是基于接口的,比如Isys_systemInfoService TestInitialize初始化的时候执行的函数 TestMethod待测试的方法
阅读全文
摘要:在VS的菜单栏上,Test-->Windows-->TestExplorer 在TestExplorer的最下方,有一个Output 查看测试结果,使用了Console.WriteLine 出现异常的时候,在提示窗口,右键,选择Copy All Test Name: DeleteSystemInfo
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:https://msdn.microsoft.com/en-us/data/gg558520.aspx
阅读全文
摘要: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
阅读全文
摘要:http://www.cnblogs.com/cbf4life/archive/2009/12/15/1624435.html
阅读全文
摘要:http://www.techrepublic.com/article/google-deepmind-ai-tries-it-hand-at-creating-hearthstone-magic-the-gathering-cards/ Google Deepmind tasks a machin
阅读全文
摘要:http://stackoverflow.com/questions/7689742/base-class-doesnt-contain-parameterless-constructor #region Assembly System.Data.Entity, Version=4.0.0.0, C
阅读全文
摘要:https://msdn.microsoft.com/en-us/library/ms191491.aspx 方法一:Using SQL Server Management Studio To detach a database In SQL Server Management Studio Obj
阅读全文
摘要:右键,添加链接服务器 在安全里面输入用户名和密码 添加成功之后的使用方法 select * from [192.168.1.63,3326].[数据库].[dbo].[表]
阅读全文
摘要:https://msdn.microsoft.com/en-us/library/57b85fsc.aspx
阅读全文
摘要:命令行中进行配置 http://stackoverflow.com/questions/783811/getting-git-to-work-with-a-proxy-server Command to use : change proxyuser to your proxy user change
阅读全文
摘要: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
阅读全文
摘要:https://en.wikipedia.org/wiki/Modular_exponentiation 蒙哥马利(Montgomery)幂模运算是快速计算a^b%k的一种算法,是RSA加密算法的核心之一。 蒙哥马利模乘的优点在于减少了取模的次数(在大数的条件下)以及简化了除法的复杂度(在2的k次幂
阅读全文
摘要: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
阅读全文
摘要:https://msdn.microsoft.com/en-us/library/bb126445.aspx Microsoft's Text Template Transformation Toolkit (usually referred to as "T4") is a template ba
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:https://msdn.microsoft.com/en-us/library/dd547590(v=vs.110).aspx
阅读全文
摘要: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
阅读全文
摘要:https://msdn.microsoft.com/library/aa983454(v=vs.100).aspx ASP.NET Web application projects share the configuration settings and behavior that are use
阅读全文
摘要: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
阅读全文
摘要:http://stackoverflow.com/questions/4208231/visual-studio-adding-space-after-if-statements In the Visual Studio options, under Text Editor / C# / Forma
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:https://github.com/JamesNK/Newtonsoft.Json Json.NET is a popular high-performance JSON framework for .NET http://www.newtonsoft.com/json Popular high-
阅读全文
摘要: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
阅读全文
摘要:https://github.com/apache/log4net
阅读全文
摘要: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
阅读全文
摘要:在项目上右键-->Manage NuGet Packages Browse 可以去搜索想要添加到项目的类库 Installed 已经添加到项目的类库 Updates 需要更新的类库
阅读全文
摘要:ConfigurationManager.OpenExeConfiguration Method Opens the specified client configuration file as a Configuration object. http://stackoverflow.com/que
阅读全文
摘要:在app.config文件中添加如下配置 访问方式(需要添加System.Configuration.dll的引用) https://msdn.microsoft.com/en-us/library/system.configuration.configurationmanager.appsetti
阅读全文
摘要: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
阅读全文
摘要:http://stackoverflow.com/questions/22940317/protected-vs-protected-internal-again-in-c-sharp protected means that you can access the member from any s
阅读全文
摘要:https://msdn.microsoft.com/en-us/library/bcd5672a.aspx The protected keyword is a member access modifier. A protected member is accessible within its
阅读全文
摘要:https://msdn.microsoft.com/en-us/library/sf985hc5.aspx The abstract modifier indicates that the thing being modified has a missing or incomplete imple
阅读全文
摘要:在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
阅读全文
摘要:The C# Language Specification is the definitive决定性的;最后的;限定的 source for C# syntax and usage. This spec contains detailed information about all aspects
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:The C# language is designed so that versioning between base and derived classes in different libraries can evolve发展 and maintain backward compatibilit
阅读全文
摘要:https://msdn.microsoft.com/en-us/library/ms173152.aspx Polymorphism is often referred to as the third pillar of object-oriented programming, after enc
阅读全文
摘要: 一、初始化的过程 supersocket\socketengine\defaultbootstrap.cs supersocket\socketbase\appserverbase.cs supersocket\socketengine\socketserverfactory.cs
阅读全文
摘要:第一个函数 d:\sourcecode\github\supersocket\quickstart\basic\telnetserver_startbyconfig\program.cs static void Main(string[] args) { Console.WriteLine("Pre
阅读全文
摘要:第一个函数 d:\sourcecode\github\supersocket\quickstart\basic\telnetserver_startbyconfig\program.cs static void Main(string[] args) { Console.WriteLine("Pre
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:https://msdn.microsoft.com/en-us/library/ebca9ah3.aspx The override modifier is required to extend or modify the abstract or virtual implementation of
阅读全文
摘要: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
阅读全文
摘要:http://stackoverflow.com/questions/4253454/question-about-listening-and-backlog-for-sockets The listen backlog is, as Pieter said, a queue which is us
阅读全文
摘要:把属性View设置为Details,确保列可以显示出来 this.listView1.View = System.Windows.Forms.View.Details; 属性Columns根据需要添加 this.listView1.Columns.AddRange(new System.Window
阅读全文
摘要:https://msdn.microsoft.com/en-us/library/z6zx288a(v=vs.110).aspx The System.Threading.Semaphore class represents a named (systemwide) or local semapho
阅读全文
摘要:https://msdn.microsoft.com/en-us/library/system.threading.semaphoreslim(v=vs.110).aspx Represents a lightweight alternative to Semaphore that limits t
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:FileStream vs/differences StreamWriter? http://stackoverflow.com/questions/4963667/filestream-vs-differences-streamwriter What is different between Fi
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文