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 vote and comment on it.

If it doesn't exist, you can post your idea so others can vote on it.

Enter your idea and we'll search to see if someone has already suggested it.

  • Hot ideas
  • Top ideas
  • New ideas
  1. 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.

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

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

      • Improve method Bundle.AddDirectory in System.Web.Optimization

        Now when bundle filled by adding a directory with help of method Bundle.AddDirectory in parameter searchPattern you can only specify one filename pattern (for example, "*.css" or "*.js"):

        var stylesBundle = new Bundle("~/css", new CssMinify());
        stylesBundle.AddDirectory("~/Content/", "*.css");
        BundleTable.Bundles.Add(stylesBundle);

        var scriptsBundle = new Bundle("~/js", new JsMinify());
        scriptsBundle.AddDirectory("~/Scripts/", "*.js");
        BundleTable.Bundles.Add(scriptsBundle);

        I suggest to add ability to specify in the searchPattern parameter multiple patterns (for example, "*.css;*.less" or "*.js;*.coffee"). Also it would be nice to add the ignorePattern parameter, in which you can specify the patterns of names of excluded files (for example, "*.all.css;jquery.ui.base.css" or "*-vsdoc.js;*.all.js;_references.js"). When working with a new version adding…

        18 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 →
        • Make everything unit testable / Unit testing Classes in Framework

          I like to unit test a lot of my code, but hate mocking HttpContextBase just do to the horror of using something like Moq. It would be great to have a part of ASP.Net that was dedicated to unit testing and had built it classes that made it super simple to create mocks without heavy setup in my tests.

          Also just make everything virtual in ASP.Net so we can override any public behavior (maybe not as possible).

          18 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 →
          • Code snippet for Linear Gradient and Intellisense friendly

            Please implement the code snippet for CSS Linear Gradient in VS11.

            For an instance:

            background: -moz-linear-gradient(top, #e2e2e2 0%, #dbdbdb 36%, #fefefe 100%); /* FF3.6+ */
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e2e2e2), color-stop(36%,#dbdbdb), color-stop(100%,#fefefe)); /* Chrome,Safari4+ */
            background: -webkit-linear-gradient(top, #e2e2e2 0%,#dbdbdb 36%,#fefefe 100%); /* Chrome10+,Safari5.1+ */
            background: -o-linear-gradient(top, #e2e2e2 0%,#dbdbdb 36%,#fefefe 100%); /* Opera 11.10+ */
            background: -ms-linear-gradient(top, #e2e2e2 0%,#dbdbdb 36%,#fefefe 100%); /* IE10+ */
            background: linear-gradient(top, #e2e2e2 0%,#dbdbdb 36%,#fefefe 100%); /* W3C */
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#fefefe',GradientType=0 ); /* IE6-9 */

            When the first highlighted parameter should be the angle then hitting <enter> should take to next parameter and…

            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…)
              1 comment  ·  Flag idea as inappropriate…  ·  Admin →
            • Asp.net Ajax Data Grid

              The Asp.net Ajax control toolkit has a lot of very good controls, but the one that seems to be sorely lacking is a Asp.net Ajax Data Grid. The one control I use the the most is the datagrid. While I realize that you can wrap the GridView in an update panel and you can purchase a third party control, I don't understand while Microsoft just doesn't come out with its own version. Preferably one that does not require custom code to page without pulling the entire dataset. I would think that most developers would welcome a Asp.net Ajax Data Grid…

              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…)
                2 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
              • 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…)
                  3 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                • Search count in Search-in-all-files

                  When we press Ctrl+F, enters the search-term and press Find All, it shows the search results but the count is displayed at the end of the results. For an instance:

                  "Matching lines: 13 Matching files: 7 Total files searched: 69"

                  From user experience point of view, its very inconvenient to scroll down through all the results to get to the last list. IMO, it should be displayed at the top of the result window.

                  Snapshot: http://i47.tinypic.com/346kyex.png

                  Also, it would be great, if in the mini-find and Find-and-Replace popups, the count like "3 of 19 records" (the same approach IE team…

                  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…)
                    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                  • Display format for Find-all-search results

                    Rather than showing the entire path of each file, the resultset can be displayed as a tree view. Considering the following results:


                    Find all "view", Match case, Subfolders, Find Results 1, Current Project: CBES - Crowd Monitor\CBES - Crowd Monitor.csproj, ""

                    C:\Users\ABM-7\Documents\Visual Studio 2010\Projects\CBES - Crowd Monitor\CBES - Crowd Monitor\Content\themes\base\jquery.ui.theme.css(15): * To view and modify this theme, visit http://jqueryui.com/themeroller/

                    C:\Users\ABM-7\Documents\Visual Studio 2010\Projects\CBES - Crowd Monitor\CBES - Crowd Monitor\Scripts\jquery-1.5.1-vsdoc.js(2732): props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey…

                    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…)
                      1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                    • 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…)
                        1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                      • Add Conditional Data Annotations to MVC

                        Data Annotations are amazing in MVC models and really help with jquery unobtrusive. It would be great it they enhanced them so you had more than just Required or Regular Expressions. RequiredIf would help have conditional requirements for complex forms.

                        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 →
                        • 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 →
                          • VS 11 Page Inspector: Add multiple user agents.

                            While page inspector is great, it currently only supports the desktop view in MVC4. It would be great to be able to inspect the mobile rendering as well.

                            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…)
                              2 comments  ·  Flag idea as inappropriate…  ·  Admin →
                            • Integrated T4MVC

                              I can't imagine writing an ASP.NET MVC app without using the T4MVC (http://t4mvc.codeplex.com/). It would be nice to have this feature built-in the VS.NET or in the MVC framework itself.

                              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 →
                              • Allow ASP.NET forms slidingExpiration to be configured to always renew

                                The behaviour of slidingExpiration prevents sliding expiration from being used to provide a precise time out. By default

                                "To prevent compromised performance, and to avoid multiple browser warnings for users who have cookie warnings turned on, the cookie is updated when more than half of the specified time has elapsed. This might cause a loss of precision. " - http://msdn.microsoft.com/en-us/library/1d3t3c61.aspx

                                It'd be great to be able to configure things so the cookie renews every time. Because this functionality isn't available, numerous people have built their own version of the renew the cookie every time sliding expiration behaviour.

                                Thanks

                                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…)
                                  1 comment  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                                • Provide multimedia code annotation

                                  Rather than use code comments (where a change requires a rebuild), I'd like an external and universally available annotation framework within the IDE. I can then leave design drawings, (or verbal commentaries, or sketches, or whiteboard images or bug triage discussions or past bug history relating to a piece of code or the surrounding area) on the code they apply to.

                                  Make literally EVERYTHING available within the IDE. Let me tie my code to the feature requests it fulfills and the bugs it's produced. Let me conduct polls within the code. Let me get code review feedback in the code…

                                  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  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Add something like webrat or capybara in ruby to allow for testing web apps without the browser

                                    I'd like to see functionality similar to webrat or capybara in Rails that allows you to write end to end tests (aside from javascript of course) for a web app without actually running a browser

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

                                      12 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 →
                                      • Support web.config transforms for development scenarios

                                        Today web.config transforms are only applied during publish time. If you have web.release.config defined it will only transform web.config when your Web project is packaged/published.
                                        It would be good to have a built in mechanism to transform web.config (and possibly other files) during development. For instance if you are building in Release mode and you start a debugging session you should be able to transform web.config in a similar (or exact) fashion as web.release.config is used during publish/package.

                                        12 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 →
                                        • Allow sharing user controls (ascx) in ASP .NET projects as a separate ***embly

                                          Many times it is required to create controls with the same functionality with two or more web projects. ASCX files are good because design is made in HTML, doing the same ***erver control is much more complicated. It would be good to have possibility to move common controls to separate ***embly (or web project) and use them in several projects

                                          12 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  ·  Flag idea as inappropriate…  ·  Admin →
                                          • Don't see your idea?

                                          General ASP.NET

                                          Feedback and Knowledge Base