Comparing CodeRush Refactor! Pro and Resharper 4, part 1 or N — first glance.

Metadata view of code in referenced assembliesThis is a big one for me.  For whatever reason, Refactor 4 (and prior) completely disables this and sends you to the Object Browser instead.   You get metadata view with CodeRush Refactor! Pro.  Keyboard layoutAs you might imagine, CodeRush Refactor! Pro and Resharper had completely different keyboard layouts.  So, if you’re used to R# then Refactor! Pro will take a bit of getting used to. One thing I don’t like with the default Refactor! Pro keyboard layout, is they’ve replaced Ctrl-. with Quick Navigation.  I use Ctrl-. (instead of Shift-Alt-F10 to get at the … Continue reading Comparing CodeRush Refactor! Pro and Resharper 4, part 1 or N — first glance.

Entity Framework Petition of Vote of Non Confidence

I had intended to be happy simply being a signatory of ADO .NET Entity Framework Vote of No Confidence.  But, there’s people suggesting signatories of this petition are wackos or on the fringe. Do yourself a favour and read the petition.  Read what we have issues with and how we think Entity Framework (EF) can be improved to be a better product.  Read seminal material by industry leaders on entity-oriented and object-oriented application development like Domain Driven Design, and Agile Principles, Patterns and Practices in C# (and the predecessor Agile Software Development: Principles, Patterns and Practices) and Applying Domain-Driven Design and … Continue reading Entity Framework Petition of Vote of Non Confidence

Trace to output window without adding code.

Want to trace some run-time data to the output window while debugging without changing and recompiling your code?  Use Tracepoints:

Fundamentals of OOD Part 3: Method Cohesion

Single Responsibility Principle (SRP) helps us write more cohesive types and methods.  Cohesion is the relatedness of the members of a type to each other and the relatedness parts of a method’s code to other parts. Method cohesionOften times a method is not very cohesive, meaning the code that it executes relates to more than one thing.  This can often be seen with a method that contains a large switch statement.  For any invocation of the method only one case statement may be executed; meaning that blocks of code within the method don’t relate to all the other blocks.  Switch … Continue reading Fundamentals of OOD Part 3: Method Cohesion

.NET Framework Source Code License.

This license applies to the .NET Framework components that Microsoft makes available to you in source code form.  To print these terms, select the contents of this area and copy then paste into an application that can print text. MICROSOFT .NET FRAMEWORK REFERENCE LICENSE.NET FRAMEWORK REFERENCE SOURCE CODE This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.1. DefinitionsThe terms “reproduce,” “reproduction” and “distribution” have the same meaning here as under U.S. copyright law. “You” means the licensee of the software, who … Continue reading .NET Framework Source Code License.