Browse by Tags

All Tags » REST Starter Kit (RSS)
When Mutual Certificate Authentication is configured for REST services, both, the client and the service perform identity verification or authentication through X509 certificates. The client authenticates the service during the initial SSL handshake,...
Posted by cibrax | 8 comment(s)
Filed under: , ,
It is very common for WCF services that work as Ajax callbacks and ASP.NET pages that live in the same web application to share a common security context for the authenticated user. However, in order to make this happens, the ASP.NET compatibility mode...
Posted by cibrax | 1 comment(s)
Filed under: , ,
Some people have been asking around in the MSDN forums or stackoverflow about a possible way to pass form-urlencoded data to an existing WCF REST service. Although this is not a core feature in WCF from my point view, there is still some support for addressing...
Posted by cibrax | 1 comment(s)
Filed under: , ,
Streaming large content such as media content, images or files is a common scenario for RESTful services. If a scenario like this is not well addressed or implemented on the service side, there is a high risk of consuming server resources like memory...
Posted by cibrax | 3 comment(s)
Filed under: , ,
It’s very common when developing RESTful services to authenticate users against a proprietary user database. This is generally done with a combination of username and password through http basic authentication. Unfortunately, basic authentication is tied...
Posted by cibrax | 11 comment(s)
Filed under: , ,
Continuing my post “Brokered authentication for REST active clients” , I will show today how the client code can be simplified using the new HttpClient (WCF REST Starter kit 2) and some custom http processing stages attached to its pipeline. The first...
Posted by cibrax | 2 comment(s)
PollingAgent is an utility class for consuming REST services that implement conditional gets. An instance of this class will periodically invoke the service within a predefined interval of time, and fire an event on the client side when a new response...
Posted by cibrax | 3 comment(s)
Filed under: , ,
HttpClient is a new utility class introduced in the WCF REST Startert Kit Preview 2 for consuming REST services. This new class is made up of three different parts, 1. A rich object model to manipulate the Http request and response objects in a more natural...
Posted by cibrax | 1 comment(s)
Filed under: , ,
More Posts