What is the difference between WCF and ASMX Web Services?
Difference between WCF and ASMX Web Services:
Basic difference between is ASMX or ASP.NET web service is
designed to send and receive messages using SOAP over HTTP Protocol only.
In
the other hand WCF can exchange messages using any format with many protocols.
ASMX web Service:
- ASMX is refer Web Service that implements a contract that defines a request-reply communication pattern.
- Can be hosted in IIS only.
- Support for HTTP only.
- Limited Security.
- Uses XmlSerialize.
Windows Communication Foundation (WCF):
- Multiple Hosting Option as IIS, WAS, Console, WinNT Service.
- Support for HTTP, TCP, MSMQ NamedPipes.
- A Consistent Security Programming Model.
- Uses DataContractSerialize
Asp.net Related Other Post:
- Print pdf file in asp.net by C sharp
- SQL Server questions for interview
- Find datetime difference in asp.net by C#
- Add rows in GridView dynamic with Textbox
- Asp.net Watermark Text on uploaded Image
- Asp.net NullReferenceException and how fix it
- State Management and type of State Management
- Cookies,how to make Cookies in asp.net with C#.
- Jquery Change div background on mouseover in asp.net
- In asp.net by jquery change div text color on mouseover
- Upload multiple by one asp.net fileupload control using jQuery
- Adding Dynamic Rows in ASP.Net GridView Control with Textbox
- In Asp.net Difference between ""(empty string) and String.Empty
- Validation checkbox control using JavaScript
- Validate ASP.Net RadioButtonList using JavaScript Example
Comments
Post a Comment