For WCF services to be consumed, than it must be exposed; Clients need information about service to communicate with it. This is where service endpoints play their role.
A WCF service endpoint has three basic elements i.e. Address, Binding and Contract.
- Address: It defines “WHERE”. Address is the URL that identifies the location of the service.
- Binding: It defines “HOW”. Binding defines how the service can be accessed.
- Contract: It defines “WHAT”. Contract identifies what is exposed by the service.
Eval is read only. Bind is 2 way binding(updatable)
Both Eval and Bind apply to the templated controls like the GridView, FormsView.
But there are certain differences
- It supports only one way binding. It means that we can only read data from the column using Eval method.
- It does not need the ID of a particular control
- It applies to controls like the GridView, DataList, Repeater, ListView, FormsView, DetailsView.
- It supports two way binding. It means that we can read data and modify data using the Bind method.
- It always needs the ID of a particular control
we have to take some UI control like Label aand specify the Binding in the
- It applies to controls like the GridView, FormsView, DetailsView.