For the same type, Multiple base address, but diff transport schema can be declared in code or config.
ICommunication is supported by ServiceHost
Channels are interceptor which do some task.
Transport channel is the first channel on server side and Last channel on client side
[DeliveryRequirements(RequireOrderedDelivery=true)] can be applied at the service level to enable order delivery.
[DeliveryRequirements(TargetContract=typeof(IMyContract),RequireOrderedDelivery=true)] can be applied at the endpoints of the service to enable order delivery.
Providing different Name property of OperationContract can enable overloading.
Action and ReplyAction
Proxy chaining provides Is-A relationship between proxies and code reuse.
Convert CLR type to simple XML based schema known as infoset.
.Net Formatters : Binary and Soap ; both implement IFormatter
WCF Formatters : DataContractSerializer is capable of sharing just the data contract not the underlying type.
POCO Plain Old CLR Object
KnownType(on a class) or ServiceKnownType(on a method or Interface) attribute is used so that subclass and base class can be used interchangeably.
Use the Order property to set the order of serialzation.
IsRequired property not to ignore any new member: i e to make a member mandatory.
Enums are serializable by default. Use EnumMember attribute for including a enum member. Value attribute will create an alias in client.
Delegates and events can be included as member variables.
Dataset and Datatables are serializable.
Arrays can be used. All collection types such as List etc are treated as Array by metadata.
No comments:
Post a Comment