2020年2月17日

如何远程登录Windows云服务器?

摘要: Windows云服务器使用一种叫做RDP的协议,用来允许远程登录Windows操作系统。RDP是Remote Desktop Protocol的简称,类似于Linux云服务器使用SSH协议来远程登录。 根据用户本地操作系统的不同,远程登录Windows云服务器的方法也不相同。下面就分成Windows 阅读全文

posted @ 2020-02-17 14:34 戒日王 阅读(2033) 评论(0) 推荐(0) 编辑

2016年2月15日

When to use HTML Helper?

摘要: HTML Helper Single or closely related HTML elements(template) Simpler,low level logic for displaying elements Partial View/Child Action Section of mor 阅读全文

posted @ 2016-02-15 15:41 戒日王 阅读(122) 评论(0) 推荐(0) 编辑

2016年1月26日

C# Coding & Naming Conventions

摘要: Reference documenthttps://msdn.microsoft.com/en-us/library/ff926074.aspxhttps://msdn.microsoft.com/en-us/library/ms229045(v=vs.110).aspxCoding Convent... 阅读全文

posted @ 2016-01-26 14:48 戒日王 阅读(303) 评论(0) 推荐(0) 编辑

C# Best Practices - Handling Strings

摘要: FeaturesStrings Are Immutable.A String Is a Reference TypeValue TypeStore their data directlyExample: int, decimal, bool, enumReference TypeStore refe... 阅读全文

posted @ 2016-01-26 11:54 戒日王 阅读(152) 评论(0) 推荐(0) 编辑

2016年1月22日

C# Best Practices - Specify Clear Method Parameters

摘要: Improve parametersparameter orderpublic OperationResult PlaceOrder(Product product, int quantity, bool includeAddress, bool sendCopy)Acted opon or key... 阅读全文

posted @ 2016-01-22 11:54 戒日王 阅读(240) 评论(0) 推荐(0) 编辑

2016年1月14日

C# Best Practices - Creating Good Methods

摘要: How to Define a MethodIdentify the problem => Define the single purpose => Specify the inputs and outputs => State any assumptions => Consider the err... 阅读全文

posted @ 2016-01-14 11:42 戒日王 阅读(185) 评论(0) 推荐(0) 编辑

2016年1月12日

C# Best Practices - Creating Good Properties

摘要: Coding PropertiesCode in the GetterCheck the user's credentialsCheck application stateFormat the returned valueLogLazy Loading related data/objectCode... 阅读全文

posted @ 2016-01-12 18:18 戒日王 阅读(147) 评论(0) 推荐(0) 编辑

C# Best Practices - Define Fields Appropriately

摘要: Backing Fields private string description; private int productId; Features A variable in a class Holds data for each object Object's data is only acce 阅读全文

posted @ 2016-01-12 17:38 戒日王 阅读(158) 评论(0) 推荐(0) 编辑

2016年1月7日

C# Best Practices - Accessing and Using Classes

摘要: References and UsingDo:Take care when defining referencesReferences must be one way (or circular dependency error)Take advantage of the using directiv... 阅读全文

posted @ 2016-01-07 15:52 戒日王 阅读(156) 评论(0) 推荐(0) 编辑

C# Best Practices - Building Good Classes

摘要: Building a ClassThe last four refer as membersSignatureAccessiblity modifier (Default:internal)class keywordClass NameXML documents commentsFieldsA va... 阅读全文

posted @ 2016-01-07 11:24 戒日王 阅读(181) 评论(0) 推荐(0) 编辑

导航