General ASP.NET

Announcement: This forum has been replaced by Visual Studio Developer Community to provide you one convenient and responsive system for all feedback. You can now suggest new ideas, browse and vote on existing ideas in the Visual Studio Developer Community.

We’d like your suggestions and ideas to help us continuously improve future releases of ASP.NET, so we’ve partnered with UserVoice, a third-party service, to collect your feedback. Please do not send any novel or patentable ideas, copyrighted materials, samples or demos for which you do not want to grant a license to Microsoft.

This site is for feature suggestions; if you need to file a bug, you can visit our Developer Community website to get started.

Note: your use of the portal and your submission is subject to the UserVoice Terms of Service & Privacy Policy and license terms.

We look forward to hearing from you!
- The ASP.NET Team

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.

    276 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      under review  ·  5 comments  ·  Tooling  ·  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

      142 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        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.

        100 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          0 comments  ·  Tooling  ·  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
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            under review  ·  2 comments  ·  Tooling  ·  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
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              under review  ·  0 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →
            • use package management console to add scaffolding item

              I would be great to be able to add scaffold items by running a command in the package console like Add-Controller -model:Person -views:All -context:MyDataContext -useansyc

              Or something similar to that. I have used the MvcScaffolding nuget package and it was on the right track but appears it is going by the way side. This some functionality should be include in VS out of the box.

              8 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                under review  ·  0 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →
              • Add a contextual menu option to navigate to the related *.ascx file

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

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

                7 votes
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  under review  ·  0 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →
                • There should be option like "Minified CSS/JS" in the Visual Studio.

                  User Can Minified the CSS/JS when he wants By Right click the file then select the option.

                  6 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    under review  ·  2 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →
                  • Multiline parameters code format (Ctrl+k,Ctrl+d)

                    In MVC 4 project open App_Start\RouteConfig.cs file and paste the following:

                    routes.MapRoute(
                    name: "MyName",
                    url: "MyName/{action}/{id}",
                    defaults: new { action = "Index", id = UrlParameter.Optional }
                    );

                    You will notice the multi-lined parameter list is not formatted correctly (with 4 space indentation bias). Pressing Ctrl+K,Ctrl+D won't work either.

                    3 votes
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      under review  ·  0 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →
                    • Don't leave IE script debugging enabled after debugging an ASP.NET site

                      It seems that when debugging an ASP.NET site in IE, Visual Studio automatically turns on IE's script debugging setting.
                      I assume that this is needed in order for Visual Studio to hook into the JavaScript engine and allow debugging JavaScript in VS.

                      However, when I am done testing my site, I will be out browsing the web and get constantly interrupted with dialog boxes telling me about errors occurring in the pages I am visiting - pages where these error messages have no meaning to me whatsoever.
                      Getting rid of these boxes essentially requires two clicks - one to check…

                      3 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        under review  ·  0 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →
                      • ability to see pop up preview of parent container name in long less nesting code like Webstorm

                        when you have a long nested rules in .less files it is pain currently to know what is the current css rule when you click on ending bracket.

                        in web storm when you put the mouse on the end bracket of any rule and its starting bracket is out of screen, webstorm will show you a pop preview of the name of that rule.

                        here is an image preview
                        http://postimg.org/image/4vrf13e01/

                        3 votes
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          under review  ·  0 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →

                        General ASP.NET

                        Feedback and Knowledge Base