Browse by Tags

All Tags » Microsoft (RSS)

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

Windows Home Server Power Pack 1 Release Candidate Available For Public Testing

The Windows Home Server Power Pack 1 Release Candidate has been made available for public testing. Read all about it here .
Posted by Paulo Morgado | with no comments

Microsoft Tech-Ed EMEA 2008 – Registration Open

Microsoft Tech-Ed EMEA 2008 is open for registration. Do notice that, this year, the event for IT Professionals happens before the event for Developers .
Posted by Paulo Morgado | with no comments

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.

Sysinternals Live

A colleague of mine showed me this and looked around for some information about it. Here it is: Sysinternals Live: We're excited to announce the beta of Sysinternals Live, a service that enables you to execute Sysinternals tools directly from the...
Posted by Paulo Morgado | with no comments

Pedro Félix Is Blogging

Pedro Félix is blogging about WCF .
Posted by Paulo Morgado | with no comments

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: , , ,

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

MSDN And TechNet Virtualized

Lately I've been analyzing various solutions for resource (applications, desktops and servers) virtualization, pooling and provisioning from the various players in this market ( Microsoft , Citrix , VMware , Sun , HP ). There are many advantages to...
Posted by Paulo Morgado | with no comments

Xobni: Email organization, search, and navigation for your Outlook inbox

Like many people, I exchange a lot of e-mail. Since I first read about Xobni , I've been thinking about installing it. When I read that Eric Legault (an Outlook MVP ) uses it, I decided to install it. Looks like a good improvement to Outlook.
Posted by Paulo Morgado | with no comments
Filed under: , ,

Picture Attachments Wizard 2.0 Released

Eric Legault (an Outlook MVP ) has released version 2.0 of his Picture Attachments Wizard . I was a big fan of this Outlook add-in when I was using Outlook 2003 and, even though Outlook 2007 comes with a preview feature, Eric managed to improve the Outlook...
Posted by Paulo Morgado | with no comments
Filed under: , ,

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...
More Posts Next page »