Browse by Tags

All Tags » .NET (RSS)

Isolator 4.3 Released!

Today Typemock released version 4.3 of Typemock Isolator . Download it from here . What’s new? Support for Ivonna . For those of you who develop ASP.Net applications, Ivonna is a great tool, built on top of Isolator’s platform, to simplify writing tests...
Posted by Paulo Morgado | with no comments

Why Use Random Values For Unit Testing

On a previous post I introduced a library for generating random values for purposes of unit testing. I received a few comments and questions on my blogs [ ^ ][ ^ ][ ^ ][ ^ ]. Simon says that he’d “generally want every instance of the test I run to be...

Replacing Loaded Assemblies

Recently I’ve been asked if it would be possible to replace the assemblies loaded by a .NET Windows Service application while it was running like with ASP.NET . Like with ASP.NET, an application start and end events where needed. The solution is quite...
Posted by Paulo Morgado | with no comments
Filed under: , , ,

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...

More On ASP.NET Validators And Validation Summary Rendering of Properties

On previous posts [ ^ ][ ^ ] I mentioned the size of ASP.NET validators and validation summary rendering and the fact that expando attributes are being used to add properties. Mohamed also mentions this issue. Besides the fact that custom attributes aren't...

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.

Getting .NET 1.1 CLR String Hash Codes In The .NET 2.0 CLR

Everyone knows (or, should know) that values values retrieved from the GetHashCode method should not be persisted for later use, specially with strings , because: The behavior of GetHashCode is dependent on its implementation, which might change from...
Posted by Paulo Morgado | with no comments
Filed under: , , ,

Typemock Developers Community Site Updated

Typemock has updated its Developers Community Site with new sections. Besides the forums , there's a new add-ons page where anyone can share her/his tools or snippets (I guess I'll have to brush up my Typemock Snippets For Visual Studio to add...

.NET Framework Client Profile - What Will Be On It?

Justin Van Patten has posted on BCL Team Blog about the .NET Framework Client Profile . In this post he goes through the list of the assemblies that will and will not be part of this client profile. If you know how classes are packaged in the .NET Framework...
Posted by Paulo Morgado | with no comments
Filed under: ,

.NET Reflector 5.1.2.0 Released

Get it from here .
Posted by Paulo Morgado | 2 comment(s)
Filed under: , , ,

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 by Paulo Morgado | with no comments

Rendering ASP.NET Validators And Validation Summary Property As HTML Attributes

Yesterday I blogged about the cause of ASP.NET validators and validation summary slowness . At that point I wasn't aware of the existence of the XHTML conformance configuration (thanks Nuno ). With the XHTML conformance configuration set to Legacy...

The Cause Of ASP.NET Validators And Validation Summary Slowness

When building ASP.NET pages, if you use too many validators and validation summaries your pages can become very slow. Have you ever wondered why? Lets build a simple page web page with a few validators. Something like this: The page is composed of: 2...

Build Your Own LINQ Provider

Mehfuz has been building a toolkit for creating LINQ providers and it's available at CodePlex : LINQExtender He has even built a LINQ provider for flickr with it: LINQ.Flickr
Posted by Paulo Morgado | with no comments

The Architecture Tool Space Keeps Growing

The tool space for software architecture has been growing. There are new tools and continuous improvement in the existing ones. Framework Design Studio Last month Krzysztof Cwalina from Microsoft released the Framework Design Studio at MSDN Code Gallery...

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...

Framework Design Studio On MSDN Code Gallery

I just came across this today: Framework Design Studio is a set of tools for reusable library designers. The package contains a GUI tool for viewing, reviewing, and comparing versions of managed APIs. It also contains a command line tool for generating...
Posted by Paulo Morgado | with no comments

Upgrading the WCSF EventBroker Extension to WCSF 2.0

While preparing the demos for my session at TechDays Portugal 2008 , I've noticed some changes in the Web Client Software Factory 2.0 that prevented the EventBroker Extension from compiling and running. The problem ended out just being a little change...

WCSF 2.0 And IIS7 Integrated Pipeline Mode

While preparing the demos for my session at TechDays Portugal 2008 , I've noticed that the Web Client Software Factory 2.0 doesn't work with IIS7 in integrated pipeline mode because it's trying to access the Request property of the current...

.NET Reflector 5.1

.NET Reflector 5.1 is out. The only thing new I've noticed different is improved user experience in my Windows Vista SP1 64-bit system. No more security prompts.
Posted by Paulo Morgado | with no comments
Filed under: , ,
More Posts Next page »