Carlos Figueira MSDN blog

General thoughts and usage examples about WCF, ASP.NET Web API, Windows Azure Mobile Services, testing and programming in general.

Browse by Tags

Tagged Content List
  • Blog Post: Using service filters with the Mobile Services JavaScript SDK

    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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
Page 1 of 1 (6 items)