WCF (Web Services)

Announcement: This forum has been replaced by Visual Studio Developer Community to provide you one convenient and responsive system for all feedback. You can now suggest new ideas, browse and vote on existing ideas in the Visual Studio Developer Community.

We’d like your suggestions and ideas to help us continuously improve future releases of WCF Web Services, so we’ve partnered with UserVoice, a third-party service, to collect your feedback. Please do not send any novel or patentable ideas, copyrighted materials, samples or demos for which you do not want to grant a license to Microsoft.

This site is for feature suggestions; if you need to file a bug, you can visit our Developer Community website to get started.

Note: your use of the portal and your submission is subject to the UserVoice Terms of Service & Privacy Policy and license terms.

We look forward to hearing from you!
- The WCF Web Services Team

How can we improve WCF?

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

There are two ways to get more votes:

  • When an admin closes an idea you've voted on, you'll get your votes back from that idea.
  • You can remove your votes from an open idea you support.
  • To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  1. Needs A Method of transferring service references and contracts one project to another

    Unless i'm mistaken I have yet to find a way to transfer a service reference from one project to another, without having to manually add the service reference and edit the web config and adjust for naming conventions, a way or means of porting one service reference from one place to another that maintains all the contract information would be invaluable, as in the case where i'm using a service reference in a class to perform some logic and now i want to copy my class into another project and still be able to access the service references i had…

    19 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  2. Better Logging for non-XML messages

    When using diagnostic tracing all messages appear as XML in traces even if they are transmitted / receieved in non XML format, e.g. JSON. I believe being able to log the actual bytes sent and received from the diagnostic traces and programmatically from a logging extensibility point would be a good improvement.

    19 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  3. Create a constructor on Host and Proxies that can read the WCF service config from a stream

    It would be nice in clustered scenarios if the WCF config could be stored in a common location (Database, MEX web service, shared file) and then initiated from the host via a constructor. Right now it's very difficult to actually dynamically change the configuration without either subclassing the objects and hacking the dynamic config in or having to write your own parser for the config when there are obviously classes that do this already in the current system.

    18 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  4. 17 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  5. Do not obsolete WebHttpEndpoint in favour of ASP.NET web api.

    When I'm writing REST services I don't want to have ASP.NET around. I'd like to use a single service-oriented framework (WCF) to create both REST and SOAP services. The advantages of using a single service-oriented framework outweigh funky/shiny things of ASP.NET web api which I will never use. ASP.NET web api has moved away from service orientation concepts (unfortunately), but WCF should still be capable of supporting REST services.

    13 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  6. For webHttpBinding (REST services) allow more control over media formatters and changing the JSON serializer used.

    I know this is possible in web api, but this would enable WCF to become a very decent framework for REST services - for those people who do REST services with WCF (for many good reasons) .

    13 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  7. 13 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  8. Allow sharing client data contract types for more than one endpoints.

    For security (or other) reasons - a service may expose multiple endpoints with different contracts. These different contracts may share the same data contract types.

    Currently, ASR/svcutil insist on generating types on different namespaces, make it impossible for one to get an object from one endpoint and pass it to the another

    This is simple a hassle with the tools, WCF supports that when you copy the contract types manually.

    12 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  9. Add support for Apache Avro

    The point of WCF (in my mind) is to provide a platform and protocol independent method of communication. Adding support for Apache Avro furthers this goal. I noticed that .net support for Avro just came out (http://blogs.msdn.com/b/windowsazure/archive/2014/04/14/microsoft-avro-library.aspx) and I hope that this does not lead into divergence instead of convergence in regard to .net interop.

    11 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  10. Xml schema validator

    Current XML validation doesn't follow the Xml Schema standard and it's not possible to validate incoming messages against a schema. .Net framework really needs a proper Xml schema validator which can validate xml messages and also compare two schema versions to check breaking changes.

    10 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  11. Fault contract on service contract level

    Provide ability to apply fault contracts on service level instead of single operation level. This way we won't have to repeat fault contracts on each contract operation.

    9 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  12. Add support for wildcard bindings in IIS (*.domain.com)

    WCF does not currently support wildcard bindings in IIS (or anywhere else). If you try to add a WCF service to an IIS website that uses wildcard bindings, you will receive the following exception at runtime:

    [UriFormatException: The protocol binding '10.0.0.17:80:*.domain.com' is not valid for 'http'. This might be because the port number is out of range.]
    System.Runtime.AsyncResult.End(IAsyncResult result) +606254
    System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +231
    System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +177

    I opened a case with Microsoft Support [REG:117061415893467] and they have verified that this is currently a limitation. The only workaround is to remove the wildcard binding and dedicate an entire IP address to…

    9 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  13. 7 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  14. 7 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  15. Proxy Generation with more features and large data transfers handling with more extensibility points.

    During the proxy generation, give more features such as instance management and throttling options on User interface instead of handling in our own instance of proxy(such as checkboxes for applying those attributes). Also give methods in the proxy generated that if larger than a specific size, be handled in batches by default synch or Asynch which can be overridden if required.Can there be more extensibility points so that we can look at the message transfer more deeply on the transport level if required to check like how many batches are transferred and how many are remaining. And what about Known…

    7 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  16. Create overload methods under the hood for generic methods

    When defining next OperationContract for a non generic ServiceContract

    [OperationContract]
    [ServiceKnownType(typeof(int))]
    [ServiceKnownType(typeof(bool))]
    [ServiceKnownType(typeof(string))]
    void CreateAlarm<T>(string Client, string id, T exptValue);

    .NET should generate and expose 3 overloaded methods.
    The implementation however should only be done once.

    6 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  17. Ability to suppress this WCF eventlog entry HttpException - There was no channel actively listening

    WCF contracts are based on interfaces, and if you remove a legacy interface from your hosted contracted, you cannot supress the error messages from entering the windows event log. I reviewed the reference source, and you can see where the event raises, but there is no option for the global.asa or web.config to handle / prevent these entries from flooding your windows event log. So you have only two choices, leave legacy APIs online and maintain them, or remove them and have your windows event log flooded with errors.

    Example of this was posted on StackOverflow:

    http://stackoverflow.com/questions/31347526/wcf-httpexception-there-was-no-channel-actively-listening-dropping-from-window

    Example Stack:

    WebHost…

    6 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  18. Put some effort on making more complete documentation around MSMQ bindings + examples on advanced scenarios like MULTICAST,remote queues etc

    Most of the docs on MSMQ + WCF are from .NET 3.5 era and there are no examples on some MSMQ goodies.

    6 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  19. Small web server using WCF

    Host web client (may be ASP.NET enabled) in standalone application or service near or using WCF.

    6 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  20. router can expose wsdl easily

    router services can be expose wsdl for better implementation

    6 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →

WCF (Web Services)

Feedback and Knowledge Base