SlideShare une entreprise Scribd logo
1  sur  3
Télécharger pour lire hors ligne
1) What are the differences between WebService and WCF?

  S.N   Features     WebService                WCF
  o
  1     Hosting      It can be hosted in IIS   It can be hosted in IIS,
                                               windows activation
                                               service, Self-hosting,
                                               Windows service
  2     Programmin   [WebService]              [ServiceContract] attribute
        g            attribute has to be       has to be added to the
                     added to the class        class
  3     Model        [WebMethod]               [OperationContract]
                     attribute represents      attribute represents the
                     the method exposed        method exposed to client
                     to client
  4     Operation        One-way, Request-     One-Way, Request-
                         Response are the      Response, Duplex are
                         different             different type of
                         operations            operations supported in
                         supported in web      WCF
                         service
  5     XML          System.Xml.serializati    System.Runtime.Serializati
                     on name space is          on namespace is used for
                     used for serialization    serialization
  6     Encoding     XML 1.0,                  XML 1.0, MTOM, Binary,
                     MTOM(Message              Custom
                     Transmission
                     Optimization
                     Mechanism), DIME,
                     Custom
  7     Transports   Can be accessed           Can be accessed through
                     through HTTP, TCP,        HTTP, TCP, Named pipes,
                     Custom                    MSMQ,P2P, Custom
  8     Protocols    Security                  Security, Reliable
                                               messaging, Transactions
  9     State        Web Services are          WCF Services can manage
        Management   stateless                 states


2) What are the differences between ASP.Net Web services
   and .NET Remoting?

  S.N   Features      ASP.Net Web                .NET Remoting
  o                   services
  1     Protocol      It can be accessed only    It can be accessed
                      over HTTP                  over any protocol
                                                 (including TCP, HTTP,
                                                 SMTP and so on)
  2     State         Web services work in a     It provides support for
        Management    stateless environment      both stateful and
stateless environments
                                                    through Singleton and
                                                    SingleCall objects
  3     Type System       Web services support      Using binary
                          only the datatypes        communication, .NET
                          defined in the XSD        Remoting can provide
                          type system, limiting     support for rich type
                          the number of objects     system
                          that can be serialized.

  4     Interoperabilit   Web services support      .NET remoting requires
        y                 interoperability across   the client be built
                          platforms, and are        using .NET, enforcing
                          ideal for                 homogenous
                          heterogeneous             environment.
                          environments
  5     Reliability       Highly reliable due to    Can also take
                          the fact that Web         advantage of IIS for
                          services are always       fault isolation. If IIS is
                          hosted in IIS             not used, application
                                                    needs to provide
                                                    plumbing for ensuring
                                                    the reliability of the
                                                    application

  6     Extensibility     Provides extensibility    Very extensible by
                          by allowing us to         allowing us to
                          intercept the SOAP        customize the different
                          messages during the       components of the
                          serialization and         .NET remoting
                          deserialization stages.   framework.
  7     Ease-of-          Easy-to-create and        Complex to program.
        Programming       deploy.



3) What are the differences between Buffered Transfer and
   Streamed Transfer in WCF?

  S.N   Buffered Transfer                 Streamed Transfer
  o
  1     Target can process the            Target can start processing the
        message once it is completely     data when it is partially
        received.                         received.
  2     Performance will be good          Performance will be good when
        when message size is small        message size is larger(more
                                          than 64K)
  3     Native channel shape is           Native channels are
IDuplexSessionChannel            IRequestChannel and
                                         IReplyChannel


4) What are the differences Binary Serialization and XML
   Serialization?

  S.N   Binary Serialization             XML Serialization
  o
  1     It preserves type fidelity ,     It does not preserve type fidelity
        which is useful for preserving   and hence state cant be
        the state of the object          maintained
        between transportation and
        invocation
  2     As it is the open standard its   Not that much used compared to
        widely used                      Binary Serialization

Contenu connexe

En vedette

Sql Server Difference FAQs Part One
Sql Server Difference FAQs Part OneSql Server Difference FAQs Part One
Sql Server Difference FAQs Part One
Umar Ali
 

En vedette (18)

Dotnet difference between questions list- 1
Dotnet difference between questions list- 1Dotnet difference between questions list- 1
Dotnet difference between questions list- 1
 
Asp.net website usage and job trends
Asp.net website usage and job trendsAsp.net website usage and job trends
Asp.net website usage and job trends
 
Silverlight difference faqs- 2
Silverlight difference faqs- 2Silverlight difference faqs- 2
Silverlight difference faqs- 2
 
Spring vs. asp.net mvc
Spring vs. asp.net mvcSpring vs. asp.net mvc
Spring vs. asp.net mvc
 
Silverlight difference faqs-1
Silverlight  difference faqs-1Silverlight  difference faqs-1
Silverlight difference faqs-1
 
Sql Server Difference FAQs Part One
Sql Server Difference FAQs Part OneSql Server Difference FAQs Part One
Sql Server Difference FAQs Part One
 
Sql server difference faqs- 7
Sql server difference faqs- 7Sql server difference faqs- 7
Sql server difference faqs- 7
 
How to create user friendly file hosting link sites
How to create user friendly file hosting link sitesHow to create user friendly file hosting link sites
How to create user friendly file hosting link sites
 
Software technology
Software technologySoftware technology
Software technology
 
CSharp difference faqs- 1
CSharp difference faqs- 1CSharp difference faqs- 1
CSharp difference faqs- 1
 
Linq difference faqs- 1
Linq difference faqs- 1Linq difference faqs- 1
Linq difference faqs- 1
 
ASP.NET Difference FAQs
ASP.NET Difference FAQsASP.NET Difference FAQs
ASP.NET Difference FAQs
 
Asp.Net difference faqs- 10
Asp.Net difference faqs- 10Asp.Net difference faqs- 10
Asp.Net difference faqs- 10
 
Sql server difference faqs- 5
Sql server difference faqs-  5Sql server difference faqs-  5
Sql server difference faqs- 5
 
Link checkers 1
Link checkers 1Link checkers 1
Link checkers 1
 
Important Run Commands
Important Run CommandsImportant Run Commands
Important Run Commands
 
Difference between asp.net mvc 3 and asp.net mvc 4
Difference between asp.net mvc 3 and asp.net mvc 4Difference between asp.net mvc 3 and asp.net mvc 4
Difference between asp.net mvc 3 and asp.net mvc 4
 
Difference between asp.net web forms and asp.net mvc
Difference between asp.net web forms and asp.net mvcDifference between asp.net web forms and asp.net mvc
Difference between asp.net web forms and asp.net mvc
 

Similaire à SOA Difference FAQs

Windows Azure Platform
Windows Azure PlatformWindows Azure Platform
Windows Azure Platform
AsmTrash
 
Interoperability and Windows Communication Foundation (WCF) Overview
Interoperability and Windows Communication Foundation (WCF) OverviewInteroperability and Windows Communication Foundation (WCF) Overview
Interoperability and Windows Communication Foundation (WCF) Overview
Jorgen Thelin
 
HornetQ Presentation On JBoss World 2009
HornetQ Presentation On JBoss World 2009HornetQ Presentation On JBoss World 2009
HornetQ Presentation On JBoss World 2009
jarfield
 
Deawsj 7 ppt-2_c
Deawsj 7 ppt-2_cDeawsj 7 ppt-2_c
Deawsj 7 ppt-2_c
Niit Care
 

Similaire à SOA Difference FAQs (20)

Wcf
WcfWcf
Wcf
 
Web service, wcf, web api
Web service, wcf, web apiWeb service, wcf, web api
Web service, wcf, web api
 
Windows Azure Platform
Windows Azure PlatformWindows Azure Platform
Windows Azure Platform
 
The Microservices world in. NET Core and. NET framework
The Microservices world in. NET Core and. NET frameworkThe Microservices world in. NET Core and. NET framework
The Microservices world in. NET Core and. NET framework
 
Interoperability and Windows Communication Foundation (WCF) Overview
Interoperability and Windows Communication Foundation (WCF) OverviewInteroperability and Windows Communication Foundation (WCF) Overview
Interoperability and Windows Communication Foundation (WCF) Overview
 
WCF tutorial
WCF tutorialWCF tutorial
WCF tutorial
 
Riding with camel
Riding with camelRiding with camel
Riding with camel
 
Web services
Web servicesWeb services
Web services
 
Microservices Cloud Club 2015-02-26
Microservices Cloud Club 2015-02-26Microservices Cloud Club 2015-02-26
Microservices Cloud Club 2015-02-26
 
Dotnet difference questions & answers Compiled-1
Dotnet difference questions & answers Compiled-1Dotnet difference questions & answers Compiled-1
Dotnet difference questions & answers Compiled-1
 
Jbw chicago
Jbw chicagoJbw chicago
Jbw chicago
 
HornetQ Presentation On JBoss World 2009
HornetQ Presentation On JBoss World 2009HornetQ Presentation On JBoss World 2009
HornetQ Presentation On JBoss World 2009
 
Complete Architecture and Development Guide To Windows Communication Foundati...
Complete Architecture and Development Guide To Windows Communication Foundati...Complete Architecture and Development Guide To Windows Communication Foundati...
Complete Architecture and Development Guide To Windows Communication Foundati...
 
Service Oriented Development With Windows Communication Foundation 2003
Service Oriented Development With Windows Communication Foundation 2003Service Oriented Development With Windows Communication Foundation 2003
Service Oriented Development With Windows Communication Foundation 2003
 
Introduction to Web Services
Introduction to Web ServicesIntroduction to Web Services
Introduction to Web Services
 
Do You Need A Service Mesh?
Do You Need A Service Mesh?Do You Need A Service Mesh?
Do You Need A Service Mesh?
 
Micro services
Micro servicesMicro services
Micro services
 
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUIAdvancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI
 
Readying the campus for the internet of things (io t) - Networkshop44
Readying the campus for the internet of things (io t) - Networkshop44Readying the campus for the internet of things (io t) - Networkshop44
Readying the campus for the internet of things (io t) - Networkshop44
 
Deawsj 7 ppt-2_c
Deawsj 7 ppt-2_cDeawsj 7 ppt-2_c
Deawsj 7 ppt-2_c
 

Plus de Umar Ali

Plus de Umar Ali (20)

Difference between wcf and asp.net web api
Difference between wcf and asp.net web apiDifference between wcf and asp.net web api
Difference between wcf and asp.net web api
 
Difference between ActionResult() and ViewResult()
Difference between ActionResult() and ViewResult()Difference between ActionResult() and ViewResult()
Difference between ActionResult() and ViewResult()
 
Difference between asp.net web api and asp.net mvc
Difference between asp.net web api and asp.net mvcDifference between asp.net web api and asp.net mvc
Difference between asp.net web api and asp.net mvc
 
ASP.NET MVC difference between questions list 1
ASP.NET MVC difference between questions list 1ASP.NET MVC difference between questions list 1
ASP.NET MVC difference between questions list 1
 
Affiliate Networks Sites-1
Affiliate Networks Sites-1Affiliate Networks Sites-1
Affiliate Networks Sites-1
 
Technical Video Training Sites- 1
Technical Video Training Sites- 1Technical Video Training Sites- 1
Technical Video Training Sites- 1
 
US News Sites- 1
US News Sites- 1 US News Sites- 1
US News Sites- 1
 
Weak hadiths in tamil
Weak hadiths in tamilWeak hadiths in tamil
Weak hadiths in tamil
 
Bulughul Maram in tamil
Bulughul Maram in tamilBulughul Maram in tamil
Bulughul Maram in tamil
 
Indian news sites- 1
Indian news sites- 1 Indian news sites- 1
Indian news sites- 1
 
Photo sharing sites- 1
Photo sharing sites- 1 Photo sharing sites- 1
Photo sharing sites- 1
 
File hosting search engines
File hosting search enginesFile hosting search engines
File hosting search engines
 
Ajax difference faqs compiled- 1
Ajax difference  faqs compiled- 1Ajax difference  faqs compiled- 1
Ajax difference faqs compiled- 1
 
ADO.NET difference faqs compiled- 1
ADO.NET difference  faqs compiled- 1ADO.NET difference  faqs compiled- 1
ADO.NET difference faqs compiled- 1
 
Dotnet differences compiled -1
Dotnet differences compiled -1Dotnet differences compiled -1
Dotnet differences compiled -1
 
.NET Differences List
.NET Differences List.NET Differences List
.NET Differences List
 
Difference between ajax and silverlight
Difference between ajax and silverlightDifference between ajax and silverlight
Difference between ajax and silverlight
 
Difference between is and as operators in c#
Difference between is and as operators in c#Difference between is and as operators in c#
Difference between is and as operators in c#
 
Difference between c# generics and c++ templates
Difference between c# generics and c++ templatesDifference between c# generics and c++ templates
Difference between c# generics and c++ templates
 
Var vs iEnumerable
Var vs iEnumerableVar vs iEnumerable
Var vs iEnumerable
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Dernier (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 

SOA Difference FAQs

  • 1. 1) What are the differences between WebService and WCF? S.N Features WebService WCF o 1 Hosting It can be hosted in IIS It can be hosted in IIS, windows activation service, Self-hosting, Windows service 2 Programmin [WebService] [ServiceContract] attribute g attribute has to be has to be added to the added to the class class 3 Model [WebMethod] [OperationContract] attribute represents attribute represents the the method exposed method exposed to client to client 4 Operation One-way, Request- One-Way, Request- Response are the Response, Duplex are different different type of operations operations supported in supported in web WCF service 5 XML System.Xml.serializati System.Runtime.Serializati on name space is on namespace is used for used for serialization serialization 6 Encoding XML 1.0, XML 1.0, MTOM, Binary, MTOM(Message Custom Transmission Optimization Mechanism), DIME, Custom 7 Transports Can be accessed Can be accessed through through HTTP, TCP, HTTP, TCP, Named pipes, Custom MSMQ,P2P, Custom 8 Protocols Security Security, Reliable messaging, Transactions 9 State Web Services are WCF Services can manage Management stateless states 2) What are the differences between ASP.Net Web services and .NET Remoting? S.N Features ASP.Net Web .NET Remoting o services 1 Protocol It can be accessed only It can be accessed over HTTP over any protocol (including TCP, HTTP, SMTP and so on) 2 State Web services work in a It provides support for Management stateless environment both stateful and
  • 2. stateless environments through Singleton and SingleCall objects 3 Type System Web services support Using binary only the datatypes communication, .NET defined in the XSD Remoting can provide type system, limiting support for rich type the number of objects system that can be serialized. 4 Interoperabilit Web services support .NET remoting requires y interoperability across the client be built platforms, and are using .NET, enforcing ideal for homogenous heterogeneous environment. environments 5 Reliability Highly reliable due to Can also take the fact that Web advantage of IIS for services are always fault isolation. If IIS is hosted in IIS not used, application needs to provide plumbing for ensuring the reliability of the application 6 Extensibility Provides extensibility Very extensible by by allowing us to allowing us to intercept the SOAP customize the different messages during the components of the serialization and .NET remoting deserialization stages. framework. 7 Ease-of- Easy-to-create and Complex to program. Programming deploy. 3) What are the differences between Buffered Transfer and Streamed Transfer in WCF? S.N Buffered Transfer Streamed Transfer o 1 Target can process the Target can start processing the message once it is completely data when it is partially received. received. 2 Performance will be good Performance will be good when when message size is small message size is larger(more than 64K) 3 Native channel shape is Native channels are
  • 3. IDuplexSessionChannel IRequestChannel and IReplyChannel 4) What are the differences Binary Serialization and XML Serialization? S.N Binary Serialization XML Serialization o 1 It preserves type fidelity , It does not preserve type fidelity which is useful for preserving and hence state cant be the state of the object maintained between transportation and invocation 2 As it is the open standard its Not that much used compared to widely used Binary Serialization