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. Support Entity Framework 6 scaffolding in ASP.NET MVC 4

    Please fix this one: http://support.microsoft.com/kb/2816241

    I don't know, why you restrict all EF 6 alpha/beta testers/users - I think the public part of the EF API the scaffolding use is already unchanged.

    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…)
      1 comment  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
    • Support @helper ExtensionMethod(this HtmlHelper html) for views in APP_CODE

      Support creating extension methods with the @helper razor syntax, inside the APP_CODE folder.

      This could be very useful, when creating html helpers, like the following code:

      @helper ExtensionMethod(this HtmlHelper html, string data, string action)
      {
      <text>
      <div>@data</div>
      should I want to use Html here it is fine:
      @html.ActionLink("Link text", action)
      should I want to use Url here...
      @{var url = new UrlHelper(html.ViewContext.RequestContext)}
      @url.Action(action)
      </text>
      }

      And be called inside any other view like this:

      @Html.ExtensionMethod("Some text", "MyAction")

      That'd be awesome! An easy way to make Html helpers!!!

      25 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 →
      • mixed-mode authentication

        It will be nice to have a fully supported and secure way to use forms and windows authentication in the same project. For example let's say that the project has three areas two of which can be managed using windows authentication but one of them can use forms connected to a custom database. In such way the app can support internal users and external users without having to deploy to separate apps.

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

              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…)
                1 comment  ·  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 →
                  • 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 →
                    • 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…

                      25 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 →
                      • Use generic types for UserID in Simple Membership Provider

                        I have to provide membership in an MVC web app to a Microsoft Dynamics CRM back end. CRM uses Guids as entity keys. The new simple provider forces the use of ints. Your old membership providers use Guids. Why not use generics so you can use any data type as key.

                        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…)
                          started  ·  3 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 .

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

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

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

                                  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…)
                                    0 comments  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Add the ability to use a DI to create/populate ActionFilterAttribute instances

                                    A strong part of MVC is its extensibility points. However, if you use an IoC/DI container, there is currently no way to populate its dependencies (similar to how you would a controller via the ControllerFactory).

                                    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…)
                                      2 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

                                      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…)
                                        under review  ·  0 comments  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Integrate CORS into ASP.NET Core

                                        CORS is becoming more popular and should be fully supported in the ASP.NET stack.

                                        I'm currently using ThinkTecture's IdentityModel package https://github.com/thinktecture/Thinktecture.IdentityModel.45 which recently added a CORS module for MVC and WebAPI, but it currently doesn't work if you have MVC controllers and WebAPI controllers setup in the same project.

                                        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 →
                                        • open source the project templates

                                          Open source the project templates or move them to nuget packages, but let the community fork them or extend them or make it easier to get into the new project dialog... its holding us back.

                                          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  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3 4 5 6 7 8 9 10 11
                                          • Don't see your idea?

                                          ASP.NET MVC

                                          Feedback and Knowledge Base