SOAP | REST |
---|---|
<system.serviceModel>
<services> <service behaviorConfiguration="ServiceBehavior"> <endpoint address="" binding="wsHttpBinding"
contract=...>... </endpoint> ... </service> </services> ... </system.serviceModel> |
<system.serviceModel>
<services> <service behaviorConfiguration="ServiceBehavior"> <endpoint address=""
binding="webHttpBinding"
contract=...>behaviorConfiguration="RESTBehavior" ... </endpoint> ... </service> </services> ... <behaviors> ...
<endpointBehaviors>
</behaviors><behavior name="RESTBehavior"> <webHttp/> ... </behavior> </endpointBehaviors> ... </system.serviceModel> |
Tuesday, May 19, 2009
SOAP and REST-based WCF basic settings in Web.config
This only serves my own notes because I always forget it when I switch one type of Web service to another.
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2009
(45)
-
▼
May
(8)
- Programmatically change Web project settings from ...
- Additional notes for exporting project template
- Problem of copying big file within a VM from the host
- Bridged vs Host-only vs NAT
- Apache ignores DocumentRoot in VirtualHost
- SOAP and REST-based WCF basic settings in Web.config
- Blogger cannot display the image
- LINQ and ConnectionString
-
▼
May
(8)
No comments:
Post a Comment