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.

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

      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…)
        under review  ·  1 comment  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
      • Addd official support to asp.net mvc for ruby/dlr languages

        I know it is possible using IronRuby, but I would like to see it as an officially supported option

        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…)
          1 comment  ·  Flag idea as inappropriate…  ·  Admin →
        • Show website details in "Title" column for iisexpress.exe process when attaching the debugger in Visual Studio

          If you want to attach the debugger from Visual Studio to a web application running under IIS express, there is no way to distinguish between different iisexpress.exe processes. Currently if I have 10 iisexpress processes in the list I have to look at the PID number in the systemtray GUI for IIS Express and then find in "Available processes" list. The ASP.NET development server display "ASP.NET Development Server - Port xyz" in the title column of the available processes list. For IIS Express the website directory or url could be displayed in that same column.

          22 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  ·  Visual Studio Performance Feedback  ·  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.

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

                19 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 →
                • Enable design view for ASP.NET MVC

                  Writing a HTML page with actual content on it (such as a rule sheet for a game) feels cumbersome and slow with having to enter tags manually.
                  I fully understand the separation between Views and Controllers; but still, these pages are basically HTML and a WYSIWYG designer can make work with these a lot more productive.

                  17 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 →
                  • New templating system using Razor to replace T4

                    This would be a new, modern project tempting supporting Razor. It would be designed to replace both T4 tempting and MVC scaffolding, and completely abstract and overcome the limitations of wiring with the COM system currently in place. This is desperately needed for MVC to move to the next level.

                    17 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 →
                    • 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 →
                        • oAuth default sample project gives 500 internal server error - please fix

                          The New MVC project with Individual Account Authorisation and a blank default Callback for the 4 oAuth provideres in Startup.Auth.cs currently gives a 500 Internal Server Error from Owin.
                          If a default CallBack URL is defind AND registered with the oAuth provider then it works.
                          The sample code needs to not just have ClientId and ClientSecret but
                          CallbackPath = new Microsoft.Owin.PathString("/Callbacks/External"), //To be registered at Provider - and to NOT be the same as the MVC path Account/ExternalLoginCallback

                          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 →
                          • Don't stop IIS-Express when stopping debugger with enabled Edit&Continue

                            Currently if Edit & Continue is enabled (in VS 2013 Update 3 on x64) stopping the debugger always stops IIS-Express. See MS-Blog http://blogs.msdn.com/b/webdev/archive/2013/07/11/enable-edit-and-continue-debugging-option-is-now-on-by-default-for-new-web-applications-in-vs2013-preview.aspx

                            This is very un-handy. Please don't stop IIS-Express all the time.

                            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  ·  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…)
                                under review  ·  2 comments  ·  Flag idea as inappropriate…  ·  Admin →
                              • Add Ctrl+W keyboard shortcut to close document (like IE, Office, Expression and many others)

                                This is the first customisation I do when I install a VS. I know it's already taken by 'select word' or something equally obscure, but consistency across apps is really really useful. For me it's one of the basics, like ctrl+Z/X/C/V/S/P etc.

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

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

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

                                          Feedback and Knowledge Base