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

    587 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  ·  9 comments  ·  Web Deployment  ·  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

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

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

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

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

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

              238 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 →
              • 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…

                140 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

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

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

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

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

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

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

                        • 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 →
                          • 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
                              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 →
                            • Add ability to encrypt connections strings (and other web.config sections) upon deployment of a web application to a web server (using publi

                              I hate the fact that after publishing an asp.net web app, I need to remote into the server and encrypt connection strings and perhaps other sections of my web.config. It would be great if I could automatically kick off a post-deployment script which would do this for me.

                              30 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  ·  2 comments  ·  Tooling  ·  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.

                                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  ·  2 comments  ·  General ASP.NET  ·  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 →
                                  • 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
                                      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 →
                                    • 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
                                        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 →
                                      • Enabling button for directly opening the search engine[Google/Bing] against each error encountered while debugging.

                                        Whenever we are getting some error[the error types can be classified ] while debugging,VS should provision with a single button named as "Google it" or "Bing it" against the error..so that user can directly click the button and see the results against that error in search engine instead of going to the search engine and type/paste the error and press enter.It will save developer time and improve productivity.

                                        14 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 →
                                        • Make it easier to configure Web Publish Profiles

                                          I'd like to see a GUI for some MSBuild/Web Publish Target settings like: folder permissions (ACLs), blocking a folder from being overridden (e.g. upload folder containing user files), easy site backup before publish (to a zip file probably), etc.

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

                                            Hi Dirk, I think this is a great idea. If you don’t already know the publish profiles are now stored as a part of your project under Properties\PublishProfiles. For this I was thinking that it would be good to have an editor for all the advanced properties if you double click the file.

                                            The only thing that I’m not sure of is how many people would be interested in using this functionality. If we can get a good amount of votes on this item then I can use that to justify the work.

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

                                          Feedback and Knowledge Base