Paulo Morgado

.NET Development & Architecture

This Blog

Syndication

Search

Tags

News

Unit Test Today! Get Typemock Isolator!

Projects

Books

 

Visitors

Visitor Locations

Community

Email Notifications

Archives

Profile

Disclaimer

The opinions and viewpoints expressed in this site are mine and do not necessarily reflect those of Microsoft, my employer or any community that I belong to. Any code or opinions are offered as is. Products or services mentioned are purchased by me, made available to me by my employer or the manufacturer/vendor which doesn't influence my opinion in any way.

Browse by Tags

All Tags » VisualStudio » .NET (RSS)
Breaking Changes In Argument List Evaluation In C# 5.0
The C# Language Specification states on §7.5.1.2 that “(…) the expressions or variable references of an argument list are evaluated in order, from left to right (…)”. So, when this code is compiled with the C# 4.0 compiler: static void M( int x = 10,...

Posted Wed, Jul 18 2012 1:22 by Paulo Morgado | with no comments

Announcing The Microsoft Roslyn CTP
The Roslyn team has announced general availability of the Roslyn CTP ! The official launch is at http://msdn.com/roslyn , and there were a number of blogs to publicize the availability broadly ( soma , ericli , vsteam , vbteam , c#faq ) and across twitter...

Posted Thu, Oct 20 2011 1:39 by Paulo Morgado | with no comments

Visual Studio 2010 Service Pack 1 And .NET Framework 4.0 Update
As announced by Jason Zender in his blog post , Visual Studio 2010 Service Pack 1 is available for download for MSDN subscribers since March 8 and is available to the general public since March 10. Brian Harry provides information related to TFS and S...

Posted Thu, Mar 10 2011 2:46 by Paulo Morgado | 1 comment(s)

C# Proposal: Compile Time Static Checking Of Dynamic Objects
C# 4.0 introduces a new type: dynamic . dynamic is a static type that bypasses static type checking. This new type comes in very handy to work with: The new languages from the dynamic language runtime . HTML Document Object Model (DOM). COM objects. Duck...

Posted Fri, Mar 19 2010 3:34 by Paulo Morgado | 2 comment(s)

A TraceListener For Tests
In my code, I make extensive use of debug assertions (see System.Diagnostics.Debug.Assert ). These assertions are very helpful while debugging because you don’t need to step into every line of code to see if all pre-conditions are met. As soon as a pre...

Posted Sun, Jan 24 2010 23:59 by Paulo Morgado | with no comments

How To Set Elements Of An Array Of A Private Type Using Visual Studio Shadows
Visual Studio uses Publicize to create accessors public for private members and types of a type. But when you try to set elements of a private array of elements of a private type, things get complicated. Imagine this hypothetic class to test: public static...

Posted Tue, Jan 19 2010 0:26 by Paulo Morgado | with no comments

Compiling .NET 1.1 Projects In Visual Studio 2008
After having put my .NET 1.1 application running on the .NET 2.0 runtime ( ^ ), I’m planning on migrating it to .NET 2.0 , but not all at once. Because I don’t want to have 2 solutions (one on Visual Studio 2003 for the .NET 1.1 assemblies and another...

Posted Mon, Oct 26 2009 0:09 by Paulo Morgado | 16 comment(s)

Improving Debugging And Testing Through Assertions
Reading through the The Typemock Insider blog, I came across this post from Gil Zilberfeld . I myself tend to fall in Gil’s practice ("binary search" debugging), but I don’t think Kent Beck has the right solution . Gil’s suggestion of using...

Posted Wed, Dec 3 2008 2:56 by Paulo Morgado | with no comments

The Future Of C#
If you were able to attend this session at PDC or Tech-Ed EMEA Developers , you were presented with a first class presentation of the future of C# , presented, respectively, by Anders Hejlsberg and Mads Torgersen . For the near future ( .NET 4.0) C# will...

Posted Wed, Dec 3 2008 1:17 by Paulo Morgado | with no comments

PDC And Tech-Ed Wrap-Up
(It might seem a bit late for this, but, lately, I’ve been having a lot on my mind. So here it goes.) This was my first PDC . It was just as I had been told. For those who don’t know, the PDC is all about the future. The near future ( .NET 4.0 and Windows...

Posted Tue, Dec 2 2008 0:15 by Paulo Morgado | with no comments

Clone Detective For Visual Studio
Clone Detective is a tool that integrates with Visual Studio and uses the ConQAT ( Con tinuous Q uality A ssessment T oolkit) to analyze C# projects and search for duplicated source code. Watch the videos and see if this is the tool you were looking for...

Posted Thu, Aug 28 2008 23:41 by Paulo Morgado | with no comments

Typemock Isolator 5.0 Is Out With Its New AAA API
Typemock has released version 5.0 of its unit testing tool: Isolator . Check out the release notes . This new version comes with a new API: A rrange A ct A ssert: Isolator AAA API - The Basics Isolator AAA: Creating Fakes I’ll have to say that I liked...

Posted Wed, Aug 20 2008 22:33 by Paulo Morgado | with no comments

.NET 3.5 SP1, VS2008 SP1 And TFS2008 SP1 Released
Microsoft .NET Framework 3.5 Service Pack 1 Microsoft Visual Studio 2008 Service Pack 1 (iso) Visual Studio 2008 Team Foundation Server Service Pack 1

Posted Tue, Aug 12 2008 1:20 by Paulo Morgado | with no comments

Visual Studio 2008 Service Pack 1 Expected Next Week
According to the MSDN Subscriptions home page , we should expect Visual Studio 2008 Service Pack 1 availability after August 11, 2008.

Posted Fri, Aug 8 2008 1:26 by Paulo Morgado | 1 comment(s)

Using Random Values For Unit Testing
When writing my unit tests I don’t like to use hard coded fixed values because I either end up using the same values or, because of that, tests may succeed by coincidence. Over time, I have developed an helper class to generate random values for testing...

Posted Tue, Jun 24 2008 0:40 by Paulo Morgado | 5 comment(s)

Microsoft Source Analysis for C# (aka StyleCop)
I’ve learned from a fellow GASP er of the release of Microsoft Source Analysis for C# (aka StyleCop) . It’s still a work in progress but it’s already very useful.

Posted Thu, Jun 5 2008 0:12 by Paulo Morgado | with no comments

Typemock Isolator v4.2.4 Released
Typemock released version 4.2.4 of its Isolator mock framework . You can check out the release notes in The Typemock Insider blog and download it from the Typemock Isolator Download page .

Posted Mon, May 19 2008 0:37 by Paulo Morgado | with no comments

Stretching Type Inference
Note: Code in italics is not actual C# 3.0 syntax. Local Variable Type Inference C# 3.0 brought us local variable type inference mainly because of LINQ . The output of a query can vary from an IEnumerable<T> or an IQueryable<T> to a single...

Posted Tue, Apr 22 2008 1:35 by Paulo Morgado | 6 comment(s)

Filed under: , , , ,

TypeMock Isolator 4.2 Released
TypeMock has released version 4.2 of its mocking framework: TypeMock Insulator. Check out the release notes . My four favorite new features in this release are: Improved mock chaining Debugger evaluation doesn't change the test behavior The debugger...

Posted Mon, Mar 3 2008 0:40 by Paulo Morgado | with no comments

Web Client Software Factory 2.0 shipped
Web Client Software Factory 2.0 February 2008 Release Resources MSDN site: http://msdn.microsoft.com/webclientfactory Community site: http://www.codeplex.com/websf About the Deliverable The Web Client Software Factory (WCSF) provides a set of guidance...

Posted Fri, Feb 29 2008 1:54 by Paulo Morgado | with no comments

More Posts Next page »