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. Make page inspector for Razor cshtml pages

    I need to change my css and html from visual view of site page, as in chrome developer tools.

    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…)
      under review  ·  0 comments  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
    • Cleaner MVC Maintainability with Folder Encapsulation

      Love the product, but wondering if you can modify the MVC convention so that it could behave in the following way? If I add a folder called Customer, that folder should encapsulate all the files and asset resources it needs for the Customer MVC page. The Controllers, Model, Views, Javascript, images. Hard disk space is cheap, but file management is expensive. This makes it much easier to deploy a new feature or roll it back. And you can have side by side old and new feature versioning by simply adding a number to the folder or renaming the folder. This…

      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  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
      • Release a Metro-UI bootstrap package for the web (mobile + desktop already has Metro-style GUI, web doesn't).

        So basically just something like Bootstrap from Twitter. A collection of CSS (preferably LESS) and JS to create a GUI in the style of the Metro GUI on the desktop/mobile. A lot of Microsoft website already embrace the Metro-style, but there is no uniform standard or library available for others who would like to create a Metro-website. I think this is a very good chance for Microsoft.

        51 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…)
          4 comments  ·  Flag idea as inappropriate…  ·  Admin →
        • MVC must have a design view like ASP.net

          The problem with the development with MVC is that we are used to ASP.net design view and drag and drop. If this is there is MVC it would be very easy.

          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…)
            2 comments  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
          • Add tree related functionality

            Store/read/initialize data as a tree (Entity Fr.), convert trees to JSON.
            View Symfony 1.4 with doctrine nested set, and fixtures.

            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 →
            • Populate ValidationContext.MemberName in DataAnnotationsModelValidator.Validate

              The ModeMetadata property has a PropertyName and currently the ValidationContext.MemberName property not being set (null). The issue with this is when you have a custom validator, the ValidationContext provides you the model and the value to be validated, but without that property name you have limitations on being able to unambiguously identify the property that is being validated on the model object. You might want to be able to reference that property and access any other attributes belonging to that property (e.g. DisplayNameAttribute). This is a one-line inclusion which sets a string value, so it should be easy to include,…

              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  ·  Flag idea as inappropriate…  ·  Admin →
              • Let we just choice use Bundling or Minification function

                In default ASP.NET MVC 4 project, If set "BundleTable.EnableOptimizations = True" in Global.asax, Or <compilation debug="false" targetFramework="4.5" />,

                When call @Styles.Render() or @Scripts.Render() function,will run Bundling and Minification function together.

                Can let we choice just use "Bundling" or "Minification" function, Example: In BundleConfig.vb(or .cs)

                bundles.Add(New StyleBundle("~/Content/themes/base/css").Include(
                "~/Content/themes/base/jquery.ui.core.css",
                "~/Content/themes/base/jquery.ui.resizable.css",
                ...))

                If I just choice Bundling, output non-Minification file.
                It URL same like "/Content/themes/base/css?v=uisoij234...", but content not-Minification.

                If I just choice Minification, output non-Bundling file.
                It URL same like
                "/Content/themes/base/jquery.ui.core.min.css"
                "/Content/themes/base/jquery.ui.resizable.min.css"
                ...
                just minification and add "min" to file.

                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…)
                  3 comments  ·  Flag idea as inappropriate…  ·  Admin →
                • Compile-time route checking

                  At compile time, verify routes map to controller methods and issue compilation errors for unmapped routes. Issue warnings for controller methods and parameters are wired up in routing. This should also have the side benefit of making the UrlHelper more reliable.

                  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 →
                  • Create editor for Views in ASP.NET MVC Razor

                    I need preview for my html markup

                    21 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 →
                    • Placeholder

                      We need a HTML5 placeholder element - this could be defined in the viewmodel or even in the EditorFor tag.

                      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  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
                      • Extend the DropDownList to show the items grouped by a category

                        Extending the DropDownList to show the items grouped by a category

                        <select>
                        <option value="">[Please select an option]</option>
                        <optgroup label="Group 1">
                        <option value="1">Option 1</option>
                        <option value="2">Option 2</option>
                        </optgroup>
                        <optgroup label="Group 2">
                        <option value="3">Option 3</option>
                        <option value="4">Option 4</option>
                        </optgroup>
                        <optgroup label="Group 3">
                        <option value="5">Option 5</option>
                        <option value="6">Option 6</option>
                        </optgroup>
                        <optgroup label="Group 4">
                        <option value="7">Option 7</option>
                        <option value="8">Option 8</option>
                        </optgroup>
                        </select>

                        http://weblogs.asp.net/raduenuca/archive/2011/02/26/asp-net-mvc-extending-the-dropdownlist-to-show-the-items-grouped-by-a-category.aspx

                        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…)
                          0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                        • "@section scripts" should be explained in the doc, or "$ not defined" error

                          Index.cshtml should include an example showing how to use jQuery, because it is now loaded at the end of the document. This results in "$ not defined" error.

                          _Layout.cshtml:
                          @Scripts.Render("~/bundles/jquery")
                          @RenderSection("scripts", required: false)

                          @section scripts
                          {

                          <script type="text/javascript">
                          $(document).ready(function () {
                          //something here
                          });
                          </script>

                          }

                          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 →
                          • Serialization in js

                            I know the MVC3 futures dll Microsoft.Web.MVC has Html.Serialize. But if I'm building an app using mvc4 do I still need to install mvc3 futures?
                            why is is not available in mvc4?

                            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 →
                            • Integrate the HTML5 Boilerplate into the default template

                              From the H5BP site (http://html5boilerplate.com/):

                              HTML5 Boilerplate is the professional frontend developers's base HTML/CSS/JS template for a fast, robust and future-safe site.
                              Boilerplate is not a framework, nor does it prescribe any philosophy of development, it's just got some tricks to get your project off the ground quickly and right-footed.

                              They also have a selection of server configs (web.config) to enable caching and other goodies.

                              https://github.com/h5bp/server-configs

                              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  ·  Flag idea as inappropriate…  ·  Admin →
                              • Add filedependency to outputcache

                                Actually i can do this:

                                [OutputCache(Duration = 60, VaryByParam = "id")]
                                public ActionResult Index(string id)
                                ...

                                think that could be interesting to have a way to specify a cache dependency to a file or maybe other objects..

                                for example:

                                [OutputCache(Duration = 60, VaryByParam = "id", Dependency("~/FileXpto.txt"))]
                                public ActionResult Index(string id)
                                ...

                                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 →
                                • Visual Studio/page inspector detects which views are affected by a css change

                                  It would be very handy to make a css change in visual studio and then have VS compute which mvc views will be affected by the change. The summary of results (views affected) could be displayed in a list/window which the user can click on one line at a time to go see the effected ui in the .cshtml file and the rendered view

                                  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  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Consuming Web API Method using a WSDL 2 based approach

                                    At present the Web API Method can be accessed using URI,
                                    It would be nice if the Web API can be exposed using a WSDL /2, which could be referred in the 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…)
                                      0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Support for generics in razor view

                                      It would be great if razor views could support generic models.

                                      @model MyViewModel<T>

                                      55 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 →
                                      • Provide ASP.Net MVC Web Parts for SharePoint

                                        Provide the ability to easily deploy/publish ASP.Net MVC applications as Web Parts or Web Part Pages in SharePoint.

                                        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…)
                                          1 comment  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Feature to add: ASP.NET MVC Route Debugger

                                          That would be nice to introduce something like "MVC debugging mode" to ASP.NET MVP project. In this mode developer will see some extended details about MVC application state like routes table and so on.

                                          To understand better what I mean - please look at these 2 posts:

                                          RouteDebugger 2.0 - http://haacked.com/archive/2011/04/13/routedebugger-2.aspx

                                          ASP.NET Routing Debugger - http://haacked.com/archive/2008/03/13/url-routing-debugger.aspx

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

                                          ASP.NET MVC

                                          Feedback and Knowledge Base