Paulo Morgado
.NET Development & Architecture
-
Windows Home Server "Unknown network error has occurred during PC Restore" Problem
This week I had to restore my son’s PC due to a game he had installed that rendered Windows 7 in a state it was unable to reboot or recover from.
-
LINQ: Single vs. SingleOrDefault
Like other LINQ API methods that extract a scalar value from a sequence, Single has a companion SingleOrDefault.
-
LINQ: Single vs. First
I’ve witnessed and been involved in several discussions around the correctness or usefulness of the Single method in the LINQ API.
-
Visual Studio: Setting Up The Current Project And Run
When I’m building a demo solution I usually have several projects to demo different features.
-
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.
-
Free e-Book: Programming Windows Phone 7 Series by Charles Petzold
-
Web Site Globalization With ASP.NET Routing
For those who don’t know, I have this web site http://PauloMorgado.NET/ that I use both as a web presence besides my blogs and a playfield.
-
Coupling ASP.NET Session State With Forms Authentication
Today I was talking with João about a way to couple the lifetime of the ASP.NET session state with the lifetime of Forms Authentication ticket.
-
Playing With LINQ: Getting Interface Property Implementations
Today, my friend Nuno was writing some code to get the PropertyInfos of a class implementation of an interface.
-
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-condition fails, an assertion failed window will pop up and will allow us to either abort, ignore or go to the assertion instruction (retry).