Migrate from WCF Rest Services to Web API 2- Basic
2016-08-23
0 0 0
no vote
Other
Earn points
Translated by maninwest@Codeforge Author:RaviAakula@CodeProject
There are many applications written in WCF Rest framework. As new clients (mobile) request more new features to be supported like JSON vs XML or Authentication, we should require migrating them to new Web API framework without breaking existing clients especially URIs.
Background
There were times SOAP is the only best way to create any Web Service. As technology evolves, the demand for REST based services are increasing rapidly, because REST is light weight and any other technology can easily make a call to REST services (downloading WSDL for SOAP makes more complex).
So most of the developers choose to develop REST services with WCF Rest framework. And existing service URL looks like below:
There are many applications written in WCF Rest framework. As new clients (mobile) request more new features to be supported like JSON vs XML or Authentication, we should require migrating them to new Web API framework without breaking existing clients especially URIs.
Background
There were times SOAP is the only best way to create any Web Service. As technology evolves, the demand for REST based services are increasing rapidly, because REST is light weight and any other technology can easily make a call to REST services (downloading WSDL for SOAP makes more complex).
So most of the developers choose to develop REST services with WCF Rest framework. And existing service URL looks like below:
- Get Service URL http://localhost: 50011/ActivityService/PendingActivies
- Post Service URL http://localhost:
c#
基础
路由
WCFRest
服务
迁移
WebAPIAttribute
Related Source Codes
No. 186: DX0110- Source code for community propert
0
0
no vote
No. 219: DX0149- Source code for community propert
0
0
no vote
Verification code identification
0
0
no vote
CSV data analysis tool
0
0
no vote
Source code of hospital medical record information
0
0
no vote
No comment