ASP.NET MVC

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. Please create an easier deployment method because the one in mvc 4 is messy

    Create a deployment as msi like asp.net or as an archive something like Java .jar . It's hard to keep track of the dll's that is needed for the project. So a simple deployment method will help a lot.

    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  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
    • Share MVC Views (.cshtml) across multiple projects.

      I have two projects that happen that display the exact same razor view. Right now I have to copy the razor view code into two separate .cshtml files. And of course when I need to update the view code, I will have to update it in two places.

      I have a PublicUI Project and an AdminUI project, the PublicUI Project is deployed to the Internet DMZ server, and the AdminUI Project is deployed to an internal server.

      It would be nice to be able to share the razor view because maintenance is and would be a nightmare in a situation…

      3 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  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
      • Update jquery.validate*.js to support latest version of JQuery

        With MVC4, we can not go away from the 1.8.1 version of the jQuery library. Knowing that major optimations were made beyond version 1.9, why not upgrade to the latest version of JQuery.

        3 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  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
        • 89 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  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
          • explicit bundle ordering by default

            The default bundling ordering done by ScriptBundle and StyleBundle is counter-intuitive. The default order of the files when they're bundled should follow the exact order that files are included, and they should only be reordered using the current 'smart' ordering if explicitly desired.

            References:

            http://stackoverflow.com/questions/14775997/mvc4-stylebundle-doesnt-render-the-bundle-in-the-correct-order

            http://stackoverflow.com/questions/13130833/how-do-i-configure-mvcs-style-bundling-order

            http://stackoverflow.com/questions/14563415/force-asp-net-mvc-bundle-to-render-the-javascript-files-in-a-certain-order

            3 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  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
            • Support asynchronous child actions

              Attempting to use a child action that's marked as "async" in its method declaration results in the error message "HttpServerUtility.Execute blocked while waiting for an asynchronous operation to complete.".

              The lack of support for asynchronous child actions makes it extremely easy to deadlock .NET 4.5 code. For example, assume the child action makes a call to an 'async' function. Since the child action can't use async as well, it's forced to "Wait" on the async task and block synchronously.

              By default, async methods attempt to use the synchronization context - which is blocked. This means that child actions calling asynchronous…

              303 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  ·  3 comments  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
              • Create an MSBuild task for creating script and style bundles

                While bundling and minification at run time is great, it is also useful at build time. For example, if you are creating a javascript library and want to provide a minified version, it would be very convenient to have an MSBuild task that creates a minified bundle.

                2 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 responsive design templates with mobile platforms please

                  Add responsive design templates with mobile platforms please

                  1 vote
                  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  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
                  • Support UniqueIdentifier as UserID in SimpleMembership

                    For writing distributed database / (multi-master) database applications and/or integrating with other systems, being forced to use an INT for UserID is a killer. Please bring back support for uniqueidentifiers as the UserID and update SimpleMembership to support them, or enable a simple way to override via a provider model.

                    2 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 Visual-Studio support for syntax-highlighting a custom file extension with razor & css syntax

                      Right now, with a bit of thinkering in web.config and a custom RazorViewEngine, it is possible to register the ".rcss" file extension and have razor serve these files just like .cshtml files.

                      This is useful because it allows e.g. Server.MapPath or Url.Content in css files. Also I can write css and make a simple @if, for example to exclude one of the many styles that cause IE8 to malfunction, without having to start syncing 2 different files...

                      However, there is no freaking visual studio support. Either one sets it as web form, and then it has problems because in a…

                      2 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  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
                      • Add Knockout Scaffold Template

                        Currently MVC supports only creating views base on Razor or ASPX engines. For example to have a page displaying list of products we usually create View selecting List scaffold template. You can then pass the List of products as model object then the server will parse each product and construct HTML page and return to the requesting browser. Constructing HTML on the server is NOT acceptable in a web application where speed and performance are highly prioritized. Imagine you have 1000 products per page. The server will loop through all items and for each item create HTML tags. It's very…

                        34 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  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
                        • ASP.NET MVC should stop silently catch all unhandled exceptions !

                          E.g., DefaultModelBinder catches all exceptions. If you mock a model that is bound and the model has IoC, DefaultModelBinder will catch also MockException (which inherits form System.Exception) therefore you can't mock it. What a shame from a framework that proudly says it supports testing.

                          4 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  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
                          • Imeplement HTML5 Form Validations elements in MVC HTML Helpers and Web form Input controls

                            Imeplement HTML5 Form Validations elements in MVC HTML Helpers and Web form Input controls

                            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…)
                              under review  ·  0 comments  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
                            • remove httpcontext dependency for the Controller base class

                              Refactor the existing controller base class or implement an alternative implementation of the controller base class that does not depend on the httpcontext.. like the web api controller .

                              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  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
                              • Model binding support for Enums

                                This ModelMetadataProvider for Enums allows binding to dropdowns: http://geekswithblogs.net/nharrison/archive/2013/01/16/simple-way-to-bind-an-enum-to-a-dropdownlist-in.aspx

                                This would be pretty useful.

                                11 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  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
                                • 15 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  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Make parts of HttpContext easier to Mock/Fake to simplify testing

                                    See for example this post by Hanselman http://www.hanselman.com/blog/ABackToBasicsCaseStudyImplementingHTTPFileUploadWithASPNETMVCIncludingTestsAndMocks.aspx that shows how troublesome the HttpContext is for testing.

                                    The problem is that you have to stub several layers even if you only want to set a fake value for User for example. It would be great of this could be simplified so that it was possible to Mock/Fake only the properties/objects we need for that test.

                                    15 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  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Dynamic (runtime) bundling

                                      It should be possible to create bundles during runtime. It's not always possible to know beforehand what scripts/styles pages need. Or it's not practical to create many combinations of scripts/styles.

                                      E.g

                                      ~/Views/Shared/_Layout.cshtml
                                      @{
                                      RegisterScript("~/jquery.js");
                                      RegisterScript("~/bootstrap.js");
                                      }

                                      ~/Areas/Admin/Views/Shared/_Layout.cshtml
                                      @{
                                      Layout = "~/Views/Shared/_Layout.cshtml";
                                      RegisterScript("~/jquery-ui.js")
                                      }

                                      ~/Areas/Admin/Views/Posts/Edit.cshtml
                                      @{
                                      Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
                                      RegisterScript("~/post-edit.js");
                                      RegisterScriptCode("function Foo(){...}");
                                      }

                                      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  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Conversational Session - Running same views in multiple browser tabs with different session data

                                        I would like to implement a new feature for asp.net mvc called "conversational session".
                                        What is a conversational session? For example, you have a edit page and you want to display this page multiple times but with different data. By default, if you store some data in the session, the data will be overridden when opening the edit page multiple times. You can use a conversation for a specific "process" and after the process finishes the data will cleared. My idea was to handle this via attributes (i.e. one attribute on a action which starts a conversation.. or a attribute…

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

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

                                          ASP.NET MVC

                                          Feedback and Knowledge Base