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 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. Improve bundle syntax on razor cshtml

    All of these syntax is working, please make an official microsoft version

    01.
    @this.BundleScriptsAsOne(@<MyBundle><script type="text/javascript" src="js/navigator/activity.js"></script>
    <script type="text/javascript" src="js/navigator/jquery-ui-1.8.13.custom.min.js"></script>
    <script type="text/javascript" src="js/navigator/prettyphoto.js"></script></MyBundle>)

    02
    @this.MinifyInlineJsAsOne(@<script type="text/javascript">
    //all code here
    </script>)

    I have lot more examples of this
    but i believe you got the idea

    This insanely productive for me
    my inline script is automatically bundled (the bundle is cached ofcourse)

    I would like to have microsoft version of it

    Notice that I DO NOT use "~" on src path
    that character is horrible, no one from php community use it

    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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
    • 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 →
      • 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.

        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 →
        • Make WebDeploy CRC check more efficient

          Now when we have MSDeployUseChecksum it works great in terms of precision but slow in terms of performance. This is a problem for a larger websites because it takes up to 4, 10, ... minutes to calculate the checksums.

          Here is the idea: combine time stamp checks with CRC.

          Algorithm: do a time stamp check first. Then do a CRC check for all found differences.

          This will improve performance for some frequent scenarios while keeping the precision.

          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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
          • Entity Framework related

            How about something like Smart Entities , which hold all the information within itself like its datacontext , where to save, validations, Validation errors and many more. On the consumer side it should expose very simple methods or properties.

            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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
            • Multiline parameters code format (Ctrl+k,Ctrl+d)

              In MVC 4 project open App_Start\RouteConfig.cs file and paste the following:

              routes.MapRoute(
              name: "MyName",
              url: "MyName/{action}/{id}",
              defaults: new { action = "Index", id = UrlParameter.Optional }
              );

              You will notice the multi-lined parameter list is not formatted correctly (with 4 space indentation bias). Pressing Ctrl+K,Ctrl+D won't work either.

              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 →
              • resources from db

                Give us the possibility to register resources on DB with a built-in resources provider and manager. Without a strongly types like actual resource system. And for sure align this change with model metadata attributes like displayname and any validation rules.

                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 →
                • Fix resource routing, do not automatically append with controller or area name

                  src="js/navigator/jquery-ui-1.8.13.custom.min.js"

                  such relative path will be changed into
                  {Controller}/js/navigator/jquery-ui-1.8.13.custom.min.js
                  or
                  {Area}/{Controller}/js/navigator/jquery-ui-1.8.13.custom.min.js

                  that is not right, all relative path from javascript or css
                  should not be appended with controller or area name

                  and please stop guiding people to use "~" for path

                  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 →
                  • providing command based installation of javascript frameworks into the project.

                    Like Npm it will be good to do the same thing from visual studio command prompt. New project types based on the JavaScript frameworks.

                    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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                    • Return Documentation to Microsoft Document Explorer in VS VNext

                      Return Visual Studio and .NET Framework documentation to Microsoft Document Explorer, like in Visual Studio 2008, and SQL Server 2008 R2. The Help Library Agent is very limited and slow. Microsoft Document Explorer is faster and have more features than Help Library Agent.

                      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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                      • Provide an 'Add-in' dashboard page that shows CPU, Memory and other performance utilisation aspects from within VisualStudio

                        There are many packages available to install in Visual studio. After installing a few, Visual Studio can begin to perform very slowly, or it may only exhibit this after some usage time. It would be helpful to see what add-ins are consuming most resources and provide a better way to disable offending add-ins. Currently its a 'remove your plugins and see if things improve' kind of rationale. This is obviously annoying and may not even help. This would also assist add-in vendors as they would get more direct feedback rather than users assuming its a particular plug in out of…

                        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 →
                        • Render razor inside a webform

                          We can render razor inside webform using iframe or jquery, it 'll be nice if we can render it such as MVC, while all is One ASP.NET. Also render aspx usercontrol inside web page is cool for clean markup and use the asp.net rich controls and event model

                          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…)
                            1 comment  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                          • Generic razor helper

                            I need the possibility to create generic razor helper.

                            With the help of this you could create an helper, outsource it to an other file and use it in all your views.

                            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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                            • Make integration of mvc with web forms seamless

                              Currently in order to add asp.net mvc to an existing asp.net webforms project is not exactly pain free. Here's an example

                              http://www.devcurry.com/2013/05/adopting-aspnet-mvc-enhancements-in.html which actually includes having to add in some guid. Obviously lots of people have existing web forms sites/applications that are not going anywhere but would also like to integrate mvc into them as well. Currently, I would not call this user experience pleasant. I would be nice to be able to easily add mvc to an existing web forms site. It could be a NuGet package, a right-click on the web form site that has "add mvc to…

                              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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                              • Unload assembly at runtime

                                We are developing an asp.net mvc plugginable web site. Out of every IoC framework (MEF, Windsor, Mono.Addins, MAF, etc.) what we need is to load and unload assemblies from an appdomain without unload the entire appdomain. This is a requirement for a Always-on website (like web app in the cloud). I can't shutdown the site every time i need to upload a new assembly or an updated assembly.

                                .NET Remoting is not good enough for us because is slow and there are many limit with marshaling.

                                Please, please, please. Can you give us the possibility to unload assembly from main…

                                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…)
                                  1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                                • solution explorer scrolling

                                  in solution explorer when scroll down, the solution node itself becomes invisible (because it is on a top of explorer).

                                  make the solution node visible all the time, so we can right-click on it regardless of scroll position. just like they have it in PowerTools extension.

                                  thank you

                                  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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Creating asp.net professional layouts

                                    Increasing Layouts to develop a new variety of Web Applications with different layouts which had seen ever.

                                    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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Implement Async/Await in Webform IN A PRACTICAL WAY

                                      I really like async/await, but I can't say I am impressed with the way it has been implemented in webforms. If I understand correctly RegisterAsyncTask doesn't give you any control on when the code is executed in the execution pipeline (and not even available within master pages!). I am sure there must be a simpler way. Why use events in the first place? Webforms are really not forms, and all these methods could really be functions returning a task, why do they need to be voids returning event handlers? Why not let users define Task functions that will be called…

                                      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…)
                                        2 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                                      • 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…)
                                          1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Filter intellisense by type (method,variable, delegate, etc)

                                          my problem happen today, I was looking for a variable without know it's name exactly. maybe with the right option ON, can show checkbox bellow intellisense with options (variable, methos, delegate, interface, etc).

                                          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 →
                                          1 2 6 8 10 16 17
                                          • Don't see your idea?

                                          Feedback and Knowledge Base