WCF ArchitectureWhy to choose WCF as development platform Advantage of WSE against ASMX
Advantage of WCF against ASMXASMX only support WS-Basic profile that offer limited featured and do not support advance concepts like federation , policy etc. Advantage of WCF against WSE3WCF is further augmentation of WSE and now native part of dot net framework , it have much better abstraction of transport channels and can support multiple protocols Does WCF support sessionsYes, but not all the bindings and instancing mode support it, By default session is turned on for the bindings that support it. http://www.codeproject.com/Articles/188749/WCF-Sessions-Brief-Introduction What are reliable session and how can we configure reliable session in WCF Service.This actually implements WS-Reliable Messaging protocols and ensures that messages will be delivered exactly once in in the order it was sent, even if connection itself is not reliable. http://msdn.microsoft.com/en-us/library/ms733136(v=vs.110).aspx How does server capabilities (2000,2003,2008) effect WCF deployment options,Yes it affect type of hosting options available.read more... How Client callback are implemented in WCFWe need to implement a call back contract with service. http://idunno.org/archive/2008/05/29/wcf-callbacks-a-beginners-guide.aspx How we can achieve Operation Overloading while exposing WCF Services?By default, WSDL doesn’t support operation overloading. Overloading behavior can be achieved by using “Name” property of OperationContract attribute.[ServiceContract] interface IMyCalculator { [OperationContract(Name = "SumInt")] int Sum(int arg1,int arg2); [OperationContract(Name = "SumDouble")] double Sum(double arg1,double arg2); } When the proxy will be generated for these operations, it will have 2 methods with different names i.e. SumInt and SumDouble. WCF ConfigurationsWhat are the different types of binding available in WCF and when to use whatMost common binding are
What is the difference in between MEX and WSDL endpoint based metadata exchangesMEX endpoints allow clients to receive the service’s metadata by using SOAP messages instead of http get requests. You can create MEX endpoint that can be accessed through http, https, tcp, and even named pipes. The response that you will receive when calling a MEX endpoint’s GetMetadata operation will include the content of the WSDL and all the XSD files that are linked to it. http://blogs.microsoft.co.il/blogs/idof/archive/2011/08/10/wsdl-vs-mex-knockout-or-tie.aspxHow do you choose which binding to useChoice is made based on requirements like Interoperability , Transaction requirement , Security requirement , authentication requirement , fadaration requirment , message delivery requirment etc. A general guildeline can be folund here http://msdn.microsoft.com/en-us/library/ms731092(v=vs.110).aspx What are the possible ways to activate and configure a WCF Service Instance
Read More What is the disadvantage of configuring a WCF service with .svcFirst it makes configuration flexible and if required we can creates REST like enpoints using ASP.Net routing based conditional activiations.http://msdn.microsoft.com/en-us/library/ee358760.aspx WCF Deployment (Hosting)What are the deployment options available with WCF and what are there capabilities.Self hosting, IIS, WAS, Windows service , Read More MSDN:Hosting WCF Service What is the Advantage of hosting a service in IIS
What are suggest best practices for deployment of WCF service under IIS
Can a WCF IIS deployment have multiple base address and when such configuration should be usedYes , When we need to publish different end points to same service such as Internet and intranet version Read More.. MSDN:Supporting Multiple IIS Site Bindings WCF SecurityWow do we secure a WCF Service
WCF TransactionsHow transaction are handled in WCFWCF provides WSAT protocol that is actually part of WS* protocol to implement transaction, it uses Lightweight or distributed transaction manager as required..G.WCF Transactions WCF RESTHow WCF REST is implementedIt is implemented by using WebGet and WebInvoke attribute, that actually uses UriTemplateMatch class to match and invoke WCF operation.C.WCF REST |
FAQS >