General ASP.NET

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

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. You've gone a long way with VS SQL support ... Now, we need much better support for Azure Table Storage

    We need help in reducing the amount of time to code for Azure Table Storage and deal with table storage in the IDE. I'd like to see and modify entities and tables right from the IDE ... building the functionality of software like ClumsyLeaf's TableXplorer right into VS. Also, it would be nice to have more/better support in data source controls and data-bound controls for table storage data and keys. It's all very LOW level right now and takes quite a while to code for Azure Table Storage relative to coding against SQL/SQL Azure storage. [Also, btw ... can you…

    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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
    • Allow clearing of client ScrollPosition value as a Page Method

      There is currently no server-side way to clear the values set by the Page.MaintainScrollPositionOnPostback property.

      The only way to "reset" the client scroll position is a messy javascript injection hack. Can a method be included to clear the scroll position, e.g.
      Page.ClearScrollPosition
      Page.ClearScrollPositionX
      Page.ClearScrollPositionY

      Alternative can the internal method LoadScrollPosition (
      http://referencesource.microsoft.com/#System.Web/xsp/system/Web/UI/Page.cs#4f5017a57b4c846d) be overrideable?

      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…)
        under review  ·  0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
      • Asp.Net Core with database first

        It was very easy to work with existing databases in Asp.Net MVC 5, by just adding an Ado.Net Data Entity. Now we don't have this luxury anymore! We must add the models of an existing database by writing commands in the Visual Studio package console, and not having the option to choose with what tables, views, etc from the database we want to work (to get in out projects). Give us this luxury back on visual studio.

        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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
        • Web app complying to PageSpeed Insight

          Make default web apps have a reasonable PageSpeed Insight. Currently a .Net Core Web App gives 69/100 on mobile and 84/100 on desktop, mainly complaining about JQuery and Bootstrap.

          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 →
          • use package management console to add scaffolding item

            I would be great to be able to add scaffold items by running a command in the package console like Add-Controller -model:Person -views:All -context:MyDataContext -useansyc

            Or something similar to that. I have used the MvcScaffolding nuget package and it was on the right track but appears it is going by the way side. This some functionality should be include in VS out of the box.

            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…)
              under review  ·  0 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →
            • 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…)
                under review  ·  1 comment  ·  Flag idea as inappropriate…  ·  Admin →
              • Multiline parameters code format (Ctrl+k,Ctrl+d)

                In MVC 4 project open App_Start\RouteConfig.cs file and paste the following:

                routes.MapRoute(
                name: "MyName",
                url: "MyName/{action}/{id}",
                defaults: new { action = "Index", id = UrlParameter.Optional }
                );

                You will notice the multi-lined parameter list is not formatted correctly (with 4 space indentation bias). Pressing Ctrl+K,Ctrl+D won't work either.

                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…)
                  under review  ·  0 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →
                • typos

                  Add the following highlighed markup.

                  typos : highlighed to hilighted.

                  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  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
                  • Conditional (if Statement) Operator (?) taking out the : to the Conditional (Ternary) Operator (?:) and transform it into a simple if

                    New conditional (Compact if Statement) using Operator (?)
                    by taking out the (:) to the Conditional (Ternary) Operator (?:)
                    and transform it into a simple more compact if without else.

                    Recommend using it only when the resulting statement is extremely short and represents a significant increase in conciseness over the if equivalent without sacrificing readability.

                    Code example:

                    bool debug = true;

                    debug?
                    print("Printing in console");

                    condition ? statement

                    or

                    test ? expression1 [ : expression2 ]

                    discussion: http://forum.unity3d.com/threads/a-c-code-beginner-where-can-i-make-the-suggestion-for-a-c-improvement.423996/

                    question: http://stackoverflow.com/questions/38797024/how-to-use-compact-if-operator-for-this-statement-in-unity-c-sharp/38797431#38797431

                    reference: http://stackoverflow.com/questions/3312786/benefits-of-using-the-conditional-ternary-operator

                    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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                    • Don't leave IE script debugging enabled after debugging an ASP.NET site

                      It seems that when debugging an ASP.NET site in IE, Visual Studio automatically turns on IE's script debugging setting.
                      I assume that this is needed in order for Visual Studio to hook into the JavaScript engine and allow debugging JavaScript in VS.

                      However, when I am done testing my site, I will be out browsing the web and get constantly interrupted with dialog boxes telling me about errors occurring in the pages I am visiting - pages where these error messages have no meaning to me whatsoever.
                      Getting rid of these boxes essentially requires two clicks - one to check…

                      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…)
                        under review  ·  0 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →
                      • allow overriding of the text element behavior

                        I use a Razor partial view to generate some SVG content. <text> is a valid SVG element. trying to get Razor to actually spit out that element was ridiculously hard using escapes. Also, if I reformatted the document it would break those escapes because of the line breaks.

                        Please consider for example a directive that tells the parser not to handle <text> elements or perhaps simply detecting attributes on the element and turning off the behavior. i.e. if a <text> element has attributes, they must not want it to be a Razor multi-line content block.

                        Also, I have been hearing…

                        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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                        • Provide a more helpful message for viewstate exceptions

                          If you've ever received the following message, you know it takes FOREVER to track down the source:

                          Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.

                          I would like to propose that the exception message include the UniqueID of the control that failed to restore ViewState so the problem spot in the control tree can…

                          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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                          • ability to see pop up preview of parent container name in long less nesting code like Webstorm

                            when you have a long nested rules in .less files it is pain currently to know what is the current css rule when you click on ending bracket.

                            in web storm when you put the mouse on the end bracket of any rule and its starting bracket is out of screen, webstorm will show you a pop preview of the name of that rule.

                            here is an image preview
                            http://postimg.org/image/4vrf13e01/

                            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…)
                              under review  ·  0 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →
                            • Allow the relocation of projects from a solution folder

                              If you create a project which has an associated project with it but then you want to add in another project but want the solution to now be a level up, as soon as you move the solution, the project cannot be found. You can remove the project and re-add it, when ideally you would right click on a project and tell VS where the project now exists - normally just a level down.

                              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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                              • Web Deploy - Speed up FTP deployment

                                When deploying a website using FTP it's very slow compared to other FTP applications. Web Deploy should be using more than 1 connection while uploading files. Bonus points for being able to retry uploading a previously failed file.

                                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…)
                                  1 comment  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                                • Add a RenderEditorFor helper for performance

                                  ASP.NET MVC's HTML Helper has both "RenderPartial" and "Partial" - the difference being RenderPartial will write directly to the output stream, but Partial will render to a string, which is then usually written to the output stream.

                                  ASP.NET MVC also has the handy EditorFor helper which does some templating magic for form fields, however it renders to a string - there is no "RenderEditorFor" which would also write directly to the output stream for increased performance.

                                  I could reimplement my own helper which does this, but I'd like to see an official implementation.

                                  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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                                  • It would be awesome if you had a Gallery for websites built using MVC!

                                    It would be great if you had a gallery of websites built using MVC so people could see the power of this great tool.

                                    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…)
                                      under review  ·  0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Add 'Publish Files' context menu item to files in pending changes window

                                      In the pending changes window it would be great if I could select the files, right-click and select 'publish files' from the context menu.

                                      This would open the publish dialog as normal and I could publish just the files that have changed.

                                      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…)
                                        under review  ·  0 comments  ·  Web Deployment  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Allow control of the font when entering text (e.g. Task Description, History) on Visual Studio Online

                                        When entering text (e.g. Task Description, History) on Visual Studio Online, you have no control of the font. As you copy and paste text from emails, VS or other apps, the source font is preserved. There is no obvious way to change or reset the font. It can make the result hard to read.

                                        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 →
                                        • Refactoring for local URLs in hyperlinks

                                          VS seems to be the only web site IDE that doesn't refactor HREF links to local pages, when those pages are moved or renamed. I understand this might only be possible for non-server rendered controls or static HTML pages, but why completely ignore the other scenarios? I create thousands of pages of documentation in static HTML for compiled HTML help (CHM files) and am forced to use Dreamweaver.

                                          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…)
                                            1 comment  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →
                                          • Don't see your idea?

                                          Feedback and Knowledge Base