Sie sind auf Seite 1von 3

1)what is WCf?

WCF is a distrubuted Technology which is


used to develop interoparble
Applications
2)what is the Difference between webservices
and WCF?
WCF
Webservice
1. Servicecontract and
1. webservice and
Operation contract
webmethd attributes
attributes are used to
are used to define
define WCF Service
Webservice
2. WCF supports various 2. supports only
protocol like Http,
Http and Https
Https,TCP,
Namedpipes,MSMQ
3. WCF service can be
3. can host only on
hosted in IIS,Selfhosting IIS
or WAS
4. 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
Rest
6. WCF supports
6. supports
DataContractSerializer XMLSerializer under
under System.Runtime. using System.XML.
Serialization
Serialization
7. supports Request-reply, 7. it supports
one-way,Duplex
Request-Reply,
commnication
one-way
8. WCF service are faster
8. slow
than webservice
9. Hashtable can be
9. we cannot
Serialized
serialize hashtable
10. supports xml,MTOM, 10. supports
binary message
xml,MTOM
encoding
Message transfer
optimization
mec
hanism
11. supports multithreading 11. doesnot support
multithreading
12. WCF supports both
12. it does not support
Remoting and
Remoting
webservice
3) what is WSDL?
WSDL is an xml document which is used to
Describe the service
Webservice Description Language
4) what are the Different elements that are
available in WSDL file?
1. Definitions
2. Services
3. Porttype
4. messages
5. Types
6. Bindings
5)what is XSD?
Xml schema Document which is used to
Describe xml document
6) what is SOAP?
Soap is simple object Access protocol

Soap is message transfer protocol


7)what is UDDI?
Universla Description Discovery integration
UDDI is a service registry which is used to
host the wsdl file
8)what is Serialization?
Serialization is a process of converting object
into stream of bytes
9)what is DeSerialization?
DeSerialization is a process of converting stream of bytes in to object
10)How many types of Serializations are
available?
1. Binary Serialization
2. XML Serialization
3. SOAP Serialization
11)what is Endpoint?
Endpoint is used to expose the wcf service
outside the world
Endpoints are ABC's of wcf service
A:- Address :- Location of the service
B:- Binding :- How to communicate with service
C:- Contract:- it consits of interface name
12) what are the different ways to host WCF
Service ?
1. Selfhosting
2. IIS hosting
3. WAS Hosting
13)what are the message exchange patterns in
WCF?
1. Request-Reply
2. one-way
3. Duplex communication
14)How to provide security in wcf?
1. Messagelevel security
2. Transportlevel security
3. Mixed level security
15) 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 bindings
16)what are the address formats of the wcf
transport schemas?
Http address format
TCP address format
MSMQ address format
17) 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 tool
18)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 Service
19. What is the configuration Tool that was
used in WCF to provide Message
level and
Transport level security?

WCF Configuration Editor


20. what is the Difference between Soap and
Rest?
Soap
Rest
1. simple object access
1. Representation
protocol
state transfer
protocol
2. Soap is xml based
2. REST is not a
protocol
protocol it is an
Architectural style
3. SOAP has standard
3. Rest doesnot have
specifications
any specifications
4. SOAP is developed
4. Rest is developed
based on SOA
based on webstyle
5. SOAP supports
5. REST doesnot
state management
support as it works
techniques
on http protocol
6. SOAP is complex to
6. Rest is easy to
implement
implement
7. SOAP support different
7. Rest supports
protocols like http,https,
http,https
MSMQ etc
8. in SOAP message format 8. in Rest message
is in xml inside soap body format in xml
9. Soap supports wsdl file
9. Rest doesnot
support wsdl
10. we cannot test soap
10. we can test rest
service
full service

Das könnte Ihnen auch gefallen