Sign In
Carlos' blog
General thoughts and usage examples about WCF, ASP.NET Web API, testing and programming in general.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
.NET
ASP.NET
AspNetWebAPI
Channels
code generation
Codeplex
Cross-Domain
Duplex
Extensibility
HTTP
JSON
Metadata
MTOM
MVC
samples
Serialization
Silverlight
testing
tips
tracing
WCF
WCF Web HTTP
Web
Web API
XML
Archive
Archives
May 2012
(1)
April 2012
(2)
March 2012
(7)
February 2012
(8)
January 2012
(4)
December 2011
(4)
November 2011
(1)
October 2011
(3)
September 2011
(4)
August 2011
(4)
July 2011
(3)
June 2011
(4)
May 2011
(5)
April 2011
(5)
March 2011
(5)
February 2011
(1)
January 2011
(2)
December 2010
(3)
November 2010
(1)
October 2010
(1)
September 2010
(1)
August 2010
(1)
July 2010
(2)
June 2010
(1)
April 2010
(2)
August 2009
(1)
July 2009
(1)
April 2008
(2)
March 2008
(1)
January 2008
(1)
December 2007
(2)
MSDN Blogs
>
Carlos' blog
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Carlos' blog
Implementing CORS support in WCF
Posted
20 days ago
by
CarlosFigueira
1
Comments
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...
Carlos' blog
Event-based callback contracts on WCF duplex clients
Posted
1 month ago
by
CarlosFigueira
0
Comments
When we were defining the features that the “ Add Service Reference ” (ASR) dialog for Windows 8 Metro-style applications would have (so that those apps could use typed proxies to consume SOAP services), one of the points where there was some confusion...
Carlos' blog
What features do you want in WCF?
Posted
1 month ago
by
CarlosFigueira
0
Comments
Very quick post today. WCF now has a UserVoice channel, a way for customers to suggest features to be implemented in the next version of the framework, as well as things which you think should be better. Check it out at http://tinyurl.com/wcfvnext and...
Carlos' blog
On code generation, testing and code reuse
Posted
2 months ago
by
CarlosFigueira
2
Comments
Every once in a while I look at the statistics of my blog to see which post is getting more traction. Yesterday I published a post about a function which I found out recently, and seeing the same mistakes I had made in a recent code review I thought it...
Carlos' blog
I wish I knew about string.Join a long time ago
Posted
2 months ago
by
CarlosFigueira
1
Comments
Having working on the test team for many products which involve serialization (conversion between CLR objects and various wire formats, such as XML, binary and JSON), I’ve created my share of test types, since there are many, many rules about serialization...
Carlos' blog
Mixing Add Service Reference and WCF Web HTTP (a.k.a. REST) endpoint does not work
Posted
2 months ago
by
CarlosFigueira
1
Comments
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...
Carlos' blog
Lightweight webhosted services with ASP.NET Web API
Posted
2 months ago
by
CarlosFigueira
0
Comments
The code for this post can be downloaded in the MSDN Code Gallery . A couple of weeks back, Youssef Moussaoui posted about a way to create a lightweight service using the ASP.NET Web APIs . His code was built using the self-hosted support for the APIs...
Carlos' blog
Implementing [RequireHttps] with ASP.NET Web API
Posted
2 months ago
by
CarlosFigueira
2
Comments
Quick post today. MVC developers are used to the [RequireHttps] attribute, which is an authorization filter which doesn’t allow any requests to be made over "plain” HTTP. This attribute doesn’t exist in Web API, but it’s fairly simple to replicate...
Carlos' blog
Writing FormUrlEncoded data with ASP.NET Web APIs
Posted
3 months ago
by
CarlosFigueira
0
Comments
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...
Carlos' blog
WCF - Supporting raw requests for individual operations
Posted
3 months ago
by
CarlosFigueira
0
Comments
In the post about the raw mode for the WCF Web programming model , I showed how to use a content-type mapper to tell WCF to treat all incoming requests as “raw” requests, so we could map any content, including those supported by the formatter, to a Stream...
Carlos' blog
Supporting different controller names in ASP.NET Web APIs
Posted
3 months ago
by
CarlosFigueira
0
Comments
The code for this post can be found in the MSDN Code Gallery . For a controller type in the ASP.NET Web API to be accessible, it needs to follow some rules : Be a class Be public Be non-abstract Implement the IHttpController interface (usually via the...
Carlos' blog
Disabling model binding on ASP.NET Web APIs Beta
Posted
3 months ago
by
CarlosFigueira
2
Comments
The code for this post can be found in the MSDN Code Gallery . As I mentioned in my first post about the ASP.NET Web APIs, people used to WCF services may get a little confused at first with the concept of model binding , which is the process by which...
Carlos' blog
Implementing CORS support in ASP.NET Web APIs – take 2
Posted
3 months ago
by
CarlosFigueira
12
Comments
The code for this post is published in the MSDN Code Gallery . Last post I showed one way to implement CORS support in the ASP.NET Web APIs. It was somewhat simple, and enabled requests from CORS-aware browsers to all resources exposed by the APIs. This...
Carlos' blog
Implementing CORS support in ASP.NET Web APIs
Posted
3 months ago
by
CarlosFigueira
7
Comments
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 other than the one where the page came from. This is a security measure against a group of cross-site forgery attacks...
Carlos' blog
Introducing ASP.NET MVC 4 Beta with Web APIs
Posted
3 months ago
by
CarlosFigueira
3
Comments
There has historically been in Microsoft many ways of doing the same thing. That’s one of the original goals of WCF when it was created: unify the 5 or so different ways of creating distributed applications using the Microsoft stack (ASMX services, COM...
Carlos' blog
WCF Extensibility – Wrapping up
Posted
3 months ago
by
CarlosFigueira
1
Comments
This post is the last one in the series about WCF extensibility points. For a list of all posts, go to the index page . And that’s the end of the series about extensibility points in WCF. I hope that the previous 40-some posts were useful for...
Carlos' blog
WCF Extensibility – Initializers (instance context, channel, call context)
Posted
3 months ago
by
CarlosFigueira
0
Comments
This post is part of a series about WCF extensibility points. For a list of all previous posts and planned future ones, go to the index page . And we’re reaching the end of this series. To close it, I’ll cover some of the lesser used extensibility...
Carlos' blog
WCF Extensibility – IInstanceContextProvider
Posted
3 months ago
by
CarlosFigueira
0
Comments
This post is part of a series about WCF extensibility points. For a list of all previous posts and planned future ones, go to the index page . And we’re now back in the middle of the WCF runtime, and at the last few posts for this series. This time we...
Carlos' blog
WCF Extensibility – IExtension and IExtensibleObject
Posted
4 months ago
by
CarlosFigueira
0
Comments
This post is part of a series about WCF extensibility points. For a list of all previous posts and planned future ones, go to the index page . And we’re back from the short detour to the world of WCF RIA Services , and the long “ mini-series...
Carlos' blog
WCF Extensibility – Configuring the Endpoint for WCF RIA Services
Posted
4 months ago
by
CarlosFigueira
0
Comments
This post is part of a series about WCF extensibility points. For a list of all previous posts and planned future ones, go to the index page . And we’re again taking a small detour over the normal flow of the series covering the “proper” WCF extensibility...
Carlos' blog
WCF Extensibility – Transport Channels – Duplex Channels
Posted
4 months ago
by
CarlosFigueira
0
Comments
This post is part of a series about WCF extensibility points. For a list of all previous posts and planned future ones, go to the index page . And we’ll get to the end of the channel layer and transports in general with this post. After looking...
Carlos' blog
WCF Extensibility – Transport Channels – Reply Channel
Posted
5 months ago
by
CarlosFigueira
2
Comments
This post is part of a series about WCF extensibility points. For a list of all previous posts and planned future ones, go to the index page . And after the little detour on the previous post about the IInteractiveChannelInitializer interface, we’re back...
Carlos' blog
WCF Extensibility – Interactive Channel Initializer
Posted
5 months ago
by
CarlosFigueira
2
Comments
This post is part of a series about WCF extensibility points. For a list of all previous posts and planned future ones, go to the index page . Since this is a slow week (many people are on vacations for the Christmas / New Year holidays, at least in the...
Carlos' blog
WCF Extensibility – Transport Channels – Request Channels, part 3
Posted
5 months ago
by
CarlosFigueira
0
Comments
This post is part of a series about WCF extensibility points. For a list of all previous posts and planned future ones, go to the index page . This is the part 3 of 3 of a “mini-series” inside the main series. For the other parts, here’s the list. Transport...
Carlos' blog
WCF Extensibility – Transport Channels – Request channels, part 2
Posted
5 months ago
by
CarlosFigueira
0
Comments
This post is part of a series about WCF extensibility points. For a list of all previous posts and planned future ones, go to the index page . This is the part 2 of 3 of a “mini-series” inside the main series. For the other parts, here’s...
Page 1 of 4 (83 items)
1
2
3
4