Compare advantages and limitations of WCF Service vs Web Services
Different scenarios of configuring endpoint and instantiating ServiceHost - One endpoint in config, many endpoints in config.
What is General syntax of service ? [transport]://[machine or domain][:optional port]
What Protocols supported in WCF?
What are different types of contracts?
How to host WCF service in IIS?
How to configure many end points when hosting a service? What should vary / differ for each endpoint?
How to instantiate a stong typed service host ?
what is an endpoint?
What is the usage of bindingconfiguration element?
How to get Metadata of a service? httpget, mex --- behavior configuration
How to add an mex end point? How the URI looks like when compared to service uri? -- binding = "mexHttpBinding" contract = "IMetadataExchange"
How to use svcconfig utility?
How does client proxy looks like? -- interface contract, client proxy class inherits from client base, implements interface - delegates call to service
How and where to Call timeouts are configured? Is it on server or client?
Discuss Programmatic config vs Administrative config ?
Calling a service with out generating proxy? through channel factory
Reliability -- what bindings supports reliability? how to configure reliability
[DeliveryRequirements(TargetContract = typeof(IMyContract), RequireOrderedDelivery = true)]
Operation Overloading?
proxy chaining?
programmatically Querying an address for a contract -- use MetadataExchangeClient class
what formatters WCF use?
why WCF formatters?
Data contracts are case-sensitive, both at the type and member level
DataContract Attribute is not inheritable?
Use of serialization events
KnonwType , ServiceKnownType usages.
What is data contract equivalence?
explain round trip, version tolerance, IExtensibleDataObject?
IsRequired property?
EnumMember
CollectionDataContract usage, referencing collection
check on C# iterators in 3.5
InstanceContextMode options
Percall advantages and limitations
What bindings allows session
How to enable sessions in WsHttpBinding?
Where sessionid is generated?
What is the use of SessionMode? Discuss SessionMode.NotAllowed and InstanceContextMode.PerSession behavior?
InstanceContextMode is set on Service only in ServiceBehavior attribute
Reading SessionIds in client and service?
innerchannel.SessionId, OperationContext.Current.SessionId
SessionId is per client , per proxy
Isinitating, IsTerminating
ReleaseInstanceMode
throttling options?
discuss Per-call services and one-way exceptions
discuss Per-session and one way methods, exception in it?
What bindings support callbacks?
How to set a call back contract on a service contract?
what is duplex proxy?
discuss call back reentrancy
One-way callbacks are allowed by default
Events - publisher , subscriber
discuss InstancecontextMode and exceptions
what happens for unhandled error in Singleton mode?
IncludeExceptionDetailInFaults
how to define a fault contrac type?
behavior config -- httpgetenabled, TransactionTimeout, servicedebug
Error handling extensions
Transaction aware databindings
transactions do not require reliable messaging
different transaction protocols used in WCF? Are these 2 phase commit protocols?
Transaction Managers - LTM, KLM, DTC
TransactionFlow, TransactionFlowOption, TransactionScopeRequired, TRansactionScopeOption, TransactionAutoComplete,
How to vote explicitly in 2 phase commit?
Explicit Transaction programming -- use TransactionScope class
how to configure TransactionTimeout
what is ambient transaction? how to get / create one?
discuss different ConcurrencyModes?
set to servicebehavior
Explain ConcurrencyMode.Reentrant
How to make asynchronous calls?
How to generate proxy with Asynchronous methods?
Different Authentications in WCF
Discuss Transfer security = transport secuirty, message security, mixed transfer security, Both transfer security
Does NetTcpBinding supports username / password kind of security authentication ? No
How to Providing alternative Windows credentials in proxy?
proxy.ClientCredentials.Windows.ClientCredential = networkcredential
Discuss Impersonation
AllowedImpersonationLevel (TokenImpersonationLevel.Impersonation)
Selecting authorization mode -- PrincipalPermissionMode
Usage of PrincipalPermission -- to demand a perticular user / role
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment