WCF generated consumer classes receive null values from Metro 2.3

Summary MetroHello WebService I previously posted this issue on the Metro issue tracking page. This is a simple jax-ws bottom-up WebService implementation that produces a bug in Metro 2.3 and WCF...

Id #167 | Release: None | Updated: Aug 6 at 4:53 PM by nkrp | Created: Aug 6 at 4:48 PM by michaelt523

Not able to get faulted and closed event in case of DuplexChannelFactory

I am using DuplexChannelFactory to create proxy for my wcf server. I am using nettcpbinding. I have registered faulted and closed events. Now will stop/close my wcf server application in this case...

Id #166 | Release: None | Updated: Nov 23, 2013 at 1:41 PM by ram_pawar001 | Created: Nov 23, 2013 at 1:41 PM by ram_pawar001

Interop Bindings - Install Error : System.IO.PathTooLongException

I tried to install and unfortunately received the message bellow. I tried different machines, and all of them had the same problem. I tried on five different machines, all had the same issue. Beg...

Id #165 | Release: None | Updated: Oct 21, 2013 at 2:10 PM by netdaniels | Created: Oct 21, 2013 at 2:10 PM by netdaniels

How to validate the service certificate passed by client using code in WCF

Below is my scenario what I am trying to do and wanted to know if anyone had thoughts on how I can achieve this - I am trying to create a Gateway for my different web services and this gateway wo...

Id #164 | Release: None | Updated: Aug 8 at 7:30 PM by Miron1 | Created: Jun 24, 2013 at 3:27 PM by dpWCF

Dead Links to External Resources from WCF Interop Page

On the WCF Interop Express Bindings page (https://wcf.codeplex.com/wikipage?title=WCF%20Express%20Interop%20Bindings) the links in the External Resources section are dead and need to be updated.

Id #163 | Release: None | Updated: Jun 14, 2013 at 5:27 PM by Synchro | Created: Jun 14, 2013 at 5:27 PM by Synchro

WCF Express Interop Bindings 1.0 for VS2012

Is/When is a release compatible with VS1012 goign to be made?

Id #162 | Release: None | Updated: Apr 17, 2013 at 4:03 PM by mjphillips | Created: Apr 17, 2013 at 4:03 PM by mjphillips

System.Json: Add support for JSON formatting

Currently I see no way of getting formatted output out of System.Json objects. This would quiet useful to have. If the generated JSON need to be readable by people and also for developers while ...

Id #161 | Release: None | Updated: May 23, 2012 at 7:05 AM by lanwin | Created: May 23, 2012 at 7:05 AM by lanwin

System.Json: Add support for parsing unquoted object keys

The following json throws an exception on parse: {test:1} while {"test":1} works. I know that this is not standard JSON. But a lot parsers like the de facto standard Json.Net will parse th...

Id #160 | Release: None | Updated: May 23, 2012 at 6:45 AM by lanwin | Created: May 23, 2012 at 6:44 AM by lanwin

Channel factory throws InvalidoperationException on inherited "service contacts" with defined sync & async methods.

sync & async methods in single service contracts works normaly; but when sync located in contract A, and async methods located in inherited contract B, ChannelFactory throws InvalidoperationExcep...

Id #159 | Release: None | Updated: Feb 28 at 8:07 AM by sunevnuahs | Created: Mar 20, 2012 at 9:06 AM by kostix

DataContract inheritance out of the box

As .Net developer, I believe it would be an excellent characteristic of WCF behavior to support DataContract inheritance out of the box. Currently I'm able to overcome this issue by doing one of ...

Id #157 | Release: None | Updated: Mar 16, 2012 at 2:03 PM by digitalpacman | Created: Mar 16, 2012 at 12:09 PM by pacojones

DataContract Inheritance Breaks Pipeline

This is very odd. I have a data contract Y, which inherits from X. I have a Converter class that returns Y when you call it. I have a WebGet that is returning an HttpResponseMessage<X>. I do th...

Id #156 | Release: None | Updated: Feb 21, 2012 at 1:14 AM by DotNetRockStar | Created: Feb 16, 2012 at 1:16 AM by DotNetRockStar

Typo at the bottom of the test page

There's a small typo at the bottom of the test page where it reads "Micosoft" instead of "Microsoft". So, missing the R.

Id #155 | Release: None | Updated: Feb 14, 2012 at 2:38 PM by lpellerin | Created: Feb 14, 2012 at 2:38 PM by lpellerin

Jsonp Formatter errors on void methods

The jsonp formatter will through an object reference not set to an instance of an object error when the service returns void. The callback= is still necessary, even if void, because if a real err...

Id #154 | Release: None | Updated: Feb 13, 2012 at 11:45 PM by digitalpacman | Created: Feb 13, 2012 at 11:45 PM by digitalpacman

Missing Explicite JsonValue cast for DateTime?

A explicite cast for JsonValue cast for DateTime? is missing. The casts are realized by CastValue but CastValue interpretes DateTime? with Type.IsValueType as not Nullable. This is wrong. CastValue...

Id #153 | Release: None | Updated: Jul 9, 2012 at 7:27 PM by MaxxDelusional | Created: Feb 13, 2012 at 8:31 PM by Bassstingray

Test Page cannot handle header values with colon

I want to be able to send a UTC timestamp in the headers for verification that someone did not read, and re-send the request maliciously. Doing a simple get with headers: Accept:/ Timestamp: 2/...

Id #152 | Release: None | Updated: Feb 13, 2012 at 5:44 PM by digitalpacman | Created: Feb 13, 2012 at 5:44 PM by digitalpacman

Dot in URL always returns 404

Hi, I used to successfully call a service with something like http://*/*/user/test@hotmail.com?_=1234 and it would return the user or a 404 if the user doesn't exist. With the latest bins, it...

Id #151 | Release: None | Updated: Feb 15, 2012 at 12:46 AM by ebucis | Created: Feb 13, 2012 at 12:52 PM by ebucis

Conflicts with net.pipe binding enabled for AppFabric.

Hey, we have Windows Service AppFabric setup for the service auto-start and monitoring. We enable the net.pipe binding while setting up AppFabric but it seems to clash with our Web API services. I'...

Id #150 | Release: None | Updated: Feb 12, 2012 at 8:02 PM by scmccart | Created: Feb 12, 2012 at 8:02 PM by scmccart

Not starting task in DelegatingHandler causes request to hang

A simple but possibly common coding error caused a difficult to diagnose issue as follows: public class BadMessageHandler : DelegatingHandler { protected override Task<HttpResponseMessage> S...

Id #149 | Release: None | Updated: Feb 10, 2012 at 10:22 AM by chariskyriakou | Created: Feb 10, 2012 at 9:46 AM by LittleColin

Jsonp formatter fails when message handler returns custom task

When you have a custom message handler and it returns a new task, instead of calling the base, I don't know what happens but the formatters don't all work. If they pass XML, it becomes XML, if th...

Id #148 | Release: None | Updated: Feb 7, 2012 at 6:20 PM by digitalpacman | Created: Feb 7, 2012 at 6:20 PM by digitalpacman

crossdomain.xml works intermittently

Hi, I have added cross domain policy for a WCF service and the problem i am getting is that it sometimes works and sometimes doesnt. Whenever I get an error it is the typical cross-domain error:...

Id #147 | Release: None | Updated: Feb 7, 2012 at 6:42 AM by ronilkunte | Created: Feb 7, 2012 at 6:42 AM by ronilkunte

Can’t use Dictionary types with JSON without removing XML formatter

Among my web services I have one that is using Dictionary type in its arguments and is intended to be used with JSON formatters only. Data is serialized / deserialized by JSON formatters with no i...

Id #146 | Release: None | Updated: Feb 2, 2012 at 4:59 PM by samvayn | Created: Feb 1, 2012 at 1:20 PM by samvayn

HttpContentHeaders needs public ctor

For unit testing media type formatters, it would be VERY helpful if I could actually create an instance of class 'HttpContentHeaders'.

Id #145 | Release: None | Updated: Mar 7, 2013 at 6:01 PM by jalbert | Created: Jan 30, 2012 at 4:23 PM by andrewwebb

Task.Wait in HttpMessageEncoder.WriteMessage results in poor performance

Using Fiddler I sent 37 GET requests at the same time to my self hosted HTTP service. WCF did not return a response for 30 seconds. I've attached a image of the concurrency visualization perform...

Id #144 | Release: None | Updated: Jan 27, 2012 at 9:02 PM by Slater | Created: Jan 27, 2012 at 9:02 PM by Slater

Configuration for /help and /test

Currently the default configuration is applied to /help and /test. If you want to ensure every service supports security, for example, you would want to make it the default, and override it in ind...

Id #143 | Release: None | Updated: Feb 14, 2012 at 9:30 AM by LittleColin | Created: Jan 19, 2012 at 9:44 PM by digitalpacman

MediaTypeFormatter - Stream was already read and cause InternalServerError

I've setup a HttpServiceHost and used the HttpMemoryBinding technique to access my api in memory. As i tried to access a method that listen to PUT i got an "Internal Server Error" all the time. ...

Id #142 | Release: None | Updated: Jan 18, 2012 at 5:20 PM by SeriousM | Created: Jan 18, 2012 at 5:16 PM by SeriousM

HttpResponseException was unhandled by user code

From the following discussion: http://wcf.codeplex.com/discussions/281443#editor I'm getting the same error. I am using the "End" example code unmodified from the project found here: http://down...

Id #141 | Release: None | Updated: Jan 12, 2012 at 10:34 PM by ggraham | Created: Jan 12, 2012 at 10:34 PM by ggraham

missing parentheses around GUID type breaks OData Query

The Odata Specification as well as the DataServiceQuery translator, identify a GUID in a uri with the format " guid'5b5a2a83-a7e0-4617-88b8-3a4a6b7ff975' ". However, that format causes the web API ...

Id #140 | Release: None | Updated: Jan 11, 2012 at 3:08 AM by jwanga | Created: Jan 11, 2012 at 3:08 AM by jwanga

0.6.0 breaks 0.5.0 synchronous api.

Suggest adding extension methods to preserve synchronous behavior for those of us that use it. E.g. public static class HttpClientExtensions { public static string ReadAsString(this ObjectCont...

Id #139 | Release: None | Updated: Jan 9, 2012 at 11:22 PM by crmckenzie | Created: Jan 9, 2012 at 11:22 PM by crmckenzie

WebApi does not honor [DataMember(Order = X)]

If you create the following data contract: [DataContract] public class Def { [DataMember(Order = 2)] public string Prop1 { get; set; } [DataMember(Order = 1)] public int Prop2 { g...

Id #138 | Release: None | Updated: Jan 6, 2012 at 4:49 AM by rjygraham | Created: Jan 6, 2012 at 4:49 AM by rjygraham

StreamContent and MemoryStream issue

If a StreamContent is created with a MemoryStream (ms) where ms.Position == ms.Length but ms.Length>0, the output stream is empty. The reason is that in the file StreamToStreamCopy.cs file the li...

Id #137 | Release: None | Updated: Dec 31, 2011 at 2:04 PM by ebucis | Created: Dec 31, 2011 at 2:04 PM by ebucis

VerifySignature method of JsonWebToken throwing exception when using same key

After creating and signing a JsonWebToken, the token indicates it IsSigned, but calling VerifySignature method throws a security exception even though the same symmetric signing key was passed to t...

Id #136 | Release: None | Updated: Jan 3, 2012 at 5:32 PM by Oppositional | Created: Dec 30, 2011 at 12:08 AM by Oppositional

WCF Web API does not preauthenticate when POST

Configure HttpClient to PreAuthenticate (WebRequestHandler.PreAuthenticate). Set Credentials Issue GET, this will do single request with Authorization header as expected. Issue POST, in this case ...

Id #135 | Release: None | Updated: Dec 22, 2011 at 1:45 PM by Stan_P | Created: Dec 22, 2011 at 1:31 PM by chaliy

Trailing slash mode = AutoRedirect should return 301 not 307

Trailing slash mode = AutoRedirect means "The client is redirected to the matching URI. That is, the client receives an HTTP response message with Status 307 that redirects to the matching URI." ...

Id #134 | Release: None | Updated: Dec 20, 2011 at 9:35 AM by SiggiG | Created: Dec 20, 2011 at 7:49 AM by andrewwebb

Change protection level on ParseException

'Microsoft.ApplicationServer.Query.ParseException' is inaccessible due to its protection level Example code causing build error: public class DebugHandler : HttpErrorHandler { protected ove...

Id #133 | Release: None | Updated: Dec 19, 2011 at 4:34 AM by _C64 | Created: Dec 19, 2011 at 4:34 AM by _C64

Test Client: Provide clickable Links in representations

If you use hypermedia aware representations, e.g. atom or html, it would be a very nice feature, to make the links clickable in the WCF Test Client. Outbounding links would open a new window. For i...

Id #132 | Release: None | Updated: Dec 17, 2011 at 1:52 PM by humbrie | Created: Dec 17, 2011 at 1:52 PM by humbrie

HttpErrorHandler Response Message MediaType

Found when Self Hosting: If a request is sent with "Content-Type: application/json" and an exception occurs the HttpResponseMessage set in HttpErrorHandler.OnTryProvideResponse doesn't honor the ...

Id #131 | Release: None | Updated: Feb 17, 2012 at 4:37 PM by samvayn | Created: Dec 16, 2011 at 10:04 PM by Discofunk

WCF Web API Deserializes JSON differently than MVC would

To myself and a few others I have spoken to, the WCF Web API processes JSON in a clunky fashion, which makes MVC developers that are used to being able to pass multiple objects to an action via a p...

Id #130 | Release: None | Updated: Jan 18, 2012 at 4:57 PM by digitalpacman | Created: Dec 16, 2011 at 4:08 AM by mikemoser

ObjectContent doesn't respect current HttpConfiguration's formatters

Currently ObjectContent has a internal property for formatters via a MediaTypeFormatterCollection. This collection when instantiated adds a bunch of default formatters. It would be better if it ...

Id #129 | Release: None | Updated: Dec 17, 2011 at 11:10 PM by ptpavankumar | Created: Dec 14, 2011 at 10:04 PM by ChadMoran

ContentType not set properly

Hello, Acording to tis issue http://wcf.codeplex.com/workitem/84 I found something similar or maybe Im doing something wrong. I cant set ContentType property when I connect to WCF Web API service ...

Id #128 | Release: None | Updated: Dec 14, 2011 at 5:05 PM by tkowalczyk | Created: Dec 14, 2011 at 5:04 PM by tkowalczyk

JsonValue does not deserialise DateTimes in complex objects

Hi, Thanks for the great work with the web api. I'm using JsonValue to cast some json I download into a "real" object. However I am hitting what I think is a bug when the object has a DateTime ...

Id #127 | Release: None | Updated: May 23, 2012 at 6:36 AM by lanwin | Created: Dec 14, 2011 at 1:15 PM by mr_miles

Support membership and role providers

Support the ASP.NET membership store for authenticating and managing users. from http://wcf.codeplex.com/discussions/281485

Id #126 | Release: None | Updated: Jan 19, 2012 at 12:11 PM by AlainBH | Created: Dec 10, 2011 at 12:32 AM by howarddierking

Content-Disposition does not use quote marks around name attribute

Trying to use the HTTPClient to POST to a REST API (Request Tracker) and having problems because the name attribute in the Content-Disposition is not surrounded by quotes. e.g. Content-Disposit...

Id #124 | Release: None | Updated: Dec 6, 2011 at 10:44 AM by reidcs | Created: Dec 6, 2011 at 10:41 AM by reidcs

Support for namespaces in XmlMediaTypeFormatter

I cannot specify namespaces in XmlMediaTypeFormatter. I need to XML serialize an object with a default namespace but exclude the extra xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance“ and xmln...

Id #123 | Release: None | Updated: Dec 6, 2011 at 4:19 AM by jberd126 | Created: Dec 6, 2011 at 4:19 AM by jberd126

WCF Web API Test Client Url Case Sensitive

When accessing test client /test/home works /Test/Home does not work. mainly the home needs to be lowercase. Routes in wcf are not case sensitive maybe this shouldn't be either.

Id #122 | Release: None | Updated: Nov 30, 2011 at 9:29 PM by stevegourley | Created: Nov 30, 2011 at 9:25 PM by stevegourley

WCF Web API Filter breaks with DateTimeOffset value

I enabled OData queries by defining an IQueryable method and tested by using ‘$filter=Id eq 1’ which worked fine. However when trying to filter by passing a DateTimeOffset value I get the followin...

Id #121 | Release: None | Updated: May 13 at 1:22 PM by lybax | Created: Nov 30, 2011 at 8:55 AM by Cragly

App_Data folder contains no BigShelfDb.mdf. How to get it?

Where can I find the database BigShelfDb.mdf? It's not in the App_data folder. I'm using SQL server full version, so I have to manually attach the database.

Id #120 | Release: None | Updated: Apr 18, 2012 at 2:51 AM by hillayan | Created: Nov 24, 2011 at 6:56 AM by JeroenH82

Validating model properties WCF Web APi

Following up on the discussion item: http://wcf.codeplex.com/discussions/280533 As we do in ASP.NET MVC applications, what is the way of validating model properties according to incoming data o...

Id #119 | Release: None | Updated: Feb 1, 2012 at 9:42 AM by Jetski5822 | Created: Nov 23, 2011 at 5:28 PM by tugberk_ugurlu_

ODATA supported commands

Add to the documentation a list of all supported ODATA commands and an example of how to use each. Until then, useres can use this: http://wcf.codeplex.com/SourceControl/changeset/view/861c1ae7...

Id #118 | Release: None | Updated: Mar 18, 2013 at 6:22 PM by atconway | Created: Nov 22, 2011 at 3:51 PM by jtoth55

HttpContent.ReadAsString() fails when a message is greater than 65536

When I have a large message the mentioned method fails with the appropriate exception: // System.Net.Http.HttpContent public string ReadAsString() { this.CheckDisposed(); this.LoadIntoBuffer(); ...

Id #117 | Release: None | Updated: Dec 18, 2011 at 8:59 PM by ptpavankumar | Created: Nov 22, 2011 at 12:23 PM by Stan_P

Better way to handle Method parameter of webinvoke attribute?

Spent most of two days trying to figure out why my REST Service created with WCF Web Api wasn't working correctly. I ended up finding that the "Method" parameter of the webinvoke method is case sen...

Id #115 | Release: None | Updated: Nov 22, 2011 at 5:29 PM by danroth27 | Created: Nov 18, 2011 at 1:16 AM by Ncage1974

Test Client causes FormatException

I have "break when thrown" enabled when debugging in VS2010 and am seeing a FormatException at the start of every service call from the test client. The message reads, "The format of value 'Wed De...

Id #114 | Release: None | Updated: Nov 23, 2011 at 4:09 AM by danroth27 | Created: Nov 17, 2011 at 2:59 PM by SonOfPirate

MefConfiguration (DI) is not thread safe

I get a MEF exception at first startup: "The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed i...

Id #110 | Release: None | Updated: Dec 28, 2011 at 12:35 PM by daywalker | Created: Nov 2, 2011 at 6:05 PM by daywalker

hg clone fails with "certificate verify failed"

Hi, I am trying to use hg to clone the code. I have tried TortoiseHG's workbench and command line. Both fail on Cert verification. Has anyone else experienced this? TortoiseHG output: % hg...

Id #109 | Release: None | Updated: Mar 27, 2012 at 12:44 PM by SinguleC | Created: Nov 2, 2011 at 7:02 AM by IanMcShane

Unable to post date fields using content type application/x-www-form-urlencoded

Using the ContactManager_Advanced sample, I added a DateCreated property to the Contact model. I built and ran the project and used the test client to send a put request to /contacts/1 with a conte...

Id #108 | Release: None | Updated: Dec 5, 2011 at 4:24 PM by Encosia | Created: Nov 2, 2011 at 4:40 AM by jlwillis

HttpContent headers are not thread safe

Accessing the ContentType header in a multi-threaded scenario sometimes throws an InvalidCastException See sample test in this thread http://wcf.codeplex.com/discussions/277850 or attached file t...

Id #107 | Release: None | Updated: Nov 15, 2011 at 5:19 PM by danroth27 | Created: Nov 1, 2011 at 11:07 PM by DarrelMiller

Range is not properly supported

In HttpClientHandler.SetRequestHeaders the method that sets the Range to the web request does not cater for situations where only From is set. The code is similar to this: foreach (RangeItemH...

Id #105 | Release: None | Updated: Mar 16, 2012 at 6:10 PM by ListenAttentively | Created: Oct 30, 2011 at 1:53 PM by tmyklebust

It's better if web API can support custom query options

The syntax of odata $filter is too complex to use, for example, you need to write $filter= CustomID eq 1. It's more friendly to write as CustomID=1.

Id #103 | Release: None | Updated: Nov 15, 2011 at 5:50 AM by danroth27 | Created: Oct 27, 2011 at 2:38 AM by JimmyXie

Web API should support the $select projection in OData Protocol

Network traffic is critical for web performance, it's better if web API can support projection.

Id #102 | Release: None | Updated: Jul 31, 2012 at 6:49 PM by hepsubah | Created: Oct 27, 2011 at 2:34 AM by JimmyXie

Using yield in REST methods breaks when an exception occurs

Quite tricky to find this one.. :) I'm using WCF HTTP API preview 5 btw. If you have a REST method returning IEnumerable<T> and using the "yield" keyword to return items, and an exception is thr...

Id #99 | Release: None | Updated: Nov 15, 2011 at 5:48 AM by danroth27 | Created: Oct 24, 2011 at 5:16 PM by SiggiG

Filter breaks with negative value

I enabled OData queries by defining an IQueryable method. I tested using filters to find objects by their ID such as "$filter= ID eq 1" and that works. However if I use a negative value such as "$f...

Id #98 | Release: None | Updated: Apr 23, 2012 at 7:24 PM by vladimir_beliaev | Created: Oct 22, 2011 at 9:05 AM by breynolds73

Extension Method to rebuild headers when setting new HttpContent

When you create a new HttpContent or StringContent or any one of those, the headers on the output response get erased. I noticed this when using operation handlers to add headers for a message hand...

Id #95 | Release: None | Updated: Nov 22, 2011 at 5:47 PM by stevegourley | Created: Oct 20, 2011 at 1:59 AM by stevegourley

JS Serializtion

I'm currently dev'ing on the prototype branch but I think this would probably be a problem in preview 5 as well. The test client seems to hang when you try to serialize a class to json that isn'...

Id #94 | Release: None | Updated: Nov 22, 2011 at 5:49 PM by stevegourley | Created: Oct 19, 2011 at 1:25 AM by stevegourley

IQueryable support for "late-bound" polymorphism

I'm building a framework and I have a service method that returns an object. This object may be an IQueryable<T> but I don't know until runtime if it is or not because it depends on what the frame...

Id #92 | Release: None | Updated: Nov 27, 2011 at 4:12 PM by ronjacobs | Created: Oct 14, 2011 at 3:18 PM by ronjacobs

Where is UrlQueryComposer?

With preview 4 I used to do my own count tracking for paging purposes. I don't know if I can do the same with OData like filters now although I would like to be able to get json for compatibility p...

Id #90 | Release: None | Updated: Jan 17, 2012 at 12:30 PM by Karloff | Created: Oct 13, 2011 at 2:38 AM by ebucis

Add StatusCode and ReasonPhrase to HttpRequestException

HttpRequestException only contains a Message string which, when thrown by EnsureSuccessStatusCode(), has the StatusCode and Reason formatted as text only. It would be great to have these as dedicat...

Id #88 | Release: None | Updated: May 23 at 3:36 PM by trey_gorman | Created: Oct 12, 2011 at 1:30 PM by Bluesky13

Custom MediaTypeFormatters: Provide access to request/response

relates to this discussion: http://wcf.codeplex.com/discussions/274758 To omit e.g. base URIs in custom media type formats, an acces to the related request/response would be nice.

Id #87 | Release: None | Updated: Nov 15, 2011 at 5:41 AM by danroth27 | Created: Oct 10, 2011 at 7:22 PM by humbrie

HttpReponseMessage<T> return value = no help on return value

Using HttpReponseMessage<T> return value for my api methods causes the /help generated to be missing the types and instead says "Could not generate schema document". The help generate routine sho...

Id #83 | Release: None | Updated: Jan 12, 2012 at 1:25 PM by ListenAttentively | Created: Oct 5, 2011 at 9:23 PM by jj12345

UriTemplateMatch unavailable?

I'm trying to get the UriTemplateMatch from the following WebOperationContext.Current.IncomingRequest.UriTemplateMatch within my service contract but it's always null. I'm trying to create reso...

Id #82 | Release: None | Updated: Nov 15, 2011 at 5:41 AM by danroth27 | Created: Oct 5, 2011 at 5:29 PM by jberd126

API Versioning

I am new to this... I'm trying to use a best practice for versioning my RESTful web service. It turns out to be relatively straight forward if I want the version number to be part of the url. If,...

Id #81 | Release: None | Updated: Dec 17, 2011 at 11:11 PM by ptpavankumar | Created: Oct 3, 2011 at 2:27 PM by jj12345

Issue with HttpClient.GetAsync when default credentials are used (Preview 5)

Hi All I don’t know if this is an issue, but I am having authentication problems with HttpClient.GetAsync when I use DefaultNetworkCredentials to set the HttpClientHandler.Credentials property in ...

Id #79 | Release: None | Updated: Apr 25, 2012 at 3:08 AM by legos211 | Created: Sep 29, 2011 at 3:15 AM by app1918

Customize Test Client Auto Complete

It would be helpful for testing if the test client exposed an interface to allow adding of custom header values to the auto-complete list for things like custom content types (e.g. application/vnd....

Id #78 | Release: None | Updated: Dec 10, 2011 at 1:11 AM by humbrie | Created: Sep 27, 2011 at 5:55 PM by jj12345

Customize Test Client GUI

It would be great to be able to customize the test client GUI to change titles, put in hyperlink to documentation, etc.

Id #77 | Release: None | Updated: Jan 16, 2012 at 1:37 PM by Karloff | Created: Sep 27, 2011 at 5:53 PM by jj12345

Project creation reports error "Error HRESULT E_FAIL has been returned from a call to a COM component."

When I use the WCF Support for jQuery July 2011 template in VS2010 the project fails to create.

Id #72 | Release: None | Updated: Sep 15, 2011 at 10:12 AM by danroth27 | Created: Sep 12, 2011 at 8:54 PM by dumbledad

Unclear exceptions on JSON parsing failures

If you send up invalid JSON right now to a service, you just receive back a generic HttpResponseException and you don't know what is causing the json parser to fail (or even that it is invalid json...

Id #69 | Release: None | Updated: Jan 3, 2012 at 5:35 PM by Oppositional | Created: Sep 7, 2011 at 11:59 PM by thekaido

Content negotiation is broken (or not implemented at all)

Run the ContactManager_Advanced sample. Issue a GET /contact/1 with "Accept: image/*". Application responds with application/xml instead of image/png as expected. Issue a GET /contact/1 with "...

Id #57 | Release: None | Updated: Nov 15, 2011 at 5:05 AM by danroth27 | Created: Jul 4, 2011 at 2:37 PM by mausch

Missing innerException ServiceOperationHandler.ValidateAndConvertInput exception handler

The exception handler for ServiceOperationHandler.ValidateAndConvertInput() has 3 if-else-if-else clauses for handling non-fatal exceptions. The last two throw exceptions that include an innerExcep...

Id #52 | Release: None | Updated: Nov 15, 2011 at 4:52 AM by danroth27 | Created: Jun 23, 2011 at 8:18 AM by Iansrobinson

Type Converter Support

Hi, I have notice that there is no support for TypeConverters in Uri parameters. This would be a very nice to have feature since that would mean that using new structs or classes wouldn't require...

Id #46 | Release: None | Updated: Nov 16, 2011 at 8:28 AM by Thern | Created: May 30, 2011 at 4:11 PM by machadogj

Why Does implicit cast to String not strip quotes

Consider the following code: dynamic user = new JsonObject(); user.Name = "Alice"; Console.WriteLine(user.Name); The console writes: "Alice" But, according to the d...

Id #45 | Release: None | Updated: Nov 15, 2011 at 4:49 AM by danroth27 | Created: May 26, 2011 at 8:07 PM by karstenj

Bring back HttpClient.CreateQuery<T>

This is an absolute MUST feature in order to have flexible and useful endpoints that can be queried without having to do the old crappy WCF thing of implementing this ad-hoc in custom service opera...

Id #41 | Release: None | Updated: Sep 12, 2013 at 1:41 PM by aptmadelson | Created: May 17, 2011 at 12:30 PM by dcazzulino

How to handle Content Negotiation Failures

A client can tell the server that he can only understand some specific message format in HTTP with following header info: REQUEST Accept: application/vnd.customer+xml,/;q=0.0 If the server does n...

Id #40 | Release: None | Updated: Nov 14, 2011 at 10:14 PM by danroth27 | Created: May 15, 2011 at 11:46 AM by humbrie

Proposal: Use a single [WebMethod] Attribute instead [WebGet], [WebInvoke]

see my proposal in the discussion section: http://wcf.codeplex.com/discussions/257675

Id #39 | Release: None | Updated: Dec 17, 2011 at 1:59 PM by humbrie | Created: May 15, 2011 at 11:20 AM by humbrie

Make HttpHeaders (Request and Response) serializable

I can imagine a scenario where I can use "standard" http headers and I want to reuse them for serveral requests (and maybe responses even if requests is the most obvious). In order to save those h...

Id #33 | Release: None | Updated: Oct 21, 2012 at 9:33 AM by felixg | Created: Apr 28, 2011 at 11:04 AM by raffaeler

ServiceRoute limitation

If you want to built a rest service with a hierachical structure, the ServiceRoute class prevents this and forces you to have all methods defined in one single service. Take the following example...

Id #28 | Release: None | Updated: Feb 8, 2012 at 8:31 PM by ijoyce | Created: Mar 16, 2011 at 8:44 AM by bjornbouetsmith

Provide HttpClient Support for Silverlight / WP7

I would love to see support for Silverlight and Windows Phone 7. Right now we cannot write our own QueryProvider implementation in Silverlight because of the lack of the ability to use Reflection ...

Id #21 | Release: None | Updated: Jul 7, 2013 at 5:44 PM by patrickluiz | Created: Jan 24, 2011 at 3:03 AM by Xamlcoder

Use property injection in Resources

I think it would be nice to instead of having HttpResponseMessage and/or HttpRequestMessage as part of the method signature, have them as injectable properties of the resource, eg: [ServiceContract...

Id #20 | Release: None | Updated: Nov 14, 2011 at 10:33 PM by danroth27 | Created: Jan 17, 2011 at 9:41 PM by johnsimons

Guidance encryption/decryption of payload. Where? How?

Some of us may want to use decryption/encryption for xml payloads when making calls into open APIs on top of SSL (https). Similarly we may also want to use encrypting payload for any media type (fo...

Id #15 | Release: None | Updated: Nov 14, 2011 at 10:31 PM by danroth27 | Created: Nov 30, 2010 at 7:52 PM by rrudracodeplex

Integration with the Service Bus HTTP transport channel

It should be possible to use the new HTTP functionality with the service bus HTTP transport channels, that is, expose an HTTP endpoint on the service bus using the new WCF HTTP support. More detai...

Id #13 | Release: None | Updated: Nov 14, 2011 at 10:21 PM by danroth27 | Created: Nov 23, 2010 at 9:19 PM by pmhsfelix

Securing a WCF Web API method

As the sample at http://wcf.codeplex.com/Thread/View.aspx?ThreadId=234469&ANCHOR#Post521288 shows, I added the MVC "Authorize" attribute to my function in the WCF service. The attribute was however...

Id #11 | Release: None | Updated: Nov 14, 2011 at 10:20 PM by danroth27 | Created: Nov 13, 2010 at 4:43 AM by barone

Automatically infer the name for the request and response messages in a processor

In order to make the API simpler to use, I think the pipeline should automatically infer the name for the request and response messages based on the type. For example, if I have a processor like th...

Id #10 | Release: None | Updated: Nov 14, 2011 at 10:30 PM by danroth27 | Created: Nov 9, 2010 at 12:25 PM by pcibraro

Uri template limitation

I came across a limitation in the way Uri templates works with the current bits. I will discuss first the example I want to implement to make evident the problem I found, I want to map these url ...

Id #8 | Release: None | Updated: Nov 14, 2011 at 10:05 PM by danroth27 | Created: Nov 8, 2010 at 3:59 PM by pcibraro

System.Json customizable property name conventions

Allow pluggable conversion on Read or Write of Json of property naming conventions. Always use Pascal Case property name internally. "PropertyName" == "propertyName" == "property_name"

Id #6 | Release: None | Updated: Jul 24 at 12:37 AM by DanElofer | Created: Nov 2, 2010 at 4:54 PM by andybooth

Help page for all services in one list

In WCF 4 there is an option to expose a generated help page for a service. It would be awesome if there was a way to generate a help page listing ALL services on one page from the routes outlined...

Id #5 | Release: None | Updated: Jan 16, 2012 at 1:39 PM by Karloff | Created: Nov 2, 2010 at 10:36 AM by grimmersnee

  • 1-92 of 92 Work Items
    • Previous
    • 1
    • Next