Client Application Services and WPF

Although my sample for Client Application Services (CAS) uses Windows Forms, you can adapt it to Windows Presentation Foundation (WPF) with little effort. The configuration steps are the same, and the client source code is the same, although some of the code would go in WPF equivalents of Windows Forms event handlers (for example, using an…


Implementing the IBindingListView for filtering

Due to customer feedback and requests, I’ve been working on an article that demonstrates a simple implementation of the filtering portion of the IBindingListView. This implementation works with the DataGridViewAutoFilter code that Karl first published in the summer of 2006 and allows you to search, sort and filter a list of business objects. In the course…


Filtering Code

using System; using System.Collections.Generic; using System.Text; using System.ComponentModel; using System.Windows.Forms; using System.Text.RegularExpressions; using System.Reflection; using System.Collections;   public class SimpleFilteredList<T> : BindingList<T>, IBindingListView {     public SimpleFilteredList() {}   #region Searching protected override bool SupportsSearchingCore {     get     {        return true;     } } protected override int FindCore(PropertyDescriptor prop, object key) {    …


DataGridviewAutoFilter sample updated

I’ve made a few bug-fixes to my DataGridViewAutoFilter sample, which is described in Building a Drop-Down Filter List for a DataGridView Column Header Cell. It might be a week or two until the article is updated (as of December 5, 2007), but the new sample download has already been posted. The download contains C# and…


Client Application Services sample updated for Visual Studio 2008 RTM

I have updated my Client Application Services sample (previous posts here and here) to work with the Visual Studio 2008 RTM release. See Additionally, the final documentation is now available on MSDN. See: Client Application Services System.Web.ClientServices System.Web.ClientServices.Providers If you have used a previous version of the sample, you might need to deal with…


Client Application Services sample and walkthrough updated

Back in May, I posted an early version of my Client Application Services walkthrough, which was used as a lab session at TechEd. Since then, there have been many improvements to both Visual Studio and the walkthrough. For one thing, the Beta 2 version of Orcas (now officially known as “Visual Studio 2008”) was released….


Tech-Ed Notes

Thanks to everyone who stopped by the Acropolis and Windows Forms booth at Tech-Ed! Double thanks if you answered a few of my questions about documentation. You can be sure that the Windows .NET Client UE team will be reading your comments. A few of you reported your frustration with the Smart Client Orcas Features…


Client Application Services in Windows Forms: End-to-End Walkthrough Available

The Beta 1 release of Visual Studio Code Name “Orcas” includes a new feature called Client Application Services. This feature enables Windows client applications to easily access user-management services hosted by a centralized ASP.NET Web service application. The documentation for client application services is still in progress, but we have created an end-to-end walkthrough to demonstrate the…


What does "not supported" mean?

Periodically someone questions me about a caution that appears in all of the System.Drawing.* namespace overview topics. It reads: “Classes within the System.Drawing namespace are not supported for use within a Windows or ASP.NET service. Attempting to use these classes from within one of these application types may produce unexpected problems, such as diminished service…


Windows Forms and WPF Interop Docs

Now that interest in WPF is really heating up, we’ve been getting more inquiries about WinForms and WPF interop. Fortunately, we have a lot of coverage in the SDK docs, which shipped in November: Migration and Interoperability   How to: Enable Visual Styles in a Hybrid Application How to: Host a Windows Presentation Foundation Control in Windows Forms…