faqs

download faqs

of 3

description

cscsccs

Transcript of faqs

1)what is WCf? WCF is a distrubuted Technology which is used to develop interoparble Applications2)what is the Difference between webservices and WCF? WCF Webservice1. Servicecontract and 1. webservice and Operation contract webmethd attributes attributes are used to are used to define define WCF Service Webservice2. WCF supports various 2. supports only protocol like Http, Http and Https Https,TCP, Namedpipes,MSMQ3. WCF service can be 3. can host only on hosted in IIS,Selfhosting IIS or WAS4. WCF supports more 4. Webservice is less security secure compare Messagelevel with WCF Transport level Mixed level 5. WCF supports REST 5. it doesnot support Rest6. WCF supports 6. supports DataContractSerializer XMLSerializer under under System.Runtime. using System.XML. Serialization Serialization7. supports Request-reply, 7. it supports one-way,Duplex Request-Reply, commnication one-way8. WCF service are faster 8. slow than webservice9. Hashtable can be 9. we cannot Serialized serialize hashtable10. supports xml,MTOM, 10. supports binary message xml,MTOM encoding Message transfer optimization mechanism11. supports multithreading 11. doesnot support multithreading12. WCF supports both 12. it does not support Remoting and Remoting webservice3) what is WSDL? WSDL is an xml document which is used to Describe the service Webservice Description Language4) what are the Different elements that are available in WSDL file? 1. Definitions 2. Services 3. Porttype 4. messages 5. Types 6. Bindings5)what is XSD? Xml schema Document which is used to Describe xml document6) what is SOAP? Soap is simple object Access protocol Soap is message transfer protocol7)what is UDDI? Universla Description Discovery integration UDDI is a service registry which is used to host the wsdl file8)what is Serialization? Serialization is a process of converting object into stream of bytes9)what is DeSerialization? DeSerialization is a process of converting stream of bytes in to object10)How many types of Serializations are available? 1. Binary Serialization 2. XML Serialization 3. SOAP Serialization11)what is Endpoint? Endpoint is used to expose the wcf service outside the world Endpoints are ABC's of wcf serviceA:- Address :- Location of the serviceB:- Binding :- How to communicate with serviceC:- Contract:- it consits of interface name 12) what are the different ways to host WCF Service ? 1. Selfhosting 2. IIS hosting 3. WAS Hosting13)what are the message exchange patterns in WCF? 1. Request-Reply 2. one-way 3. Duplex communication14)How to provide security in wcf? 1. Messagelevel security 2. Transportlevel security 3. Mixed level security15) what is binding and what are the different bindings that are supported in WCF? Binding defined how to consume the service Different types of Bindings in wcf are 1. Basichttp Binding 2. wshttp Binding 3. net tcp binding 4. Federation ws binding 5. MSMQ binding 6. Bual http binding 7. named pipe bindings16)what are the address formats of the wcf transport schemas? Http address format TCP address format MSMQ address format17) what is Proxy? Proxy is the local copy of the WCF Service we can create the proxy by using Visual studio editor by simply adding the Service reference or by using svcutil.exe tool18)what is client and server in WCF? in WCF client is any application whether it may be webappn or windows forms appn and server is WCF Service19. What is the configuration Tool that was used in WCF to provide Messagelevel and Transport level security? WCF Configuration Editor20. what is the Difference between Soap and Rest? Soap Rest1. simple object access 1. Representation protocol state transfer protocol2. Soap is xml based 2. REST is not a protocol protocol it is an Architectural style3. SOAP has standard 3. Rest doesnot have specifications any specifications4. SOAP is developed 4. Rest is developed based on SOA based on webstyle5. SOAP supports 5. REST doesnot state management support as it works techniques on http protocol6. SOAP is complex to 6. Rest is easy to implement implement7. SOAP support different 7. Rest supports protocols like http,https, http,https MSMQ etc8. in SOAP message format 8. in Rest message is in xml inside soap body format in xml9. Soap supports wsdl file 9. Rest doesnot support wsdl10. we cannot test soap 10. we can test rest service full service