WCF (Web Services)

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 vote and comment on it.

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

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

  1. Propagate [obsolete] attribute in client proxy generation.

    Service changes all the time, and sometimes, you have to move on an depreciate obsolete method/properties.

    It would be great if we can generate/post-process the proxy so that we mark obsoleted proxy method/properties with the obsolete attribute. That can make the depreciation process easier.

    26 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      0 comments  ·  Flag idea as inappropriate…  ·  Admin →
    • 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
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        0 comments  ·  Flag idea as inappropriate…  ·  Admin →
      • Better java interoperability

        We use WCF 4.0 / WIF 3.5 WSTrust1.3. This works great with .NET clients. It is is a beast to get working with Java. The perception is that .NET WCF services are not interoperable with Java. Java samples /HOWTOS would go along way to squash this idea.

        18 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          0 comments  ·  Flag idea as inappropriate…  ·  Admin →
        • Surface WIF active federation bindings in Svc Config Tool

          I am not sure if this has already been enabled (as far as I know it has not). The active federation bindings - WS-Trust do not show up in the Svc Config tool. These can be complicated to setup and it would be easier with config tool options for this.

          17 votes
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            0 comments  ·  Flag idea as inappropriate…  ·  Admin →
          • DataServiceContext 'accept: application/json' support

            To reduce the data that is received by the client it would be great that DataServiceContext supports the json format as described by the OData protocol description: http://www.odata.org/developers/protocols/json-format

            16 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              0 comments  ·  Flag idea as inappropriate…  ·  Admin →
            • new ETW Trace tool (Maybe an update of SvcTraceViewer)

              We don't have a tool to support the new ETW feature of WCF yet. This tool should be super useful for developers and IT pros.

              14 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                1 comment  ·  Flag idea as inappropriate…  ·  Admin →
              • 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…

                13 votes
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                • 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.

                  12 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                  • 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
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                    • 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.

                      11 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                      • 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
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                        • 9 votes
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                            0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                          • 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) .

                            7 votes
                            Vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)
                              You have left! (?) (thinking…)
                              0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                            • 7 votes
                              Vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)
                                You have left! (?) (thinking…)
                                0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                              • 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
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  I agree to the terms of service
                                  Signed in as (Sign out)
                                  You have left! (?) (thinking…)
                                  0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                • 7 votes
                                  Vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)
                                    You have left! (?) (thinking…)
                                    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                                  • 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
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)
                                      You have left! (?) (thinking…)
                                      0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                    • 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.

                                      6 votes
                                      Vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        I agree to the terms of service
                                        Signed in as (Sign out)
                                        You have left! (?) (thinking…)
                                        0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                      • 5 votes
                                        Vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          I agree to the terms of service
                                          Signed in as (Sign out)
                                          You have left! (?) (thinking…)
                                          0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Implement EXI encoding

                                          Implement standard based binary encoding for xml to enable much smaller wire size.

                                          4 votes
                                          Vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            I agree to the terms of service
                                            Signed in as (Sign out)
                                            You have left! (?) (thinking…)
                                            0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                          • Don't see your idea?

                                          WCF (Web Services)

                                          Feedback and Knowledge Base