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. Add expire and cache-control to the cdn files

    Right now the files served from your CDN at least jquery.validate are served without an Expires or Cache-Control max-age

    What this means is that every request has to recheck the files and get a 304 which delays page rendering.

    For now it looks like I will have to use jquery.validate from elsewhere I just wanted to use a CDN to increase the chance of the file being cached but with no chance of it really being cached (and saving a round trip) there is not much point in using the microsoft CDN right now.

    I actually have a video that…

    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  ·  Flag idea as inappropriate…  ·  Admin →
    • WebDeploy parameters support for modifying the “additional provider settings” during deployment time

      This is a follow-up to a question I posted on stackoverflow @ http://stackoverflow.com/questions/15145963/using-msdeploy-parameters-to-set-the-additional-provider-settings-in-a-web-dep

      It is not possible in Web Deploy 3.0 to use parameters to manipulate the "additional provider settings" during deployment time. I have a use case to modify the settings for the dbDacFx provider based on environment, such as "DropObjectsNotInSource" and "BlockOnPossibleDataLoss"

      <sitemanifest>
      <dbDacFx path="C:\Database.dacpac"
      DropObjectsNotInSource="False"
      BlockOnPossibleDataLoss="True" />
      </sitemanifest>

      This is not possible today, likely because the options are stored in a binary format in the attribute "MSDeploy.MSDeployProviderOptions" for the provider in the archive.xml file of the web deploy package. (This binary format appears to be a serialized…

      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  ·  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 →
          • Minify scripts served by the ScriptManager

            Bundling is a cool idea, but it doesn't always play nicely with the ScriptManager when used in a webforms scenario. I would like to propose the ability to set a flag on the ScriptManager that would allow it to minify the combined scripts its serving.

            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  ·  1 comment  ·  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 →
              • Differntiate between Unauthenticated access and Unauthorized access

                In the ASP.NET security model, the documentation goes out of its way to talk about the difference between Authorization and Authentication.

                Unfortunately, the framework itself makes no such distinction. It treats an unauthenticated user access the same as a user who does not have authorization and returns the same error.

                I realize this is probably a result of the fact that most web servers treat file access errors as 403's, because HTTP doesn't really give you any other status code, and you want to differentiate between server oriented 403's and framework generated 403's, but there must be a better way…

                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  ·  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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                  • You've gone a long way with VS SQL support ... Now, we need much better support for Azure Table Storage

                    We need help in reducing the amount of time to code for Azure Table Storage and deal with table storage in the IDE. I'd like to see and modify entities and tables right from the IDE ... building the functionality of software like ClumsyLeaf's TableXplorer right into VS. Also, it would be nice to have more/better support in data source controls and data-bound controls for table storage data and keys. It's all very LOW level right now and takes quite a while to code for Azure Table Storage relative to coding against SQL/SQL Azure storage. [Also, btw ... can you…

                    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 →
                          • Best Practices in Intellisense or Visual Studio

                            Hi,
                            I have been using visual studio for 4 years and there are so much to learn. Sometimes you dont know the stuff. Like StringBuilder is much better for string manipulation than string class.

                            During string or StringBuilder intellisense there should be recommendation line that this is recommended practice to do it this way. it may sound strange but that would be cool if new developers know from start rather than after 2 years oh string is immutable :)

                            thanks
                            Kamran

                            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  ·  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 →
                                • WebApplicationLibrary

                                  Now you can not create a reference to another project (webApplication or ClassLibrary) that has non compiled files (aspx, ascx, cshtml, js, css, config, etc.), which are usually published on the server as is.

                                  More precisely, you can create a reference, but when you start the application, these files will not be found, because located in a different directory.

                                  For example, if the project A and project B (WebApplication) contains same cshtml-files, they could be placed in a separate project (WebApplicationLibrary?).

                                  Usually it is necessary to separate one large project into several smaller projects (modules).
                                  Something similar is used in…

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

                                          Feedback and Knowledge Base