Select from following answers:- Add a read-only property named Configuration that returns an implementation of IDataServiceConfiguration.
- Create a constructor that takes a single argument of type IDataServiceConfiguration.
- Implement a static method named InitializeService that takes a single argument of type IDataServiceConfiguration.

- All Above
WCF Data Services uses the IDataServiceConfiguration to set up the behavior of the service, including rights on entity sets and service operations, limits on the allowed requests, registering types not discoverable by default, and the default verbosity on error handling. DataService<T> classes use this type to configure the service by implementing a static method named InitializeService, returning void, and taking a single argument of type IDataServiceConfiguration. The configuration object may be used only during the call to service initialization.
Implementing IDataServiceConfiguration will have no effect. You must implement a static method named InitializeService, returning void, and taking a single argument of type IDataServiceConfiguration.
Show Correct Answer
Source: MeasureUp.Com | |
Alert Moderator