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…

1

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…

2

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) {    …

1

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…

1

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 UsingClientApplicationServices.zip. 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…

1

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

2

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…

0

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…

9

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…

1

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…

1