CodeFluent Entities fully supports WCF, and by that I don’t mean that the generated classes are just serializable (which they are all by default), instead I’d like to emphasize the fact that CodeFluent Entities provides an out-of-the-box producer to generate the complete service layer (server & client) based on WCF.
This producer is named the Service Object Model Producer, and generates:
- On the server side: contracts, and services exposing the generated object model,
- On the client side: an enhanced proxy consuming the generated services taking care of all communication aspects; this proxy is actually a remote version of the server object model, this way providing Smart-Client developers the same ease of development as when developing a client-server application.
Taking a closer look to the generated code, you’ll see that no configuration aspects is hard-coded: the generated code completely supports WCF’s extensive configuration capabilities: there are no specific constraints on binding, or whatsoever.
Nonetheless, using the generated enhanced proxy is optional, since the generated services are absolutely standard WCF services, you can consume them using the standard proxy generated by Visual Studio when adding a service reference.
However, the Smart-Client Object Model generated by CodeFluent Entities provides a set of handy features such as:
- Support for automatic asynchronous paged mode for large size collections,
- Support for WCF streaming for binary large objects (e.g. videos, documents, pictures, audios),
- Support for WPF automatic validation (IDataErrorInfo),
- Support for WPF automatic data binding (INotifyPropertyChanged, INotifyCollectionChanged),
- Automatic generation of validation rules on the client side, if needed,
- Automatic generation of custom business rules on the client, if needed,
- No need for metada (mex) which saves network bandwith
Last but not least, CodeFluent Entities also provides a generic Windows WCF service host, supporting all Windows versions, so you won’t have to write specific Windows services to host your WCF services.
Wanna give it a try?
Here are webcasts showing how to develop Smart-Clients (WinForms or WPF): Windows Desktop Development
You can also check-out the product documentation for: