Click here to Skip to main content

Articles by Paulo Morgado (Articles: 12, Technical Blogs: 46)

Articles: 12, Technical Blogs: 46

RSS Feed

Average article rating: 3.90

Miscellaneous
HTML Browser Controls
Posted: 14 Oct 2006   Updated: 15 Apr 2010   Views: 69,432   Rating: 3.06/5    Votes: 11   Popularity: 3.18
Licence: The Code Project Open License (CPOL)      Bookmarked: 21   Downloaded: 1,330
An implementation of a web browser control for the .NET Framework 1.1.
ASP.NET
General
Posted: 6 Jan 2006   Updated: 6 Jan 2006   Views: 133,984   Rating: 4.83/5    Votes: 17   Popularity: 5.95
Licence: The Code Project Open License (CPOL)      Bookmarked: 62   Downloaded: 477
An article on HTTP compression in the .NET Framework 1.1.
Posted: 13 Jan 2006   Updated: 1 May 2007   Views: 171,828   Rating: 4.61/5    Votes: 20   Popularity: 6.00
Licence: Not specified      Bookmarked: 70   Downloaded: 1,370
An article on how to request and handle HTTP compression in .NET Framework 2.0.
Posted: 7 Jan 2007   Updated: 15 Apr 2010   Views: 24,303   Rating: 4.17/5    Votes: 8   Popularity: 3.73
Licence: The Code Project Open License (CPOL)      Bookmarked: 48   Downloaded: 354
An IHttpHandler/IHttpHandlerFactory to map requests.
Posted: 9 Sep 2007   Updated: 15 Apr 2010   Views: 36,791   Rating: 3.81/5    Votes: 10   Popularity: 3.81
Licence: The Code Project Open License (CPOL)      Bookmarked: 48   Downloaded: 312
This article introduces the concept of Page Modules, which are similar to HTTP Modules but related to Page Life Cycle, and the need for them.
C#
General
Posted: 25 Jul 2012   Updated: 30 Jul 2012   Views: 17,211   Rating: 4.83/5    Votes: 11   Popularity: 5.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
In C# 4.0 there was an error in the C# compiler in the order of the evaluation of the arguments in argument lists.
XML
XML/XSLT
Posted: 25 Jan 2006   Updated: 25 Jan 2006   Views: 23,648   Rating: 4.00/5    Votes: 5   Popularity: 2.80
Licence: Not specified      Bookmarked: 9   Downloaded: 196
An article on how to fork the processing of XML, in .NET Framework 1.1.
Posted: 25 Jan 2006   Updated: 25 Jan 2006   Views: 24,914   Rating: 3.38/5    Votes: 5   Popularity: 2.37
Licence: Not specified      Bookmarked: 9   Downloaded: 236
An article on how to process XML sub-trees in .NET Framework 1.1.
.NET Framework
Utilities
Posted: 24 Jan 2007   Updated: 29 Jan 2007   Views: 28,556   Rating: 3.18/5    Votes: 8   Popularity: 2.87
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 182
A Culture and Region Information tool for .NET 2.0 based on System.Globalization.CultureAndRegionInfoBuilder
Cross Platform
General
Posted: 15 Jan 2007   Updated: 15 Apr 2010   Views: 21,323   Rating: 3.60/5    Votes: 5   Popularity: 2.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 0
A data store to store data by scope.
Posted: 2 Jan 2007   Updated: 15 Apr 2010   Views: 33,668   Rating: 3.26/5    Votes: 14   Popularity: 3.73
Licence: The Code Project Open License (CPOL)      Bookmarked: 34   Downloaded: 0
Introducing the concept
LINQ
General
Posted: 12 Dec 2010   Updated: 12 Dec 2010   Views: 12,232   Rating: 4.12/5    Votes: 9   Popularity: 3.93
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 0
Some time ago, I needed to retrieve the last items of a sequence that satisfied some criteria and, looking at the operators available in the Enumerable class, I noticed that there wasn’t such an operator.

Average blogs rating: 4.63

Shell and IE programming
General
Posted: 13 Apr 2010   Updated: 15 Apr 2010   Views: 6,730   Rating: 4.50/5    Votes: 2   Popularity: 1.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
The procedures to define document compatibility in Internet Explorer 8 are well documented here, but I’ve seen many developers and system administrators that are not aware of this...
ASP.NET
General
Posted: 13 Apr 2010   Updated: 15 Apr 2010   Views: 9,439   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Web Site Globalization With ASP.NET Routing
Posted: 28 Sep 2010   Updated: 28 Sep 2010   Views: 5,514   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Patch For ASP.NET Vulnerability Available
Utilities
Posted: 14 Jun 2010   Updated: 14 Jun 2010   Views: 14,987   Rating: 3.29/5    Votes: 3   Popularity: 1.57
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Is Your ASP.NET Development Server Not Working?
Client side scripting
General
Posted: 9 May 2010   Updated: 31 May 2010   Views: 21,213   Rating: 4.33/5    Votes: 3   Popularity: 2.07
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Detecting User Regional Settings In The Web Browser
Session State
Sessions and Session State
Posted: 13 Apr 2010   Updated: 15 Apr 2010   Views: 12,514   Rating: 4.75/5    Votes: 4   Popularity: 2.86
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Coupling ASP.NET Session State With Forms Authentication
Windows Phone 7/8
General
Posted: 9 Jul 2012   Updated: 9 Jul 2012   Views: 8,265   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
There are a many articles on MSDN (and all over the Internet) about globalization and localization of Silverlight applications in general and specifically Windows Phone 7 applications but I haven’t found any that uses a value converter.
Posted: 22 Jan 2013   Updated: 28 Jan 2013   Views: 5,512   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
How it can be used in a simple application.
Posted: 2 Jan 2013   Updated: 28 Jan 2013   Views: 11,062   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
With Rx, events are first class citizens that can be passed around and composed as needed in a very simple way.
C#
COM Interop
Posted: 18 Apr 2010   Updated: 18 Apr 2010   Views: 11,748   Rating: 4.00/5    Votes: 3   Popularity: 1.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
Dynamic resolution as well as named and optional arguments greatly improve the experience of interoperating with COM APIs such as Office Automation Primary Interop Assemblies (PIAs). But, in order to alleviate even more COM Interop development, a few COM-specific features were also added to C# 4.0.
General
Posted: 13 Apr 2010   Updated: 15 Apr 2010   Views: 11,817   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
The Evolution Of C#
Posted: 13 Apr 2010   Updated: 15 Apr 2010   Views: 15,415   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
C# Proposal: Compile Time Static Checking Of Dynamic Objects
Posted: 15 Apr 2010   Updated: 15 Apr 2010   Views: 9,748   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
As part of the co-evolution effort of C# and Visual Basic, C# 4.0 introduces Named and Optional Arguments.
Posted: 18 Apr 2010   Updated: 18 Apr 2010   Views: 73,813   Rating: 4.67/5    Votes: 8   Popularity: 4.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 0
The major feature of C# 4.0 is dynamic programming - not just dynamic typing, but dynamic in a broader sense, which means talking to anything that is not statically typed to be a .NET object.
Posted: 1 Aug 2010   Updated: 1 Aug 2010   Views: 6,320   Rating: 4.33/5    Votes: 3   Popularity: 2.07
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
More On Array Variance
Generics
Posted: 13 Apr 2010   Updated: 16 Apr 2010   Views: 29,108   Rating: 4.94/5    Votes: 13   Popularity: 5.50
Licence: The Code Project Open License (CPOL)      Bookmarked: 30   Downloaded: 0
C# 4.0: Covariance And Contravariance In Generics
How To
Posted: 17 Apr 2010   Updated: 17 Apr 2010   Views: 9,038   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
C# 4.0: Alternative To Optional Arguments
Samples
Posted: 9 Oct 2012   Updated: 9 Oct 2012   Views: 5,383   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
I’ve published the sample code I use to demonstrate the use of async/await in C# 5.0.
.NET Framework
General
Posted: 20 Oct 2011   Updated: 20 Oct 2011   Views: 16,452   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
The Roslyn team has announced general availability of the Roslyn CTP!
How To
Posted: 13 Apr 2010   Updated: 13 Apr 2010   Views: 7,456   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Running .NET 1.1 Applications on .NET 2.0
Posted: 13 Apr 2010   Updated: 15 Apr 2010   Views: 10,006   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
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 on Visual Studio 2008 for the .NET 2.0 assemblies)
Libraries
General
Posted: 9 Oct 2012   Updated: 9 Oct 2012   Views: 5,948   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Sometimes, for demo or testing purposes, I need a synchronization context that behaves like the user interface ones but doesn’t force me to build applications with a user interface and the TPL Dataflow Library seemed like a good option to implement such synchronization context.
LINQ
General
Posted: 13 Apr 2010   Updated: 13 Apr 2010   Views: 10,310   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
LINQ: Single vs. First
Posted: 13 Apr 2010   Updated: 15 Apr 2010   Views: 5,988   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
LINQ: Enhancing Distinct With The PredicateEqualityComparer
Posted: 13 Apr 2010   Updated: 15 Apr 2010   Views: 6,997   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Getting Interface Property Implementations
Posted: 13 Apr 2010   Updated: 15 Apr 2010   Views: 8,767   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
LINQ: Enhancing Distinct With The SelectorEqualityComparer
Posted: 13 Apr 2010   Updated: 15 Apr 2010   Views: 14,776   Rating: 4.50/5    Votes: 2   Popularity: 1.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Like other LINQ API methods that extract a scalar value from a sequence, Single has a companion SingleOrDefault. The documentation of SingleOrDefault states that it returns a single, specific element of a sequence of values, or a default value if no such element is found, although, in my opinion
Posted: 5 Aug 2010   Updated: 5 Aug 2010   Views: 10,234   Rating: 4.60/5    Votes: 4   Popularity: 2.71
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Following my last post, I received lots of enquiries about how got to master the creation of expression trees.
Posted: 2 Aug 2010   Updated: 11 Aug 2010   Views: 18,110   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 21   Downloaded: 0
Dumping Objects Using Expression Trees
Posted: 16 Aug 2010   Updated: 16 Aug 2010   Views: 8,287   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
If the intent is to hydrate the objects from data, why not have an expression that does just that?
Posted: 15 Aug 2010   Updated: 17 Aug 2010   Views: 11,098   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Hydrating Objects With Expression Trees
Posted: 17 Aug 2010   Updated: 17 Aug 2010   Views: 7,731   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Performance comparisons between the different methods of hydrating objects
Posted: 18 Oct 2010   Updated: 19 Oct 2010   Views: 7,565   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
The TakeLastWhile operator returns last contiguous elements from a sequence that satisfy the specified criteria and is implemented as the TakeLastWhile extension methods.
Posted: 18 Oct 2010   Updated: 20 Oct 2010   Views: 5,067   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
The TakeLast operator returns a specified number of contiguous elements from the end of a sequence and is implemented as the TakeLast extension method.
Posted: 20 Oct 2010   Updated: 20 Oct 2010   Views: 5,086   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Following my last post, in this post I’ll introduce the implementation of the SkipLast operator.
Posted: 20 Oct 2010   Updated: 21 Oct 2010   Views: 6,904   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
LINQ: Implementing The SkipLastWhile Operator
Posted: 20 Oct 2010   Updated: 12 Dec 2010   Views: 10,152   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
LINQ: Introducing The Skip Last Operators
Posted: 19 Oct 2010   Updated: 12 Jan 2011   Views: 9,667   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Some time ago, I needed to retrieve the last items of a sequence that satisfied some criteria and, looking at the operators available in the Enumerable class, I noticed that there wasn’t such an operator.
Posted: 12 Jan 2011   Updated: 12 Jan 2011   Views: 8,062   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
In a previous post, I showed how to create expression trees to set properties on an object. Recently someone contacted me the help develop some kind of command pattern framework that used developer friendly lambdas to generate property set expression trees.
Windows Runtime
General
Posted: 17 Oct 2011   Updated: 17 Oct 2011   Views: 65,107   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Internet Explorer 10 User Agent Strings On Windows 8 64bit
Algorithms & Recipes
Regular Expressions
Posted: 8 Sep 2011   Updated: 17 Oct 2011   Views: 35,725   Rating: 4.53/5    Votes: 9   Popularity: 3.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 22   Downloaded: 0
Cleaning HTML With Regular Expressions
Localisation
Localization
Posted: 30 May 2012   Updated: 30 May 2012   Views: 4,878   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Adventures with culture related attributes.
Macros and Add-ins
Visual Studio .NET Addins
Posted: 13 Apr 2010   Updated: 10 May 2010   Views: 9,876   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
CodeIt.Right Code File Header Template For StyleCop Rules
VS.NET Macros
Posted: 13 Apr 2010   Updated: 15 Apr 2010   Views: 5,783   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Visual Studio: Setting Up The Current Project And Run
Programming Tips
Testing and Quality Assurance
Posted: 13 Apr 2010   Updated: 15 Apr 2010   Views: 4,396   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
How To Set Elements Of An Array Of A Private Type Using Visual Studio Shadows
Posted: 13 Apr 2010   Updated: 15 Apr 2010   Views: 6,658   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
A TraceListener For Tests
No tips have been posted.
No reference articles have been posted.

Paulo Morgado
Software Developer (Senior) Paulo Morgado
Portugal Portugal


Advertise | Privacy | Mobile
Web01 | 2.8.150224.1 | Last Updated 27 Feb 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid