Visual Studio

Welcome to the Visual Studio UserVoice site. Let us know what you would like to see in future versions of the Visual Studio suite of products. This site is for suggestions and ideas. If you need to file a bug, visit the Visual Studio Connect site: http://connect.microsoft.com/visualstudio.

ASP.NET Runtime/Web Tooling suggestions have moved! All your ideas, including your votes, have been transferred and are searchable in the ASP.Net Uservoice forum. Please submit any new ASP.NET Runtime/Web Tooling suggestions, or vote on existing suggestions by going to http://aspnet.uservoice.com.

We look forward to hearing from you!

Thanks – Deon Herbert
Visual Studio Team

I suggest you ...

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.

  • Hot ideas
  • Top ideas
  • New ideas
  1. Generic extension method type restriction should be evaluated by the compiler

    Hi there,

    Mike Feng suggest me that I should post my discussion here.
    I made some examples to prove my point: http://social.msdn.microsoft.com/Forums/en-US/clr/thread/c9ad51c1-0c5a-4eb6-a530-89eaa628c07f/

    I attach examples so you can test it. In my opinion if the complier watch the generic type restriction it could work like normal non-generic extension method.

    Best Regards,
    Péter

    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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
    • Allow image map in asp.net to assign colors or images to hot spots

      Asp.net image map does not contain the functionality to assign colors to the hotspots created by the user. This feature will be very use full when dynamically assigning the hotspots.

      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…)
        3 comments  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
      • Entity Framework Code First, then Other Next.

        Entity Framework Code First is nice to start off with when you got an idea you want to try. But once you get to a certain number of classes, you may want to flip a switch in Visual Studio and start working from database or model and have the classes be generated from there. It would be great to be able to switch back and forth quickly.

        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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
        • Allow Partial Properties. Seperate Logic from "Structure" as in Entity Framework

          Recently I have been getting into Entity Framework, but don't like the idea that some of the Entity classes are doing somewhat too much.

          To fix this, I wanted to make my Entity class file partial, and implement the data access functionality away from the other aspects of the class.

          While I was doing that, I figured it would be greatly beneficial to make my properties partial, and have the implementation away from the Annotations!! This would clear up the files and allow separation of concerns. Because of Entity Framework (and not liking the format for auto-generated annotations) you have…

          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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
          • Support for "dpi aware" bitmaps in WPF

            An article on MSDN (http://msdn.microsoft.com/en-us/library/ms701681.aspx) recommends providing bitmaps in several sizes for each graphic. This is a very good idea, and there should be built-in support for this in WPF.

            Example:

            <Image Source="myBitmap.ico" Width="16" Height="16" />

            Then, depending on the dpi setting, WPF automatically will select that bitmap in the ico file whose size matches best the required pixel size (i.e. 96 dpi -> 16x16 pixels, 120 dpi -> 20x20 pixels etc.).

            This, of course, is only an example of how it could be implemented, there might be better ways.

            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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
            • Add 'Toggle' Method for Booleans

              I have often found myself typing the following conditional statement:
              If Panel.Visible = False Then
              Panel.Visible = True
              Else
              Panel.Visible = False
              End If

              And it hit me that life would be so much easier if there was a 'toggle' method for booleans (Boolean.Toggle()) that automatically switched the value between true and false. More of a productivity suggestion than anything but I think it would make life so much easier.

              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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
              • Add modulus operation to BCL Math library

                The currently existing remainder operator behaves the following way: the remainder may be negative if the dividend is negative. While this corresponds to the way it's taught in the school, this way is not particularly useful when using this operation in real-world applications.

                The more useful way would be to have an operation (Math.Modulus?) which behaves the following way: the modulus is always a non-negative number not greater than the absolute value of divisor.

                This function would have advantage over the traditional % operator.

                Example 1: the check (x mod 2 == 1) would be true for all odd numbers…

                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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                • When we make DB changes and refresh .edmx files the the code also refreshes

                  If there is a methord so that the changes are retained or the changes can be made in .edmx and directly reflects on DB.

                  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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                  • Integrating\hosting SQL Server In CLR or Visual Studio

                    Just like CLR hosting in SQL Server ...can we host whole SQL Server Execution Engine, Optimization Engine, Query Engine in CLR ? I think query engine is already integrated into Visual Studio tool. Is there any work is going on in Microsoft to achieve this ?

                    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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                    • add report Viewer control in WPF Application

                      use as in Windows application

                      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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                      • Adding a service reference protected by form authentication

                        A website is protected with forms authentication, and so is the WCF service hosted on this website. This service is consumed by a silverlight application, also hosted on this website (and only accessible to authenticated people).

                        If in Visual Studio I add a reference to the service, because the service is protected by forms authentication, my request for metadata will be redirected to the login page and Visual Studio will fail to reference this service.

                        What I would really expect when I enter an URL in the address field is a browser windows which only shows the service list if…

                        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…)
                          2 comments  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                        • Include .NET 3.5 in the Windows server 2012 distribution

                          The Windows 8 and Windows 2012 OS images don't come with .NET 3.5. it can be installed as a role, but only if you have internet access from your server. You can't install the standalone distribution of .NET 3.5 - you can only install it via Windows update.

                          I know it's now been replaced by .NET 4 but many Microsoft products need ASP.NET 3.5 as a prerequisite. Not having it in the OS installation - but treating it as an operating system component that mist be installed via Windows Update makes it extremely difficult to setup a server that doesn't…

                          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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                          • Add System.IO.TextReader.ReadLines() returning IEnumerable[string]

                            This would be a useful general-purpose function. In particular convenient use in LINQ, such as:
                            var res = from line in textReader.ReadLine() ...etc...

                            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…)
                              3 comments  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                            • ScheduledToastNotification.Id length restriction is too small

                              The ScheduledToastNotification.Id length restriction is 16 characters including the terminating NULL. So that means 15 characters. This makes trying to make a unique id for a notification difficult.

                              Guid.ToString() is WAY too long
                              DateTime.Now.Ticks.ToString() is 2 chars too long

                              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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                              • Create a subset of .NET runtime for installation by non-admin users

                                There is a lot of application that doesn't require administrative access to run. However since not all users run as "Administrators" account, if the application is written in .NET but the corresponding version of .NET runtime is not installed, they would need to search for alternatives.

                                Is there any chance Microsoft release a version of lightweight runtime that contains all the functions that don't require administrator access, and to be installed as "per user"? (Much like the case in creating subset .NET runtime for server "Core" editions)

                                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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                                • How about including show/hide control formatting symbols like paragraph marks to the available ApplicationCommands for the WPF RichTextBox

                                  Many 3rd party WPF tool vendors have added the ability to show hidden formatting tags like the paragraph marks. I would like to see this as a standard feature for the base RichTextBox control in WPF.

                                  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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Enum should implement IComparable<T> and IEquatable<T>

                                    Enum implements IComparable and IEquatable but not the generic versions of those interfaces. This means generic methods for enum must use the non-generic interfaces in the constraints, requiring the generated code to do boxing/unboxing which is really unnecessary.
                                    E.g. (an extension method):
                                    public static bool IsBetween<T>(this T value, T lowerBound, T upperBound) where T : IComparable<T>
                                    {
                                    return lowerBound.CompareTo(value) <= 0 && value.CompareTo(upperBound) <= 0;
                                    }
                                    this cannot be used with enum unless it were IComparable instead of IComparable<T> and then .CompareTo would do boxing.

                                    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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Some suggestions for .NET, Midori & Singularity

                                      Hello,

                                      Recently there was a Microsoft Job advertisement, regarding Midori. They stated, they want to introduce thread safety as a language concept like type safety.
                                      I was thinking a lot along these lines recently and did some research of the scientific work of the ETH Zurich.
                                      The ETH Zurich did a lot of OS & language research in the last 20 years.
                                      Unfortunately, none of the advantages of a managed OS made it into a mainstream OS up to today.
                                      I had an idea, but probably Microsoft had this idea too. Why not implmenet the SIP's of Singularity as a…

                                      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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Add non-generic base class to TaskCompletionSource<T>

                                        The TaskCompletionSource<T> class should have a non-generic base class that would implement the methods that are currently in TaskCompletionSource<T> and which don't operate on the result type.

                                        Specifically these are: SetCanceled, SetException, TrySetCanceled, and TrySetException.

                                        This would allow for canceling/failing a diverse collection of TaskCompletionSource objects without needing to know what the result type should have been.

                                        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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Add methods to SortedSet<T> and HashSet<T> to return the an item

                                          The SortedSet<T> and HashSet<T> classes have no way to return specific items. However, their implementations of the Contains method demonstrate that this is possible. It's quite straightforward (but not ideal) to do this with reflection. Please add Find methods to return the item in the set with a matching GetHashCode().

                                          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…)
                                            4 comments  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                                          • Don't see your idea?

                                          Feedback and Knowledge Base