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 support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  1. 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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
    • Provide 1st class support in Routing for content-negotiation (Accept:) with appropriate fallback

      Many sites, especially enterprise sites, have pages which display data, but also allow that data to be downloaded as CSV, Excel, RTF, PDF, etc.

      I feel dirty implementing different URLs for each of these content types when HTTP provides content negotiation support in the form of the Accept header.

      ASP.net Routing should provide 1st class support for content negotiation and appropriate fallback (query string) support until the current "work in progress" support for Accept in popular browsers is completed.

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

            using bundling technique into webforms applications, i lose the intellisense on the bootstrap's classes.
            Thanks!

            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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
            • Open Source all of the asp.net providers

              At this point there should be no more black box providers for asp.net.

              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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
              • Add button To Clear The Application Cache Without Resetting The AppDomain

                Allow us to clear the iiscache without having to reset iis or recycle the application pool. While developing we have to manually clear the cache and the current process is time consuming using iisreset (which doesn't always work) or through IIS.

                Add a button within the IDE that clears the cache of the current solution.

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

                    Hi

                    I have a below code to disable weekends(saturdays, sundays) in the calender extender control:

                    for(var i=0; i<sender._days.all.length; i++)
                    {
                    for(var j=0; j<6; j++)
                    {
                    if(sender._days.all[i].id == "clnDtDesired_day_"+ j +"_0")
                    {
                    sender._days.all[i].disabled = true;
                    sender._days.all[i].innerHTML = "<div>"+sender._days.all[i].innerText+ "</div>";
                    }
                    if(sender._days.all[i].id == "clnDtDesired_day_"+ j +"_6")
                    {
                    sender._days.all[i].disabled = true;
                    sender._days.all[i].innerHTML = "<div>"+sender._days.all[i].innerText+ "</div>";
                    }
                    } }

                    This code will be called in OnClientShown event.

                    But the "sender._days.all" code segment in the above code doesn't exeucte properly in Firefox and Chrome. Its retruning "undefined" instead of "html element collection".

                    How to fix this ? Whereas Its working well in all versions of…

                    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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                    • Please add Mono like feature to create application for multiple OS friendly

                      Mono and Xamarin.com like features to create Android, iOS, Mac friendly application development.

                      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  ·  Flag idea as inappropriate…  ·  Admin →
                      • Put 'rename' as first item in smart tag for controls

                        I name my controls. So do most people - it's the most common thing you do. So why isn't it in the smart tag that appears for controls? Why do I have to scroll thru properties every time?

                        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  ·  Flag idea as inappropriate…  ·  Admin →
                        • End Date of JavaScript replace completely by C# like S#

                          It is ugly , confusing , non sense , I write in C# and that all what I need , I can write methods and specify method target , Client or Server
                          [Target:Cient]
                          void onMouseEnter_Image1()
                          {
                          Image1.ImageUrl="myimage.jpg";
                          }
                          [Target:Cient]
                          void onMouseLeave_Image1()
                          {
                          Image1.ImageUrl="myimage.jpg";
                          }
                          [Target:Cient]
                          void RowMouseEnter_GridView1()
                          {
                          //highlight the row
                          }

                          JavaScript should end , and replaced by more extensive language the mapp all it's feature , you can implement a Decorator JavaScript Pattern , which will remove it ugly face.

                          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 →
                          • 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 →
                              • assembly namespace transfor

                                some nuget packages might have som break changes, but if we have a big project , you want change only a part of it and use the latest version packages,there will be a problem! hope for a way we can copy the latest dll file and rename it, and write a code like
                                // code start
                                using System;
                                #contain "~/bin/Newtonsoft.Json.latest.dll" with "latestJson";
                                using latestJson.newtonsoft.json;

                                namespace projectNS
                                {
                                ...
                                }
                                ....
                                // code end

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

                                          Feedback and Knowledge Base