General ASP.NET

Announcement: This forum has been replaced by Visual Studio Developer Community to provide you one convenient and responsive system for all feedback. You can now suggest new ideas, browse and vote on existing ideas in the Visual Studio Developer Community.

We’d like your suggestions and ideas to help us continuously improve future releases of ASP.NET, so we’ve partnered with UserVoice, a third-party service, to collect your feedback. Please do not send any novel or patentable ideas, copyrighted materials, samples or demos for which you do not want to grant a license to Microsoft.

This site is for feature suggestions; if you need to file a bug, you can visit our Developer Community website to get started.

Note: your use of the portal and your submission is subject to the UserVoice Terms of Service & Privacy Policy and license terms.

We look forward to hearing from you!
- The ASP.NET 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 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. 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
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      0 comments  ·  Flag idea as inappropriate…  ·  Admin →
    • 3 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        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
          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
            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
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
            • Include coverage of Unit Testing support, both MSTest and xUnit testing.

              Testing should be a major bullet point for your sample projects

              3 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                0 comments  ·  Flag idea as inappropriate…  ·  Admin →
              • Make WebDeploy faster for back to back publishes

                Webdeploy should not copy all the files to obj folder on every publish until there has been a change in the project any where. For example I have to publish on subdomain back to back it takes hours to complete most of the time is spent on copying files to obj folder which is unnecessary. Thank

                3 votes
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  0 comments  ·  Web Deployment  ·  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
                    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
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                    • Add Aurelia support to Visual Studio templates

                      Visual Studio has support for Angular and React when doing File->New, why not add Aurelia in there too?

                      3 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        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
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                        • asp.net core idea

                          I think asp.net core Razor page is unsless,
                          It's a lot of trouble for a lot of people to cooperate, it like webform ,simple is better

                          3 votes
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            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
                              Signed in as (Sign out)
                              You have left! (?) (thinking…)
                              0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                            • Region Support for ASPX File

                              I hope in aspx file can use region like this

                              <%--#region test--%>
                              <div>
                              <table></table>
                              </div>
                              <%--#endregion--%>

                              and can collapse the region the same as region in cs file.

                              Related post:
                              https://stackoverflow.com/questions/515833/how-to-create-regions-in-an-aspx-file

                              3 votes
                              Vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                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
                                  Signed in as (Sign out)
                                  You have left! (?) (thinking…)
                                  under review  ·  0 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →
                                • incomplete/unanswered threads marked resolved

                                  this is for the asp.net website.
                                  i too often see threads with incorrect/incomplete answers marked as resolved and cannot have the correct answer posted because thread is locked. asp.net website cannot be taken as a serious resource for answers, that is a shame. as its domain name and direct affiliation with microsoft should mean its an authority for the best answers.

                                  3 votes
                                  Vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    Signed in as (Sign out)
                                    You have left! (?) (thinking…)
                                    0 comments  ·  General ASP.NET  ·  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
                                      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
                                        Signed in as (Sign out)
                                        You have left! (?) (thinking…)
                                        0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                                      • OptionGroup support in DropDownList

                                        OptionGroup support in DropDownList

                                        3 votes
                                        Vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          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
                                            Signed in as (Sign out)
                                            You have left! (?) (thinking…)
                                            0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →

                                          General ASP.NET

                                          Feedback and Knowledge Base