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. Better error handling

    When trying to handle errors in ASP.NET, you have to jump through a series of unintuitive and often poorly documented hoops to catch an exception and handle it in a sensible way. The non-senisble and default way to handle exceptions would be to redirect to a static HTML file that responds with an HTTP 200 Status Code, which is so wrong it's crazy that it's even available as an option, nonetheless set as the default.

    It's also extremely confusing that IIS and ASP.NET each tries to handle errors on their own way, with their own corresponding, diverging and confusing configuration…

    139 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  ·  7 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
    • Add the ability to transform Web.Config without rebuilding

      Allow Web.Config transforms to be applied to a deployment package without a rebuild under a different configuration.
      QA packages can then be converted to production release packages without fear of introducing any subsequent changes.
      Add ins exist but would prefer to have built in support

      127 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…)
        5 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →

        Thanks for the suggestion. If I understand you correctly you want to be able to create a single Web Deploy package and then use that to publish to multiple destinations, including executing the web.config transform?

        We are certainly looking at this scenario. I have created a prototype of what this support might look like. I’d love to get your thoughts on it. I’ve created a 5 minute video. You can take a look at http://sedodream.com/2012/03/14/PackageWebUpdatedAndVideoBelow.aspx.

      • Make WebDeploy transactional

        When deploying a site, the previous version should continue to run. If the deployment fails, the site should continue to run on the previous version. If it succeeds, the switch should happen after publication is complete.

        572 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  ·  8 comments  ·  Web Deployment  ·  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…

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

            213 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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
            • Minify scripts served by the ScriptManager

              Bundling is a cool idea, but it doesn't always play nicely with the ScriptManager when used in a webforms scenario. I would like to propose the ability to set a flag on the ScriptManager that would allow it to minify the combined scripts its serving.

              8 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  ·  JavaScript  ·  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 →
                • 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…

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

                    447 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…)
                      5 comments  ·  General ASP.NET  ·  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.

                      292 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  ·  4 comments  ·  Compiler  ·  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.

                        34 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  ·  Flag idea as inappropriate…  ·  Admin →
                        • Show me the parts of my .config files that I can delete

                          As projects grow and transition from greenfield to brownfield projects .config files are getting more and more obsolete and dead stuff in them.

                          Do help me and show me what I delete of this.

                          261 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  ·  5 comments  ·  Tooling  ·  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>

                            42 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  ·  Web Deployment  ·  Flag idea as inappropriate…  ·  Admin →
                            • Make enrypting the connection strings easier to do during deployment

                              right now you have to run aspnet_regiis to encrypt the connection strings in a web.config. It would be nice to this could be built in as a part of the deploy process.

                              87 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 →
                              • Support Script# and give us an answer to the Google Web Toolkit.

                                I would love to use Script# similar to how Google Web Toolkit works. Your Javascript story is still pretty weak in terms of allowing us to easily make complicated AJAX applications.

                                252 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  ·  5 comments  ·  JavaScript  ·  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
                                    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 a contextual menu option to navigate to the related *.ascx file

                                    If you're using *.ascx controls that you've created in your pages, it would be nice to be have a one click way to navigate to its definition instead of noting its name and looking for it in your solution explorer (especially for large projects).

                                    There are other enhancements that would be nice such as automatically adding the @Register tag if the control is located in the current project.

                                    7 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 →
                                    • Dynamically add new bundles after Application_Start has occurred

                                      It would be great to have a way to automatically flush the bundle cache and create new bundles when a new folder is created underneath the bundle path as described at http://stackoverflow.com/questions/15328040/how-can-i-dynamically-add-bundles-after-application-start-has-occurred.

                                      23 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 →
                                      • 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 →
                                        • A better Web Deploy authoring experience

                                          Make the Web Deploy authoring and packaging experience more powerful. Add editing support into VS to add custom deployment steps and control all the providers that WD supports.
                                          There is a lot of power in Web Deploy that most developers don't use since they rely in the default build steps and don't want to go through the hassle of authoring the Web Deploy packages manually.

                                          Ideally I want to right-click my project, choose "Add custom Web Deploy step" and do things like setup IIS bindings, create a registry key, register a certificate, set file permissions etc.

                                          Then when I build…

                                          52 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  ·  Web Deployment  ·  Flag idea as inappropriate…  ·  Admin →

                                            Thanks for the idea. I agree that this would be pretty cool.

                                            I’m not sure if you are aware but in VS2012 when you create a publish profile we save the file as .pubxml under Properties\PublishProfiles.

                                            I was thinking that we could have a .pubxml editor/designer. So the idea would be that if you wanted to fine tune your publish/package process you could edit the .pubxml file in that way.

                                            My only hesitation is that I’m not sure how many people would be interested in this. If we get a good amount of votes on this item we can do a deeper investigation on this.

                                          ← Previous 1 3
                                          • Don't see your idea?

                                          Feedback and Knowledge Base