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. In the view context menu, allow custom links

    On a lot of the pages I develop, I have a .js and a .css file that are specific for that page. It would be really nice if I could, from the view, right click and show links to any of these files.

    Maybe we could have a directive similar to the @Model. Something like:

    @Model MyModel
    @Filelink "~/Scripts/MyScript.js"
    @Filelink "~/Scripts/MyOtherScript.js", "
    @Filelink "~/Content/MyCSS.css"

    When we right click, we would now see new menu options called MyScript.js, MyOtherScript.js and MyCss.css. Clicking on these would open the file. It would be a HUGE time saver.

    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 →
    • Allow overriding ID and Name values using Model Binding

      When using the default Model Binder, there is no way to override the default ID and name value fields created by decorating with additional attributes. For example, when posting values to Authorize.Net, you want to use "friendly" fields in your Model properties such as Sequence, however, Authorize.Net requires the use of fixed fields such as "x_fp_sequence". By being able to override the default ids and values by decorating the Model, this would make the code a lot more manageable and more flexible for dealing with payment engines such as ASP.NET.

      Thanks.

      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 →
      • Provide ability to post ASP.NET MVC Models to external Urls

        Currently, ASP.NET MVC allows to return other Views in the project or Redirect to other Urls. However, if one wants to "POST" to another Url such as Authorize.Net (which only offers a FORM POST API and not a RESTFUL API), one has to concoct special methods to accomplish this. Instead, it would be much easier if ASP.NET MVC provided the ability to POST entire ASP.NET Models in a Form Post to other Urls such as external Urls for payment engines such as Authorize.Net.

        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 →
        • Remove hidden elements for Html.Checkbox and Html.RadioButton

          When using @Html.Checkbox and @Html.RadioButton or even the @Html.CheckboxFor and @Html.RadioButtonFor elements, a hidden field/element is created alongside these fields when an attribute such as new {@value="myvalue"} is added to the Checkbox or RadioButton element. However, the addition of this hidden element messes ups CSS rendering especially with rendering of jQuery Mobile controls.

          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 →
          • Intellisense for anonymous type HtmlAttributes

            When typing in Visual Studio to add additional HtmlAttributes in Razor views, there is no Intellisense for anonymous typing of HtmlAttributes such as new {@value="myvalue"}. Instead, when I begin typing new, I immediately get Intellisense for either object {} or Dictionary<string. object> but never for the anonymously typed constructor for adding HtmlAttributes.

            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 other content-types in views

              I'd like to be able to create views of any HTTP content-type/mime-type. For example, javascript with inline razor syntax.

              I can kind of do this today, so we're part-way there - I can create a script.cshtml for a view named "Script" and set the Response.ContentType = "application/javascript". However the syntax highlighting and intellisense is all messed up.

              So the ask is either to support other view file extensions with syntax highlighting (eg csjs, cscss ), or make the .cshtml syntax highlighter smart enough to use other markup when the Response.ContentType is set, or support a new @directive to support other…

              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 for Model in Web Pages Razor

                Allow Web Pages Razor to support Models.

                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 →
                • Add the donut caching to MVC and make it work with sql dependency

                  Donut Caching is important to make sure some part of a web page are not cached. But it doesn't work with SQL Dependency .
                  For example in our website, we have blocs on the right col that must be refresh each time the page is reloaded.
                  The main col must be refresh only when a new content is published (sql dependency)

                  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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                  • Add DateTimeEditor, ComboBox, Email, FileUpload and PopUp Helpers with callback options and rich Client APIs.

                    As of now, We dont have option to in razor to input the date and time, since we are using some third party dlls or jQuery datepicker ( dont have time in it. ),

                    And also we dont have FileUploadHelper to Upload and PopUp Helpers to popup the div.

                    Finally need a validation on TextBoxFor() Helper to Input only the numbers, Which means it should not allow the Characters if the Model property is a type of long.

                    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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                    • Update WebClient to allow file uploads and regular form variables

                      When utilizing WebClient we are able to do a WebClient.UploadFile however we are not able to add additional fields in the Webclient upload. There needs to be a class to automatically handle these requests.

                      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 →
                      • Validate all data annotation attributes applied to action parameters and apply errors to ModelState

                        Data annotation validation attributes can be applied to parameters, but they are ignored when it comes to ModelState.IsValid. If I have an action method that just takes 1 argument, say an email address, I don't want to have to create a complex-type view model with only the 1 property just so I can apply EmailAddressAttribute to it.

                        Here is an SO question pertaining to the same issue, except this user wanted to apply RangeAttribute:

                        http://stackoverflow.com/questions/10978049/anyway-to-let-mvc-framework-validate-my-action-parameter-just-like-modelstate-i

                        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  ·  Flag idea as inappropriate…  ·  Admin →
                        • Add Reporting template for mvc so developer easily can create crystal type reporting in mvc

                          I have search a bit for reporting for asp.net mvc.We can add crystal reporting through webform but for razor view there is no option i found.It will b create if asp.net mvc have this option

                          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 →
                          • Provide More Microsoft Controls for MVC Comparable With Web Forms

                            Provide More Microsoft Controls for MVC to Be Comparable With Web Forms

                            I enjoyed having built in Microsoft controls with web forms. All Microsoft web form controls are standardized and stable.

                            Now with MVC, to get certain UI controls such as a grid view, a developer must find other various 3rd groups for such controls. Those 3rd groups are now beginning to ask for money in exchange for their controls.

                            There is nothing wrong with making a profit, but if purchasing expensive software like Microsoft Visual Studio, one should expect to have these controls already available without additional cost.

                            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 MVC4 Internet template that uses UniversalProviders and NO oauth - i just had to copy account controller over from MVC3.

                              SimpleProviders - cannot be configured from web.config - you can't even change the connection string name.
                              oAuth - just make it go away, never want to see it again - anywhere. Go read about what happens when you use Facebook to log in everywhere and Facebook locks your account out - oAuth is seriously bad idea. Get a password vault and use it.
                              The Basic MVC4 template has Univeral Providers, but is missing everything else! Where are Home & Account controllers and views?
                              What is WebMatrix? if I wanted to use it, I would. Instead I am using VS2010 and…

                              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 →
                              • EditorFor to accept custom HtmlAttributes

                                Create override for Html.EditorFor() to accept custom html attributes, like Html.TextBoxFor() does

                                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 →
                                • Update MVC5 to Use Bootstrap 3 with Less

                                  So I unrolled the MVC5 RC today and Im pleased to find that it is using Bootstrap! Unfortunately it is using the outdated Bootstrap vs 2...

                                  Please update the project to use Bootstrap vs 3 and add support for Less.

                                  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 →
                                  • Mixing Windows Authorization with Forms Authentication

                                    Hi, I am developing a system that we need to support form authentication and also windows authentication. I am wondering if MVC4 is supporting it? If it is not, I want it so bad.

                                    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…)
                                      3 comments  ·  ASP.NET MVC  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Allow Custom Scaffolding

                                      I would love to have the ability to make my own scaffolding. I can currently do this through a NuGet package called t4scaffolding, but it is seems like it loosing support. I would be very happy if it was baked into the framework somehow.. thanks!

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

                                        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…)
                                          2 comments  ·  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.

                                          54 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