Paulo Morgado

.NET Development & Architecture

This Blog

Syndication

Search

Tags

News

Unit Test Today! Get Typemock Isolator!

Projects

Books

 

Visitors

Visitor Locations

Community

Email Notifications

Archives

Profile

Disclaimer

The opinions and viewpoints expressed in this site are mine and do not necessarily reflect those of Microsoft, my employer or any community that I belong to. Any code or opinions are offered as is. Products or services mentioned are purchased by me, made available to me by my employer or the manufacturer/vendor which doesn't influence my opinion in any way.

Browse by Tags

All Tags » WinForms (RSS)
What’s New In C# 5.0 Session Materials From Rumos InsideOut Event
Here are the materials from my What’s New In C# 5.0 session at the Rumos InsideOut Event . Slide deck: What's New In C# 5.0 from Paulo Morgado Sample code: C# 5.0 Async/Await Demo Code

Posted Sun, Oct 7 2012 21:51 by Paulo Morgado | with no comments

C# 5.0 Async/Await Demo Code
I’ve published the sample code I use to demonstrate the use of async / await in C# 5.0. You can find it here . Projects PauloMorgado.AyncDemo.WebServer This project is a simple web server implemented as a console application using Microsoft ASP.NET Web...

Posted Sun, Oct 7 2012 21:46 by Paulo Morgado | with no comments

Extension Methods And Type Inference In Action
I make extensive use of extension methods , either to make classes small and focused or to improve readability. While porting a .NET 1.1 WinForms application to C# 3.0, I found lots of code like this: delegate int Int32DelegateStringBoolean ( string text...

Posted Mon, Apr 18 2011 2:16 by Paulo Morgado | with no comments

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

Posted Thu, Nov 22 2007 5:43 by Paulo Morgado | 2 comment(s)

Visual Studio 2008 and .NET Framework 3.5 shipped!
Visual Studio 2008 and .NET Framework 3.5 has finally shipped. MSDN subscribers can download the final version of Visual Studio 2008 from MSDN Subscription Downloads , but anyone can get a trial version or an Express Edition . The .NET Framework 3.5 contains...

Posted Wed, Nov 21 2007 0:21 by Paulo Morgado | with no comments

WebBrowserControl for the .NET Framework 1.1 Updated
"My" WebBrowserControl for the .NET Framework 1.1 has been updated. A few bugs were fixed and a few changes were made to the API (still thinking of a .NET 2.0 version). I managed to solve all the problems with the design time but, unfortunately...

Posted Sun, Jul 8 2007 23:48 by Paulo Morgado | with no comments

David S. Platt Has Posted An Event Visualizer for CAB
David S. Platt has posted an Event Visualizer for CAB. I'll have to check it out.

Posted Mon, May 21 2007 22:50 by Paulo Morgado | with no comments

Smart Client Software Factory - May 2007 Release is Live
(From Blaine Wastell 's post and Mariano Szklanny 's post ) You can now download the SCSF - May 2007 release . The new release provides support for .NET 3.0. The release is propagating to the download servers and should be available when you read...

Posted Sun, May 20 2007 12:35 by Paulo Morgado | with no comments

Culture and Region Information tool for .NET 2.0
Defining custom culture and region information is a common practice in many enterprise environments. In the .NET Framework 2.0 , we can use the CultureAndRegionInfoBuilder class build a custom culture that is new or based on an existing culture and region...

Posted Thu, Jan 25 2007 0:59 by Paulo Morgado | with no comments

Scoped Context Store
Sometimes I need to store data scoped by some context and isolated from the other scopes. If I'm building a library that is to be used in both Windows client and Web server enviroments, I have different isolation/scope needs: for a Web server environment...

Posted Mon, Jan 15 2007 23:58 by Paulo Morgado | with no comments

An Hierarchical CAB WorkItem Activation Service
The application I'm currently working on has a rather complex UI. It's something like two tabbed work spaces and an outlook-like work space, that make one workspace by itself, that can have several instances inside another tabbed workspace, that can have...

Posted Sat, Nov 4 2006 23:15 by Paulo Morgado | 8 comment(s)

Unit Testing With CAB
For those who like to unit test their software and are developing CAB applications, the SCSF comes with sample applications with unit tests. These unit tests are built on top of an useful set of testable classes which one of them is the TestableRootWorkItem...

Posted Fri, Nov 3 2006 10:02 by Paulo Morgado | 2 comment(s)

Work Spaces and Smart Part Info Provider
As I understand it, the MVP (Model/View/Presenter) design pattern states that all presentation decisions are the Presenter's responsibility. In the CAB world, this should include the Smart Part Info. But the IWorkspace interface only allows you to provide...

Posted Sun, Oct 29 2006 22:57 by Paulo Morgado | with no comments

Enhancing CAB's ManagedObjectCollection
For those who don't know, the ManagedObjectCollection registers its elements using the objects running type as part of the key. Recently, I had the need to add and retrieve a component to the WorkItem 's Items collection independently of its running....

Posted Sun, Oct 22 2006 22:45 by Paulo Morgado | 2 comment(s)

WebBrowserControl for the .NET Framework 1.1
Finally, I published "my" WebBrowserControl for the .NET Framework 1.1 . I wanted to do a nice article on the buts, hows and whys, but never got the time for it. And since .NET 3.0 is knocking on our door, pretty soon no one will care about .NET 1.1 stuff...

Posted Sat, Oct 14 2006 23:58 by Paulo Morgado | 4 comment(s)

Using Remoting with CAB
Anyone who has ttried to add a service implemented through Remoting to the WorkItem 's services collection was sadly surprised that it can't be done. But why? When we use the following code: WorkItem.Services.Add<IServiceContract>(serviceInstance...

Posted Wed, Oct 11 2006 0:37 by Paulo Morgado | 2 comment(s)

Fighting with CAB visualizers and visualizations
Anyone who has previously developed with CAB knows that documentation and information are scarce, but when one faces something like I recently faced, everything becomes even more difficult. When I tried to use a visualizer with my application, I was faced...

Posted Tue, Oct 10 2006 23:44 by Paulo Morgado