Browse by Tags
All Tags »
WCF (
RSS)
Introduction In an earlier blog I described my motivation for upgrading an ASMX Web Service to WCF in a particular project . In that project the client was a Flash client hosted in a web page. The upgrade was simple and, as long as I ran the client from within Flex Builder , it had no problem consuming the new self-hosted WCF service instead of the ASMX. Allowing Cross-Domain Access However, once I deployed the package outside the Flex Builder, all calls to the service failed. The reason was that...
I came across a number of sources that describe how to support RESTful Services with WCF, but unfortunately, I couldnt find one source that had all the small print. So, here it is – all in one place. Objective Let’s say you have a WCF Web Service exposed at an endpoint with this address: www.mycompany.com/Services/ProductsService.svc . And let’s say that in addition to speaking sophisticated SOAP with some clients you would also like to respond to GET requests from simple clients that need to retrieve...
In this post we will run the demo developed in the previous posts in the series and analyze the results. The last sections contain conclusions and suggestions for further reading. The other posts in this series are: WCF Transactions – Barebones Demo – Overview WCF Transactions – Barebones Demo – Part 1 (Tools) WCF Transactions – Barebones Demo – Part 2 (Service Code) WCF Transactions – Barebones Demo – Part 3 (Client Code) You can download the source code for the series from here . Run the Demo ...
In the next four posts, we will be building a barebones project to demonstrate WCF’s support for Transactions. The other posts in this series are: WCF Transactions – Barebones Demo – Part 1 (Tools) WCF Transactions – Barebones Demo – Part 2 (Service Code) WCF Transactions – Barebones Demo – Part 3 (Client Code) WCF Transactions – Barebones Demo – Part 4 (Analysis) You can download the source code for the series from here . The demo focuses on the usage of these properties: TransactionScopeRequired...
You can download the source code for these posts here . In his book, “ Programming WCF Services ”, Juval Lowy does a superb job of explaining the principles of WCF Security and simplifies the subject by discussing 4 typical security scenarios. I implemented those scenarios as demos for my latest class in WCF and I would like share them with you in this and the next few posts. Why should you read on? These demos are concise yet complete. My approach has been to use configuration files only - no code...
The source code for this walkthrough can be downloaded here . I compiled this walkthrough for MOC 6461 that I am teaching these days. It corresponds to the work convered by units 1 and 2 of the MOC and will guide you through the following steps: Define the Contracts Implement the Contracts Implement a WCF Service hosted in IIS Create a Client Application Add a Self-Hosted Console Application for the Service Modify the Client Application to use the Console Host Add a Self-Hosted Windows Service for...