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. File System publish extensibility

    Current the publish process from VS for FileSystem is different from the command line.

    Because of this if you have customized your .pubxml for a File System publish to execute steps after publish they will not be executed.

    We should have parity from command line and VS for FileSystem publish.

    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  ·  Web Deployment  ·  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

      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…)
        1 comment  ·  JavaScript  ·  Flag idea as inappropriate…  ·  Admin →
      • Bundles should be able to return binary output (for image sprites etc.)

        It would be really cool if the BundleResponse class was able to return binary content instead of just text content. This way it would be possible to create image bundles (sprites).

        9 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  ·  Bundles  ·  Flag idea as inappropriate…  ·  Admin →
        • ASP.net Textbox onKeyPress / onKeyDown / onKeyUp del key not working

          ASP.net Texbox event not fired onKeyDown / onKeyUp. Delete key (keyboard code 46) not working.

          Having set the onKeyDown attribute to the textbox, pressing the del key does not delete text from the textbox. Have tried the same using onKeyUp.

          Backspace works, but not the Delete button keycode 46.

          Please fix in future versions of ASP.NET

          9 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 →
          • 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
              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 →
            • 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
                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 →
              • Close this forum.

                Thanks ASP.NET forums team. If your forum can't help the user, then you should close the forum. This is a genuine question but you can't und

                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…)
                  0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                • Productivity - Move Type To Its Own File

                  When VS detects that a type exists in a file that is named for another type in the same file, present a glyph (ctrl+.) that can be used to move the type to a new file named for that type.

                  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…)
                    0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                  • Step-by-step tutorial: MVC 5 C# + EF (database first) with Dependency Injection

                    I have followed the MVC 5 and EF 6 tutorials on MVA, but we need a continuation -- whether it's written or by video. When you auto-scaffold a controller from a model, it "just works" but it's also tightly-coupled. The existing "help" on the topic is fragmented, contradictory, and confusing with a whole lot of "you coulds" that stop just short of being useable for learning. A complete step-by-step from creating the MVC project to "your controller is now loosely-coupled and testable" would be an invaluable learning tool. Before you say, "But there are lots of resources out there," ask…

                    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…)
                      0 comments  ·  Web Deployment  ·  Flag idea as inappropriate…  ·  Admin →
                    • Provide a secure ajax framework

                      Currently there is no universal way to provide json / ajax application with authentication without using session or ssl , This means using web api is difficult

                      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…)
                        0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                        planned  ·  Daniel Roth responded

                        We are working to improve the security story for ASP.NET Web API in a future release.

                      • make the generate resources wizard generate resources for usercontrols that have properties marked with localizable

                        Currently it is impossible to get the wizard to generate resources (or the meta:resource attribute) for usercontrols. If you manually placed in the resource location, and manually placing a meta:resource attribute on the usercontrol, it works just fine. The wizard should treat usercontrols the same as the built-in asp.net controls in this regard.

                        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…)
                          0 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →
                        • Separate thing between Visual Studio Asp.Net developers and VS Code Developers

                          Separate things between Visual Studio and VS Code Asp.Net Core Developers. Don't mix things up in the same documentation how to do things in VS 2015 and VS Code. We VS developers don't want to care how the other developers do stuff, we want to stay in our VS without opening any other tool or anything.

                          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…)
                            0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
                          • Add some check to publish action...

                            (In the publishing wizard) check that the destination folder are not a parent folder of current solution or current project, because if the user check the flag 'delete all existing files prior to publish' all files are deleted (hence also those of solution/project).

                            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…)
                              0 comments  ·  Web Deployment  ·  Flag idea as inappropriate…  ·  Admin →
                            • Rename current component naming convention

                              I suggest to rename [SELECTED_NAME]ViewComponent naming convention to basically [SELECTED_NAME]Component to follow the same naming convention in MVC controller in ASP.NET Core. The current naming add confusing with ViewModel structure and it looks we are defining a data structure rather than a controller or component. Thanks,

                              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…)
                                1 comment  ·  General ASP.NET  ·  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
                                  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 →
                                • Take a look at MultiView exception when you enable Page inspector in VS2011

                                  The error is:

                                  MultiView cannot have children of type 'TracedLiteralControl'. It can only have children of type View.

                                  Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

                                  Exception Details: System.Web.HttpException: MultiView cannot have children of type 'TracedLiteralControl'. It can only have children of type View.

                                  Source Error:

                                  Line 7: </hgroup>
                                  Line 8:
                                  Line 9: <asp:MultiView ActiveViewIndex="0" runat="server">
                                  Line 10: <asp:View runat="server"><p>Drekavac</p></asp:View>
                                  Line 11: </asp:MultiView>

                                  Source File: C:\Users\srdjo\Documents\Visual Studio 11\WebSites\MCPortal2\About.aspx Line: 9

                                  Stack Trace:

                                  [HttpException (0x80004005): MultiView cannot have…

                                  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…)
                                    2 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →
                                  • 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 →
                                    • Able to store session data both in inproc and out of process, similar to mixed mode session support.

                                      It will be great if we can store session data both in inproc and out of process by an application similar to mixed mode session support. So that only crutial session data will be persisted out of process and some non crutial or temp ( depending on situation ) can be stored in InProc.

                                      This support will be utilized by non web farm or web garden architecture.

                                      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  ·  Flag idea as inappropriate…  ·  Admin →
                                      • WebDeploy: Make use of zlib and use compression!!

                                        One by one file copying is a dealbreaker. Please opt for zlib to compress the whole package, push the tarball, untar it on target and post the result back at once. We don't need one by one file transfer status.

                                        At least provide an option for it, if people are dumb enough to realize what they don't need! It takes us MINUTES to publish the dam thing on our staging from other country.

                                        zlib (http://zlib.net/) is used by the whole non-Microsoft world. Node and many other platforms and open software make use of it. It compiles fine on…

                                        5 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 →
                                          under review  ·  Daria Grigoriu responded

                                          Thank you for pointing this out, we will review. WebDeploy development is currently very limited so we may not be able to address right away.

                                        • Extend Web Deploy to support MSI functions such as custom actions

                                          With the removal of the Web Setup/Windows Setup projects from Visual Studio there is a gap in the application deployment process where web/windows solutions that need to perform additional installation tasks are difficult to implement.

                                          The old technique was to write a web setup project (MSI) and then implement a custom action assembly that performed the additional work during installation time (such as custom event queues, installing windows services, modifying config files etc). Web deploy does not appear to have this functionality (it is not visible if it is there) which is important in an enterprise environment.

                                          Also, the provided…

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

                                          Feedback and Knowledge Base