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. When splitting a conditional statement put the imperative statement before the end condition

    In VB, if you have the line IF A = B THEN C = D and the line is split after THEN the C=D statement should be contained between the IF and the END IF

    Desired result:
    IF A = B THEN
    C = D
    END IF

    Current result VS2012:
    IF A = B THEN
    END IF
    C = D

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

      Add please native support for Stylus - much better than Less and SASS/SCSS CSS preprocessor.

      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…)
        under review  ·  0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
      • 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  ·  Visual Studio Performance Feedback  ·  Flag idea as inappropriate…  ·  Admin →
        • Option to default classes to public -- not part of the C# spec, so the option should default to off. Would save much tedious work.

          Currently, as per spec, a new class in C# is private. Add an option that if checked would cause VS to default new classes to public. No harm to those who don't want it, and meaningful savings of effort for most of us.

          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 →
          • 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…)
              under review  ·  0 comments  ·  Flag idea as inappropriate…  ·  Admin →
            • Provide support for tracking concurrent users

              When working with ASP.NET, there is no easy way to track the number of concurrent users/concurrent sessions that are allowed to log into your application at any given time. Instead, this has to be built as a completely custom solution. Instead, this should be built directly into the ASP.NET Framework to allow easily managing this type of information. This is especially useful for ASP.NET Web Application Licensing scenarios.

              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…)
                under review  ·  0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
              • Allow Visual studio find/replace to have a replace whole line button

                Basically, if you are making big repetitive deletes of specific items. It would be easier to just be able to delete the whole line that matches the phrase, since in ASP.net a single tag tends to be on its own line.

                A listbox for example can have all kinds of attributes and can be a pain to delete

                for example:
                <asp:Listbox AutoPostback="true" ID="MakeList" runat="server" Width="166px" SelectionMode ="Multiple" DataTextField="MakeName" DataValueField="MakeID" OnSelectedIndexChanged="UpdateModels" DataSourceID="MakeSource">

                That could all be on one line. You would not want to hold on the delete button for each instance of it.

                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…)
                  under review  ·  0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                • Simplify web.config transforms

                  web config transforms should be easier to implement, Child configs should just overwrite parent settings without wrestling with xslt transfomations

                  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…)
                    under review  ·  1 comment  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                  • strongly typed asp- attributes

                    With the ASP.NET cshtml, we can use @using and @model to get access to strongly typed objects defined in the project.

                    It would be nice if the asp- attributes have something similar, where we are able to point to those strongly typed objects and properties.

                    Existing Example:
                    <form asp-controller="Account" asp-action="Login"
                    or
                    <label asp-for="Email" class="col-md-2 control-label"></label>
                    <div class="col-md-10">
                    <input asp-for="Email" class="form-control" />
                    <span asp-validation-for="Email" class="text-danger"></span>
                    </div>

                    Suggested Example:
                    <form asp-controller="@Account" asp-action="@Login"

                    or

                    <label asp-for="@Model.Email" class="col-md-2 control-label"></label>
                    <div class="col-md-10">
                    <input asp-for="@Model.Email" class="form-control" />
                    <span asp-validation-for="@Model.Email" class="text-danger"></span>
                    </div>

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

                      ASP.NET Webform HTML 5 rendering quality. The asp:radiobuttonlist should render without a span element
                      eg
                      <asp:RadioButtonList BorderStyle="empty" ID="RadioButtonList3" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">

                      purpose is clean usage with asp.net jquery mobile

                      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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                      • Add Support for Oasis XACML 3.0 for Claims based identity management

                        Hi up till now there is no support for XACML 3.0 for creating and managing XACML 3.0 policies for single sign on application. This is as per the OASIS standard all big giants are using this but not Microsoft.

                        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…)
                          under review  ·  0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                        • Open Source the Web Platform Installer (or create an empty extensible shell)

                          It would be great to (re)use the WebPI as an install configuration tool. Yes, it supports custom feeds, but how about if it were available empty and unbranded (or brandable)?

                          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 →
                          • 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 →
                            • Allow clearing of client ScrollPosition value as a Page Method

                              There is currently no server-side way to clear the values set by the Page.MaintainScrollPositionOnPostback property.

                              The only way to "reset" the client scroll position is a messy javascript injection hack. Can a method be included to clear the scroll position, e.g.
                              Page.ClearScrollPosition
                              Page.ClearScrollPositionX
                              Page.ClearScrollPositionY

                              Alternative can the internal method LoadScrollPosition (
                              http://referencesource.microsoft.com/#System.Web/xsp/system/Web/UI/Page.cs#4f5017a57b4c846d) be overrideable?

                              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…)
                                under review  ·  0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                              • 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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                                • Run t4 files on "Build time" natively.

                                  In Visual Studio Run t4 files on "Build time" as an option in the file Properties (F4), without using any dependencies. I know that "Tangible T4 Editor" do this with the Pro version.

                                  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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                                  • 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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                                    • [Bug] Rewrite all controls which depend on javascript "Date" class (like RangeValidator)

                                      I've tried to submit a bug, but got a "You are not authorized to submit the feedback for this connection.". Great! I'm not allowed to submit a bug?.. so here it goes a "suggeston" - RangeValidator automatically creates a javascript function called "function ValidatorConvert(op, dataType, val)", which uses the Date class. At the end of this functions, it checks whether de generated date equals the input date, and when it does not, it returns null. But the behavior of the Date class is not the same across browsers (e.g. its different in ie9 and ie11) when dealing with Daylight saving…

                                      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…)
                                        under review  ·  0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                                      • My whole computer, database and hotmail been hacked cus i logedin on visual studio with my mail

                                        I cant even send microsoft a mail no more!!! thanks Visual studio

                                        The official source of product insight from the Visual Studio Engineering Team

                                        Download Visual Studio
                                        Subscribe
                                        Comments
                                        Facebook
                                        Related resources
                                        Visual Studio Product Website
                                        Visual Studio Developer Center
                                        Getting Started Resources
                                        Write, Navigate, Fix your Code
                                        Debug, Profile, Diagnose your Code
                                        Menu
                                        Blog Home
                                        Atom

                                        Search MSDN with Bing

                                        Search this blog Search all blogs
                                        Översätt den här sidan

                                        Microsoft® Translator
                                        Language options
                                        Simplified Chinese (中文)
                                        Recent Posts
                                        The .NET Journey: Recapping the last year
                                        Posted 3 days ago
                                        Connect(“demos”); // 2015: HealthClinic.biz
                                        Posted 5 days ago
                                        Improving…

                                        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  ·  Visual Studio Performance Feedback  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Setup and Deployment Overhaul

                                          The existing options leave much to be desired and sometimes make it more difficult to deploy apps than they need to be. Click Once doesn't always work.

                                          0 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 6 7 9 Next →
                                          • Don't see your idea?

                                          Feedback and Knowledge Base