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. msajaxbundle and webformsbundle.js

    Please make msajaxbundle.js and WebFormsBundle.js for asp.net version 4.6 available on the asp.net ajax cdn.

    Just like these: https://ajax.aspnetcdn.com/ajax/4.5/6/MsAjaxBundle.js, https://ajax.aspnetcdn.com/ajax/4.5/6/WebFormsBundle.js

    10 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      1 comment  ·  JavaScript  ·  Flag idea as inappropriate…  ·  Admin →
    • 1 vote
      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 →
      • EnableMSDeployAppOffline - AppOfflineTemplate

        For WebDeploy you can specify <EnableMSDeployAppOffline> in the .pubxml file but this will generate a default app_offline.htm file that you cannot modify. Just provide an option for a template like <AppOfflineTemplate>

        78 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          5 comments  ·  Web Deployment  ·  Flag idea as inappropriate…  ·  Admin →

          Thanks for the suggestion, I’m looking into this. The thought that I have is to do this convention based. So if you have a file named app_offline-template.htm then we use that file for app_offline.htm. Please let me know if that design doesn’t work for you.

        • Enable ASP.Net scaffolding to generate CRUD data based on another class rather than only EF DbContext

          Today ASP.Net project scaffolding only allow you to select a entity model class + Entity Framework DbContext-based class in order to generate the operations on view and controller.

          We have a class that we call "Business Layer" that holds the instance of the DbContext EF code-first class. This layer contains all necessary business logic for that specific business domain, including CRUD and validations. We would like to be able to generate scaffold based on this class instead of rather have to point directly to DbContext.

          Maybe if ASP.Net MVC has an Interface which basic CRUD operations, it would be able…

          16 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 →
          • ASP.NET Identity membership DB Tool to mangage users, roles needed

            A simple user interface tool is needed to create and manage Users and Roles with ASP.NET Identity. Please port the ASP.NET Web Site Administration Tool ( http://www.asp.net/web-forms/tutorials/deployment/deploying-web-site-projects/users-and-roles-on-the-production-website-cs ) to work with the new ASP.NET Identity membership DB

            542 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              7 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
              under review  ·  Pranav Rastogi responded

              We are looking into how can we provide this functionality. we want to provide it in such a way so that it is easy to customize and use it in your app.

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

              6 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  ·  Web Deployment  ·  Flag idea as inappropriate…  ·  Admin →
              • WebDeploy: Make use of zlib and use compression!!

                One by one file copying is a dealbreaker. Please opt for zlib to compress the whole package, push the tarball, untar it on target and post the result back at once. We don't need one by one file transfer status.

                At least provide an option for it, if people are dumb enough to realize what they don't need! It takes us MINUTES to publish the dam thing on our staging from other country.

                zlib (http://zlib.net/) is used by the whole non-Microsoft world. Node and many other platforms and open software make use of it. It compiles fine on…

                5 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 →
                  under review  ·  Daria Grigoriu responded

                  Thank you for pointing this out, we will review. WebDeploy development is currently very limited so we may not be able to address right away.

                • 4 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  ·  Compiler  ·  Flag idea as inappropriate…  ·  Admin →
                  • Redesign ASP.NET providers to be asynchronous

                    All providers (except InProc) work with external data sources (SQL Server, Redis, etc.). For example, when processing single HTTP request a session state store provider can make several requests to an external data source. Each request to an external data source from session state store provider blocks an ASP.NET thread, becuase System.Web.SessionStateStoreProviderBase has no async methods.
                    The same is true for other providers (Output Cache Provider, Membership Provider, Profile Provider, Roles Provider). There is not much advantage in asynchronous code inside web forms or MVC controllers, if the whole ASP.NET pipeline is not asynchronous.
                    Since ASP.NET supports asynchronous httpmodules, it…

                    30 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  ·  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 →
                      • ASP.NET Identity: Add ability to have different token lifespan for different purposes

                        We're generating tokens for password resets and user invites/registration using the GeneratePasswordResetTokenAsync() and GenerateUserTokenAsync() methods exposed by the UserManager class, respectively. We'd like to be able to have a different lifespan for each of those token types (e.g. 20 minutes for password resets and 1 week for user invites/registration). However, the DataProtectorTokenProvider class only has a single TokenLifespan that is used for all purposes.

                        49 votes
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          3 comments  ·  Flag idea as inappropriate…  ·  Admin →
                        • WebApplicationLibrary

                          Now you can not create a reference to another project (webApplication or ClassLibrary) that has non compiled files (aspx, ascx, cshtml, js, css, config, etc.), which are usually published on the server as is.

                          More precisely, you can create a reference, but when you start the application, these files will not be found, because located in a different directory.

                          For example, if the project A and project B (WebApplication) contains same cshtml-files, they could be placed in a separate project (WebApplicationLibrary?).

                          Usually it is necessary to separate one large project into several smaller projects (modules).
                          Something similar is used in…

                          14 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 →
                          • Remove SignalR's dependency on jQuery

                            jQuery is great and all, but with a growing acceptance of two way binding from KnockoutJs, AngularJs, etc, sometimes it is just an overhead to add jQuery in order to use SignalR. Moreover, this brings a lot of problems when using ExtJs or other pure javascript UI libraries.

                            249 votes
                            Vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              Signed in as (Sign out)
                              You have left! (?) (thinking…)
                              4 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                            • [Bug] Rewrite all controls which depend on javascript "Date" class (like RangeValidator)

                              I've tried to submit a bug, but got a "You are not authorized to submit the feedback for this connection.". Great! I'm not allowed to submit a bug?.. so here it goes a "suggeston" - RangeValidator automatically creates a javascript function called "function ValidatorConvert(op, dataType, val)", which uses the Date class. At the end of this functions, it checks whether de generated date equals the input date, and when it does not, it returns null. But the behavior of the Date class is not the same across browsers (e.g. its different in ie9 and ie11) when dealing with Daylight saving…

                              1 vote
                              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  ·  General ASP.NET  ·  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.

                                8 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 →
                                • Speed up the aspnet_compiler.

                                  The aspnet_compiler is slow to precompile web pages. We have a high end build server and the aspnet_compiler.exe runs and hardly uses in CPU or RAM.

                                  Is there anything that can be done to speed up precompilation as it accounts for 50% of our total build time.

                                  407 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  ·  5 comments  ·  Compiler  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Enable scheduled tasks

                                    It would be great to have a way to do scheduled tasks/jobs. If I want some job to run regularly I know I can always create a separate console that can be called by Windows Task Scheduler. However it would be much neater in term of deployment for this feature to be available within the asp.net project, without having to change the system configuration. The asp.net project would be self-contained and when deployed, IIS would run the background task based on some settings defined in web.config.

                                    Azure added WebJobs, which is effectively doing that. So this doesn't look like an…

                                    13 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 →
                                      under review  ·  Rick Anderson responded

                                      Take a look at HostingEnvironment.QueueBackgroundWorkItem which lets you do background tasks. It’s a start.

                                    • 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
                                        Signed in as (Sign out)
                                        You have left! (?) (thinking…)
                                        under review  ·  0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Fix the __o is not declared bug

                                        Still exists in VS2013 (even the workaround indicated on the link below doesn't always work)

                                        http://stackoverflow.com/questions/750902/how-do-i-get-rid-of-o-is-not-declared

                                        2 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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                                        • There should be option like "Minified CSS/JS" in the Visual Studio.

                                          User Can Minified the CSS/JS when he wants By Right click the file then select the option.

                                          6 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  ·  2 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3

                                          General ASP.NET

                                          Feedback and Knowledge Base