tags:

views:

605

answers:

1

I have a WCF ATOM Feed Service using the WCF REST Toolkit with the following UriTemplate

[WebGet(UriTemplate = "{category}/?numItems={numItems}")]
public Atom10FeedFormatter GetFeedByCategory(string category, int numItems)

Most cases work, the edge is when I try to load the feed based on the category with a # sign. I am loading courses for category='C#' and all the service ever sees is 'C'. Both of these links are doing that. Does anyone know if there is some special way to escape this character in for WCF?