Browse by Tags

All Tags » MVP » C# (RSS)

TypeMock: How to Make Reflective Mocks More Natural

Like I said before , this as been on the back of my mind for a while. A while back I introduced a way to get the MethodInfo of a method in a strongly typed way using LINQ , and that's how I'm going to make Reflective Mocks more Natural . Well...

Stop Designing for Testability (by Eli Lopian)

Eli Lopian from TypeMock™ , has an article on CodeProject about the disadvantages of design for testability and how to use TypeMock™ to remove these disadvantages while keep the advantages of unit testing. I have to say that I agree with Eli: design for...

Unit Test Patterns for .NET (from TypeMock™)

There is a good set of articles about Unit Test Patterns in the TypeMock™ site: Unit-Test Patterns for .NET - Part I This article looks at patterns in unit testing and describes the main patterns found in tested .NET code. It also describes the problems...

TypeTypeConverter vs. TypeNameConverter

Some time ago I complained about the fact that a TypeConverter for Type s was missing from the .NET Framework . At the time I had search for one in the framework but only found internal or private implementations. As it turns out, the version 2.0 of the...
Posted by Paulo Morgado | 1 comment(s)
Filed under: , , , , ,

.NET Framework 2.0 Service Pack 1 and .NET Framework Service Pack 1 available as a standalone download

For those who can't (or don't want to) deploy .NET Framework 3.5, the service packs included for the 2.0 and 3.0 versions of the framework are available as standalone downloads. Microsoft .NET Framework 2.0 Service Pack 1 (x86) Microsoft .NET...

Visual Studio 2008 and .NET FX 3.5 to RTM before the end of November 2007

Today, S.Somasegar announced at TechEd Developers EMEA , amongst other things, that they the product team at Microsoft is putting the finishing touches on Visual Studio 2008 and .NET FX 3.5. They are on track to shipping these products before the end...

A new phase for the Acropolis project

The Acropolis Team has announced that Acropolis is going to enter a new phase.

Are Page Modules Still Useful In IIS7?

With IIS7 a new transfer method is available in the HttpServerUtility class . It's the TransferRequest method . What this method is intended to do is behave like the HttpResponse.Redirect method without the penalty of traveling to the client and back...

VS REGEX: Commenting Generated Assert Instructions

Visual Studio's Unit Test generator generates a call to Assert.Inconclusive but, usually generates a call to another method of the Assert class. I find that very annoying because, some times, this makes the test fail instead of being reported as inconclusive...

VS REGEX: Joining Concatenated Strings

I don't like to see constant strings being concatenated in source code. I know the compiler compiles it into a single string, but I think it sends out the wrong message. However, code generators (like Visual Studio's Unit Test generator) usually...
Posted by Paulo Morgado | with no comments

TypeMock 4.1 has been released.

The main features of this version are: Support of .NET 3.5 syntax changes Mocking automatic properties. Mocking Anonymous Types. Mocking Lambda Expressions. Verifying New Initialziers. Mocking Extension Methods. Mocking LINQ statements. Integration API...
Posted by Paulo Morgado | with no comments

Validation Guidance Bundle

The P&P team has released another Web Client Software Factory Guidance Bundle . This time is the Validation Guidance Bundle . What are some scenarios to consider using the guidance in this bundle for? Improving UI responsiveness while reusing entity...

Page Flow Application Block With Page Modules

Introduction In this article I will demonstrate how a web application can benefit from the use of Page Modules using, for the demonstration, the Page Flow Store Quick Start and the Page Flow Application Block shipped with the Web Client Software Factory...

What is the real story behind the name of C#?

My good friend Luís is doing a series of posts on C# 3.0 . Talking with him about C# made me thing about the true story behind the name of C# . James Kovacs summarizes the whole story here .

Guidance Bundles From The Web Client Software Factory

The P&P team came up with a new concept for the Web Client Software Factory : Guidance Bundles . What is a Guidance Bundle? A Guidance Bundle is a small package of guidance whose purpose is to allow users to quickly, conveniently, and easily learn...

Web Client Software Factory Knowledge Base

Check out the knowledge base page at the Web Client Guidance Community site .

You Don't Always Need Page Modules

From my article on Page Modules some people might have gotten the wrong impression that this would be the only way to get a reference to the page given its path, but it isn't. You can use the System.Web.UI.PageParser.GetCompiledPageInstance method...

ASP.NET Resource Providers and HTTP Context

Sometime ago I built a custom resource provider for ASP.NET that relied on an attribute applied to the HTTP handler (usually a page ) class instead of its virtual path to determine the location of the resources. Something like this: [ ResourceLocationAttribute...

The Cost Of Client-Side Redirects In ASP.NET And Using Page Modules

I've been asked if the Page Modules are really useful and if is there such an high cost on client-side redirects. I hope this helps to shed some light to the issue.

Introducing ASP.NET Page Modules

From the need to handle events in every rendered page and not wanting to pay the penalties (network usage and server load) of frequent client redirects, I came up with the concept of Page Modules. Read all about it.
More Posts Next page »