Browse by Tags
All Tags »
WinForms (
RSS)
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
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...
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...
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...
Filed under: .NET, WinForms, ASP.NET, SoftDev, C#, Microsoft, MSDN, MVP, VisualStudio, WCF, WPF, WF, WindowsClient
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...
Filed under: .NET, WinForms, ASP.NET, SoftDev, C#, Microsoft, MSDN, SQLServer, XML, VisualStudio, WCF, WPF, WF, WindowsClient, LINQ
"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...
David S. Platt has posted an Event Visualizer for CAB. I'll have to check it out.
(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...
Filed under: .NET, Architecture, SCSF, WinForms, Community, SoftDev, C#, Microsoft, MSDN, MVP, Tools, VisualStudio, WPF, PnP
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...
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...
Filed under: .NET, Architecture, WinForms, ASP.NET, Community, SoftDev, C#, Microsoft, MSDN, MVP, Web
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...
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...
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...
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....
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...
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...
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...