WCF Data Services Feature Suggestions

Welcome to the WCF Data Services feature suggestion list. Find out more information about Data Services at http://msdn.microsoft.com/data .

If you have questions, need help or find a bug in Data Services, visit the forums at http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataservices/threads

WCF Data Services Feature Suggestions

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. property

    As far as I am aware currently, WCF data services does not allow users to hide columns.

    I recommend that we allow restricted access to columns. Example if table1 has columns C1, C2, C3. and we use WCF Data Services and Entity Data model to expose data in table1 as Odata. I want to allow some users (of my wcf dataservice)to view/access only Columns c1, c2 but not c3.

    Currently this is not possible in WCF Data Services i think. Please do email me if i am wrong in my understanding.

    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 →
    • Provide an attribute to prevent property being included in POST/MERGE requests

      There are cases when you need to add an extension property to an entity on the client, such as for the StreamUri property of an MLE. We need to provide a way to not include this property in requests to the data service, which results in an error. It would be great to have an attribute, as in this blog post: http://blogs.msdn.com/b/phaniraj/archive/2008/12/11/customizing-serialization-of-entities-in-the-ado-net-data-services-client-library.aspx

      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 →
      • Support for DB trigger Callback Option

        When there is some row is added/deleted/modified to the table which is mapped to the Entity, then client should be notified. This would be very powerful feature

        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 →
        • Propagate Comments/Description from EDM to DataService Metadata then to Client Proxy

          Propagate any existing comments in the EDM to the DataService $metadata so that the client proxy can put that into the comments of the generated properties, giving us meaningful intellisense about the classes and properties in the client.

          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 →
          • AllowWriteStreamBuffering = false

            Allow setting of the .AllowWriteStreamBuffering property of the request. Right now data services always internally sets it to true during save changes no matter the value that is set beforehand. This is not good as it forces entire requests to be buffered client side. This has a really negative impact if trying to stream BLOB media (like a video) as a media linked entity.

            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…)
              1 comment  ·  Flag idea as inappropriate…  ·  Admin →
            • make OData feeds (if of atom format) readable by Atom feed readers

              OData is clained extension to Atompub and its main format is of Atom. However, OData does not enforce its feeds(entityset) Atom syndication compliant, and feed readers at large (like google reader) usually cannot render Odata feed properly. Should OData feed be a valid Atom syndication - with Odata extensiton like content/property of course, all feed reader would be able to dispaly it decently, given its content type if atom+xml.

              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 →
              • Return the metadata only for a select

                Have a $metadata only command for a select. This would return the full metadata for a select, but no actual data.

                We need the metadata because we then provide the user with what properties they can make use of from a select. When providing that metadata in a prompt, we do not need any data at that point in time.

                This should be on the server so that a program written to handle version 3 will still provide the correct metadata if the server is version 4 and the uri passed in uses commands that are new to version 4…

                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 →
                • Optimization for .NET clients

                  If WCF Data Service has a .NET client, going over .NET Client API, communication between service and that client could be additionaly optimized. I think that this would be very helpfull.

                  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 →
                  • Use WSDLto define OData Services instead of CSDL

                    Using WSDL to define service contracts will make it easier for non-Microsoft platforms to consume the services and lead to greater industry acceptance.

                    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 →
                    • TransactionScope support client side

                      I want to be able to wrap multiple calls to DataServiceContext.SaveChanges in a TransactionScope. EF supports this but it is not possible client side for WCF Data services. I expect the server side method does not know about multiple calls to SaveChanges so the server side method using events etc does not seem to fit.

                      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 →
                      • Open Source WCF Data Services

                        Please open source this library to gain contributors and speed up the development

                        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 Authentication

                          Almost all applications need authentication.

                          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 →
                          • 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…)
                              1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                            • Support .Select method on .Expand

                              The .Expand extension method don't support expanding items after a collection

                              For example :

                              var q = client.Products.Expand(p => p.Prices.Select(o => o.Discount))

                              It would be nice if the .Expand method support the same syntax than the .Include method of Entity Framework.

                              By the way, it is possible to do it using a String but it's not really usefull :-)

                              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 →
                              • edmx support for business logic within the entity

                                Being able to add read only fields. The canonical example being
                                public string FullName {
                                get { return firstName + lastName; }
                                }

                                This would need to be done via EDMX - some method to wire it into the partial class, or if not auto-generated, the POCO class.

                                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 →
                                • Get the Web API and WCF Odata support in sync.

                                  ASP.Net web API supports v5.2 of the WCF Client libraries - and it was released on the same day as the WCF 5.3 libraries. Way to make it hard to pass a request from an API controller to a WCF Data service.

                                  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 →
                                  • Build the .NET client under 3.5

                                    The .net client part of OData presently builds under 3.5. Please continue this and release it as a 3.5 build. There are a very large number of apps out there that are still using the .net 2.0 CLR and for OData to run on them, it must be 3.5.

                                    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 →
                                    • OWIN guidance/support

                                      Currently, there is some level of guidance on how top setup WCF Data Services on top of IIS, ASP.NET and WCF, but not a word on OWIN. Is it at all supported?

                                      This would bring many benefits, including support for CORS[1][2] for free, as well as many other features[3][4][5] that the WCF Data Services team may not want to support directly.

                                      [1] https://www.nuget.org/packages/Microsoft.Owin.Cors/2.1.0
                                      [2] https://data.uservoice.com/forums/72027-wcf-data-services-feature-suggestions/suggestions/4450449-cors-support
                                      [3] https://katanaproject.codeplex.com/SourceControl/latest#src/
                                      [4] https://www.nuget.org/packages?q=owin
                                      [5] http://owin.org/

                                      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 →
                                      • New DataSvcUtil.exe Option -- Create User Friendly Partial Classes‏

                                        I don't know how many people use partial classes to augment the generated classes in the DataServiceContext file from DataSvcUtil.exe. I am asking that a new option be added to DataSvcUtil.exe to have a file that sits next to the generated one to allow people to add their own custom entity properties.

                                        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 →
                                        • Change the parent id for an entity

                                          If I save an entity that contains a single owner - has a column containing a parent id in the DB - there appears to be no way to change it using DataServiceContext directly. There are 2 scenarios that fail with this message:

                                          The closed type xxx does not have a corresponding xxx settable property

                                          1. Save an entity to the DB that has a navigation property (List) that is empty. Add items to this saved entity later and try to save - fails with message.

                                          2.Save an entity that contains a property (subtype is a single instance not a…

                                          3 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 Data Services Feature Suggestions

                                          Feedback and Knowledge Base