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

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

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

        234 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 →
        • 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

          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…)
            1 comment  ·  JavaScript  ·  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.

            90 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 →
            • 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>

              59 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 →

                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.

              • 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

                480 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…)
                  6 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                  under review  ·  Pranav RastogiPranav 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.

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

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

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

                      582 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…

                        27 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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                        • RadioButtonList without span html Element

                          ASP.NET Webform HTML 5 rendering quality. The asp:radiobuttonlist should render without a span element
                          eg
                          <asp:RadioButtonList BorderStyle="empty" ID="RadioButtonList3" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">

                          purpose is clean usage with asp.net jquery mobile

                          2 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  ·  JavaScript  ·  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.

                            11 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 →
                            • Nice way to define properties with StateContainer Attribute

                              StateContainer(ViewState)]

                              string FirstName
                              {
                              get;
                              set;
                              }

                              [StateContainer(Session)]
                              List<string> myList
                              {
                              get;set;
                              }

                              [StateContainer(Cache)]
                              List<string> myList2
                              {
                              get;set;
                              }

                              Just a random thought: I think it would be nice, with the help of an attribute, to be able to define where a given property would be stored.

                              I guess it also be applied at the class level, if you want all of your properties to inherti the same StateContainer Attribute.

                              A change probably best fit for an upcoming Framework release.

                              Just a thought.

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

                                • 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
                                    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 →
                                  • 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…)
                                      6 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.

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

                                          Feedback and Knowledge Base