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. 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 →
            • When updating project.json by the NuGet package manager the order should be preserved

              When updating packages in project.json by using the NuGet package manager in Visual Studio the order of the dependencies in project.json are changed.

              It would be helpful if the order could be preserved.
              Both when reviewing what has changed and to reduce the risk of merge conflicts when merging project.json files.

              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  ·  Tooling  ·  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 →
                  • BRING BACK THE PROJECT.JSON FILE!

                    Please find a way to migrate with MS Build with the project.json file. I LOVED the auto-complete, the simplicity, not needing to specify files, and how you could install packages via AUTO-COMPLETE. Amazing steps forward and a massive step back with .Net core 1.1. Make development fun again!

                    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  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →
                    • New ASP.NET Core Web App - Breaks when Update Nuget Packages

                      When I create a brand new project and go to "manage nuget packages" I see that I have 15-16 updates. I've not touched a single line of code at all whatsoever. If I update all of those nuget packages... I can no longer work with the project as it breaks and if I had written any code, all broken. I get the errors, "Cannot find runtim target for framework '.NETCoreApp, Version=v1.0' compatible with one of the target runtimes: etc." & 1. The project has not been restored or restore failed - run 'dotnet restore' & 2. The project does not…

                      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 →
                      • Get current identity in aspnet core app when azure app service authentication is enabled

                        When using azure app service authentication with an aspnet core application, the current principal is not set like it is in .net 4.6.

                        Please enable this, thx.

                        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 →
                        • Add Brotli Compression

                          Please port the open source project to .NET and add compression middleware for ASP.NET Core: https://github.com/google/brotli.

                          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 →
                                • C# to JavaScript with AJAX, Client/Server Pure C# coding support

                                  Prerequisite for this idea is first have C# to JavaScript conversion (I think this is already out like bridge.net). The goal is keep all code base in C# and be able to put both client and server side functionality in single class (viewmodel).

                                  In ViewModel Class definition, use compiler directive to denote if the whole class or part of it is available in client side as well. e.g. [Available: Client|Server, Compatiblity: JavaScript]

                                  Now, this class will work on server side just like it works now in MVC project to handle any server side activity and bindings to Razor/CSHTML code.

                                  Plus,…

                                  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 →
                                      • ASP.net Textbox onKeyPress / onKeyDown / onKeyUp del key not working

                                        ASP.net Texbox event not fired onKeyDown / onKeyUp. Delete key (keyboard code 46) not working.

                                        Having set the onKeyDown attribute to the textbox, pressing the del key does not delete text from the textbox. Have tried the same using onKeyUp.

                                        Backspace works, but not the Delete button keycode 46.

                                        Please fix in future versions of ASP.NET

                                        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 →
                                          • Don't see your idea?

                                          Feedback and Knowledge Base