Carlos Figueira MSDN blog
General thoughts and usage examples about WCF, ASP.NET Web API, Windows Azure Mobile Services, testing and programming in general.
Translate This Page
Translate this page
Azure Mobile Services
Mobile Services SDK
WCF RIA Services
WCF Web HTTP
Browse by Tags
Carlos Figueira MSDN blog
Tagged Content List
A few weeks ago I answered a question on StackOverflow where the developer needed a way to intercept every request which went to the service (in their case, to display a progress bar while the request was “in flight”). The answer for that was to use a service filter in the mobile services client, which...
24 Feb 2014
Implementing CORS support in WCF
The code for this post can be downloaded from the MSDN Code Gallery . A pair of popular posts which I did a couple months back was to show how one can implement CORS (Cross-Origin Resource Sharing) in the net ASP.NET Web API framework. This week I found a couple of posts in the WCF forums from a user...
14 May 2012
Mixing Add Service Reference and WCF Web HTTP (a.k.a. REST) endpoint does not work
I’ve seen this question to many times in different forums, and answered in many different ways that I decided to write a post with more details about it. The title says it all, but I want to reiterate the answer that I had to give so many times: Using svcutil.exe and Add Service Reference to create a...
25 Mar 2012
Writing FormUrlEncoded data with ASP.NET Web APIs
The code for this post can be downloaded in the MSDN Code Gallery . The FormUrlEncodedMediaTypeFormatter class shipped with the ASP.NET Web APIs beta is one of the default formatters in the Web APIs and can be used to support incoming data from the application/x-www-form-urlencoded media type. This is...
5 Mar 2012
Implementing CORS support in ASP.NET Web APIs
This post was written for the Beta version of the ASP.NET MVC 4. The updates needed to make them run in the latest bits (Release Candidate) are listed in this new post . The code in this post is published on the MSDN Code Gallery . By default, a web page cannot make calls to services (APIs) on a domain...
19 Feb 2012
Working with untyped JSON in a WCF service
Since NetFX 3.5, WCF has support for working with JSON data. You can define your data contracts according to the JSON “schema” you expect to receive / want to return, plug them into your operation contracts, and your server is talking JSON. With this feature you can define the contract such...
29 Oct 2010
Page 1 of 1 (6 items)
© 2014 Microsoft Corporation.
Privacy & Cookies