SlideShare a Scribd company logo
1 of 16
WEB SERVICE, WCF, WEB API
Abdeli Dhankot
WHAT IS WEB SERVICES?
 Web services are XML-based information exchange
systems that use the Internet for direct application-
to-application interaction.
WHY WEB SERVICES ?
 Exposing the Existing Function on the network
 Interoperability
 Standardized Protocol
 Low Cost Communication
 Reusability
WEB SERVICE ARCHITECTURE
There are three distinct roles as given below.
1. Provider - The provider creates the web service and makes it available to
client application who want to use it.
2. Requestor - A requestor is nothing but the client application that needs to
contact a web service. The client application can be a .Net, Java, or any
other language based application which looks for some sort of functionality
via a web service.
3. Broker - The broker is nothing but the application which provides access
to the UDDI(Universal description ,discovery and integration).
i. Publish - A provider informs the broker (service registry) about the
existence of the web service by using the broker's publish interface to
make the service accessible to clients
ii. Find - The requestor consults the broker to locate a published web
service.
iii. Bind - With the information it gained from the broker(service registry)
about the web service, the requestor is able to bind, or invoke, the web
service.
WCF is stand for Windows Communication Foundation. which means
interoperability. It used create a distributed and interoperable Application.
 Distributed Application
 Interoperable
 Protocols
 Hosting Mechanisms
In Web Service ,we need to create two different Services for two
different clients and WCF create one single service can be
consumed by two different clients- either they want same protocol
or a different protocol.
BasicHttpBinding
•It is suitable for communicating with ASP.NET Web services (ASMX)-based services
that comfort with WS-Basic Profile conformant Web services.
•This binding uses HTTP as the transport and text/XML as the default message
encoding.
•Security is disabled by default
•This binding does not support WS-* functionalities like WS- Addressing, WS-Security,
WS-ReliableMessaging
•It is fairly weak on interoperability.
WSHttpBinding
•Defines a secure, reliable, interoperable binding suitable for non-duplex service
contracts.
•It offers lot more functionality in the area of interoperability.
•It supports WS-* functionality and distributed transactions with reliable and secure
sessions using SOAP security.
•It uses HTTP and HTTPS transport for communication.
Reliable sessions are disabled by default.
Note : Web Service security use for XML signature and XML encryption. It is an
extension to SOAP to apply security to web services.
WSDualHttpBinding
•This binding is same as that of WSHttpBinding, except it supports duplex service. Duplex
service is a service which uses duplex message pattern, which allows service to
communicate with client via callback.
•In WSDualHttpBinding reliable sessions are enabled by default. It also supports
communication via SOAP intermediaries.
WSFederationHttpBinding
•This binding support federated security. It helps implementing federation which is the ability
to flow and share identities across multiple enterprises or trust domains for authentication
and authorization. It supports WS-Federation protocol.
NetTcpBinding
•This binding provides secure and reliable binding environment for .Net to .Net cross
machine communication. By default it creates communication stack using WS-
ReliableMessaging protocol for reliability, TCP for message delivery and windows security
for message and authentication at run time. It uses TCP protocol and provides support for
security, transaction and reliability
NetMsmqBinding
•This binding provides secure and reliable queued communication for cross-machine
environment.
•Queuing is provided by using MSMQ as transport.
•It enables for disconnected operations, failure isolation and load leveling.
NetPeerTcpBinding
•This binding provides secure binding for peer-to-peer environment and network
applications.
•It uses TCP protocol for communication
•It provides full support for SOAP security, transaction and reliability.
WEB API
ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a
broad range of clients, including browsers and mobile devices. It is an ideal platform for
building RESTful applications on the .NET Framework.
• an ideal platform for building RESTful services.
• Web API can be hosted in IIS, Self-hosted or other web server that supports
.NET 4.0+.
• ASP.NET Web API supports different formats of response data. Built-in
support for JSON, XML, BSON format.
• Web API can be hosted with in the application or on IIS.
To expose our service data to the browser and as well as all these modern
devices apps in fast and simple way, you should have an API which is
compatible with browsers and all these devices.
It supports convention-based CRUD Actions since it works with HTTP verbs
GET,POST,PUT and DELETE.
It is only based on HTTP and easy to define, expose and consume in a
REST-ful way.
Comparison between different web service
Continue..
Deciding Factor for WCF vs Web API
Web service, wcf, web api

More Related Content

What's hot

Windows Communication Foundation (WCF)
Windows Communication Foundation (WCF)Windows Communication Foundation (WCF)
Windows Communication Foundation (WCF)Peter R. Egli
 
SOAP - Simple Object Access Protocol
SOAP - Simple Object Access ProtocolSOAP - Simple Object Access Protocol
SOAP - Simple Object Access ProtocolAnushka Patil
 
Introduction to REST - API
Introduction to REST - APIIntroduction to REST - API
Introduction to REST - APIChetan Gadodia
 
REST - Representational State Transfer
REST - Representational State TransferREST - Representational State Transfer
REST - Representational State TransferPeter R. Egli
 
Soap web service
Soap web serviceSoap web service
Soap web serviceNITT, KAMK
 
SOA Fundamentals
SOA  FundamentalsSOA  Fundamentals
SOA Fundamentalsabhi1112
 
Introduction to SOAP/WSDL Web Services and RESTful Web Services
Introduction to SOAP/WSDL Web Services and RESTful Web ServicesIntroduction to SOAP/WSDL Web Services and RESTful Web Services
Introduction to SOAP/WSDL Web Services and RESTful Web Servicesecosio GmbH
 
SOAP 기반/ RESTful기반 웹서비스 비교
SOAP 기반/ RESTful기반 웹서비스 비교SOAP 기반/ RESTful기반 웹서비스 비교
SOAP 기반/ RESTful기반 웹서비스 비교seungdols
 

What's hot (20)

Simple object access protocol(soap )
Simple object access protocol(soap )Simple object access protocol(soap )
Simple object access protocol(soap )
 
Introduction to SOAP
Introduction to SOAPIntroduction to SOAP
Introduction to SOAP
 
WSDL
WSDLWSDL
WSDL
 
API Presentation
API PresentationAPI Presentation
API Presentation
 
Windows Communication Foundation (WCF)
Windows Communication Foundation (WCF)Windows Communication Foundation (WCF)
Windows Communication Foundation (WCF)
 
SOAP - Simple Object Access Protocol
SOAP - Simple Object Access ProtocolSOAP - Simple Object Access Protocol
SOAP - Simple Object Access Protocol
 
Introduction to REST - API
Introduction to REST - APIIntroduction to REST - API
Introduction to REST - API
 
REST - Representational State Transfer
REST - Representational State TransferREST - Representational State Transfer
REST - Representational State Transfer
 
Soap web service
Soap web serviceSoap web service
Soap web service
 
SOA Fundamentals
SOA  FundamentalsSOA  Fundamentals
SOA Fundamentals
 
WCF
WCFWCF
WCF
 
Api types
Api typesApi types
Api types
 
What is an API?
What is an API?What is an API?
What is an API?
 
An Introduction To REST API
An Introduction To REST APIAn Introduction To REST API
An Introduction To REST API
 
Rest web services
Rest web servicesRest web services
Rest web services
 
REST API Basics
REST API BasicsREST API Basics
REST API Basics
 
Introduction to SOAP/WSDL Web Services and RESTful Web Services
Introduction to SOAP/WSDL Web Services and RESTful Web ServicesIntroduction to SOAP/WSDL Web Services and RESTful Web Services
Introduction to SOAP/WSDL Web Services and RESTful Web Services
 
SOAP 기반/ RESTful기반 웹서비스 비교
SOAP 기반/ RESTful기반 웹서비스 비교SOAP 기반/ RESTful기반 웹서비스 비교
SOAP 기반/ RESTful기반 웹서비스 비교
 
Asp Architecture
Asp ArchitectureAsp Architecture
Asp Architecture
 
Intro to WebSockets
Intro to WebSocketsIntro to WebSockets
Intro to WebSockets
 

Similar to Web service, wcf, web api

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 & SOAPUIAdvancio
 
Web Service Implementation Using ASP.NET
Web Service Implementation Using ASP.NETWeb Service Implementation Using ASP.NET
Web Service Implementation Using ASP.NETPonraj
 
Web Services in Cloud Computing.pptx
Web Services in Cloud Computing.pptxWeb Services in Cloud Computing.pptx
Web Services in Cloud Computing.pptxssuser403d87
 
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...Abdul Khan
 
Type of binding wcf
Type of binding wcfType of binding wcf
Type of binding wcftongdang
 
Understanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company indiaUnderstanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company indiaJignesh Aakoliya
 
Web programming
Web programmingWeb programming
Web programmingsowfi
 
Web services concepts, protocols and development
Web services concepts, protocols and developmentWeb services concepts, protocols and development
Web services concepts, protocols and developmentishmecse13
 
WCF tutorial
WCF tutorialWCF tutorial
WCF tutorialAbhi Arya
 
1. WCF Services - Exam 70-487
1. WCF Services - Exam 70-4871. WCF Services - Exam 70-487
1. WCF Services - Exam 70-487Bat Programmer
 
Enterprise Integration with WSO2 ESB
Enterprise Integration with WSO2 ESBEnterprise Integration with WSO2 ESB
Enterprise Integration with WSO2 ESBWSO2
 
A Study Of Web Services And Its Implications
A Study Of Web Services And Its ImplicationsA Study Of Web Services And Its Implications
A Study Of Web Services And Its ImplicationsTony Lisko
 

Similar to Web service, wcf, web api (20)

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
 
Web Service Implementation Using ASP.NET
Web Service Implementation Using ASP.NETWeb Service Implementation Using ASP.NET
Web Service Implementation Using ASP.NET
 
Web services
Web servicesWeb services
Web services
 
WCF 35
WCF 35WCF 35
WCF 35
 
Web Services in Cloud Computing.pptx
Web Services in Cloud Computing.pptxWeb Services in Cloud Computing.pptx
Web Services in Cloud Computing.pptx
 
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...
 
Web services
Web servicesWeb services
Web services
 
Web Programming
Web ProgrammingWeb Programming
Web Programming
 
Wcf
WcfWcf
Wcf
 
Type of binding wcf
Type of binding wcfType of binding wcf
Type of binding wcf
 
Web services
Web servicesWeb services
Web services
 
Wt unit 6 ppts web services
Wt unit 6 ppts web servicesWt unit 6 ppts web services
Wt unit 6 ppts web services
 
Understanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company indiaUnderstanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company india
 
Web programming
Web programmingWeb programming
Web programming
 
Web services concepts, protocols and development
Web services concepts, protocols and developmentWeb services concepts, protocols and development
Web services concepts, protocols and development
 
WCF tutorial
WCF tutorialWCF tutorial
WCF tutorial
 
1. WCF Services - Exam 70-487
1. WCF Services - Exam 70-4871. WCF Services - Exam 70-487
1. WCF Services - Exam 70-487
 
Enterprise Integration with WSO2 ESB
Enterprise Integration with WSO2 ESBEnterprise Integration with WSO2 ESB
Enterprise Integration with WSO2 ESB
 
WS-* with WCF
WS-* with WCFWS-* with WCF
WS-* with WCF
 
A Study Of Web Services And Its Implications
A Study Of Web Services And Its ImplicationsA Study Of Web Services And Its Implications
A Study Of Web Services And Its Implications
 

Recently uploaded

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 

Recently uploaded (20)

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 

Web service, wcf, web api

  • 1. WEB SERVICE, WCF, WEB API Abdeli Dhankot
  • 2. WHAT IS WEB SERVICES?  Web services are XML-based information exchange systems that use the Internet for direct application- to-application interaction.
  • 3. WHY WEB SERVICES ?  Exposing the Existing Function on the network  Interoperability  Standardized Protocol  Low Cost Communication  Reusability
  • 5. There are three distinct roles as given below. 1. Provider - The provider creates the web service and makes it available to client application who want to use it. 2. Requestor - A requestor is nothing but the client application that needs to contact a web service. The client application can be a .Net, Java, or any other language based application which looks for some sort of functionality via a web service. 3. Broker - The broker is nothing but the application which provides access to the UDDI(Universal description ,discovery and integration). i. Publish - A provider informs the broker (service registry) about the existence of the web service by using the broker's publish interface to make the service accessible to clients ii. Find - The requestor consults the broker to locate a published web service. iii. Bind - With the information it gained from the broker(service registry) about the web service, the requestor is able to bind, or invoke, the web service.
  • 6. WCF is stand for Windows Communication Foundation. which means interoperability. It used create a distributed and interoperable Application.  Distributed Application  Interoperable  Protocols  Hosting Mechanisms In Web Service ,we need to create two different Services for two different clients and WCF create one single service can be consumed by two different clients- either they want same protocol or a different protocol.
  • 7.
  • 8. BasicHttpBinding •It is suitable for communicating with ASP.NET Web services (ASMX)-based services that comfort with WS-Basic Profile conformant Web services. •This binding uses HTTP as the transport and text/XML as the default message encoding. •Security is disabled by default •This binding does not support WS-* functionalities like WS- Addressing, WS-Security, WS-ReliableMessaging •It is fairly weak on interoperability. WSHttpBinding •Defines a secure, reliable, interoperable binding suitable for non-duplex service contracts. •It offers lot more functionality in the area of interoperability. •It supports WS-* functionality and distributed transactions with reliable and secure sessions using SOAP security. •It uses HTTP and HTTPS transport for communication. Reliable sessions are disabled by default. Note : Web Service security use for XML signature and XML encryption. It is an extension to SOAP to apply security to web services.
  • 9. WSDualHttpBinding •This binding is same as that of WSHttpBinding, except it supports duplex service. Duplex service is a service which uses duplex message pattern, which allows service to communicate with client via callback. •In WSDualHttpBinding reliable sessions are enabled by default. It also supports communication via SOAP intermediaries. WSFederationHttpBinding •This binding support federated security. It helps implementing federation which is the ability to flow and share identities across multiple enterprises or trust domains for authentication and authorization. It supports WS-Federation protocol. NetTcpBinding •This binding provides secure and reliable binding environment for .Net to .Net cross machine communication. By default it creates communication stack using WS- ReliableMessaging protocol for reliability, TCP for message delivery and windows security for message and authentication at run time. It uses TCP protocol and provides support for security, transaction and reliability
  • 10. NetMsmqBinding •This binding provides secure and reliable queued communication for cross-machine environment. •Queuing is provided by using MSMQ as transport. •It enables for disconnected operations, failure isolation and load leveling. NetPeerTcpBinding •This binding provides secure binding for peer-to-peer environment and network applications. •It uses TCP protocol for communication •It provides full support for SOAP security, transaction and reliability.
  • 11. WEB API ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. It is an ideal platform for building RESTful applications on the .NET Framework.
  • 12. • an ideal platform for building RESTful services. • Web API can be hosted in IIS, Self-hosted or other web server that supports .NET 4.0+. • ASP.NET Web API supports different formats of response data. Built-in support for JSON, XML, BSON format. • Web API can be hosted with in the application or on IIS. To expose our service data to the browser and as well as all these modern devices apps in fast and simple way, you should have an API which is compatible with browsers and all these devices. It supports convention-based CRUD Actions since it works with HTTP verbs GET,POST,PUT and DELETE. It is only based on HTTP and easy to define, expose and consume in a REST-ful way.
  • 15. Deciding Factor for WCF vs Web API