Can I use INotifyPropertyChanged in WCF?

In my WPF application, I call the WCF service to retrieve my business object. I take this business object and snap it to the grid. I want to apply the INotifyPropertyChanged attribute, but I'm not sure if it will work with WCF. My ultimate goal is to edit the elements in the grid, click the update, and send them back through the WCF service.

+3
source share
2 answers

I think there is an opportunity for automatically generated classes to implement this.

svcutil /enableDataBinding
- Implementation of the System.ComponentModel.INotifyPropertyChanged interface across all types of Data Contracts to enable data binding. (Short form: / edb)

+7
source

If you are talking about a partially trusted WPF application, you can in .NET 3.5 ... you cannot in .NET 3.0 ..

If this is the full trust you are talking about, I see no problem :)

0
source

All Articles