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 jsbehind for asp.net pages

    With the upcoming of more and more javascript usage - in the form of jquery or ajax library - I find it clutters the html code so always externalize the scripts in "jsbehind" pages. Of course it extends the idea of codebehind.

    Mostly I build 1 or more jsbehind files per page, 1 for each functional 'module' on the page (e.g. an updatepanel, a form, etc).

    5 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 →
    • Extend Web Deploy to support MSI functions such as custom actions

      With the removal of the Web Setup/Windows Setup projects from Visual Studio there is a gap in the application deployment process where web/windows solutions that need to perform additional installation tasks are difficult to implement.

      The old technique was to write a web setup project (MSI) and then implement a custom action assembly that performed the additional work during installation time (such as custom event queues, installing windows services, modifying config files etc). Web deploy does not appear to have this functionality (it is not visible if it is there) which is important in an enterprise environment.

      Also, the provided…

      5 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 →
      • 5 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 →
        • Article of how to use Cucumber/Gherkin in conjunction with ASP.NET web development

          I have article draft ready at http://pekkaollikainen.wordpress.com/2013/02/11/behavior-driven-development-cucumber-gherkin-full-article-at-sdj-32013/and I could start working it into ASP.NET.e.g. how to use at the development phase of the new ASP.NET web project .

          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 →
          • Allow ADO.NET Data Services to return non-entity POCO types

            Right now it seems I can only return entity types or entity framework simple types. I would like to return IQueryable<MyType> from a custom resource method.

            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 →
            • Add a contextual menu option to navigate to the related *.ascx file

              If you're using *.ascx controls that you've created in your pages, it would be nice to be have a one click way to navigate to its definition instead of noting its name and looking for it in your solution explorer (especially for large projects).

              There are other enhancements that would be nice such as automatically adding the @Register tag if the control is located in the current project.

              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 →
              • VS 2013 - Debug Environment does not provide - string MyAuthName = Request.ServerVariables["AUTH_USER"] ;

                VS2012 internal debugger would return the AUTH_USER server variable
                VS2013 Does not, you have to attach to the process to get it.
                This has extreme impact on development time.
                VS2012 you just launched debugger, very quick.
                VS2013 It takes a lot of time to publish, launch Web Site, and attach to it.
                When you run the debugger every 5 to 10 minutes, this really adds a lot of time, at least 20%, probably more.

                For more detail:
                http://social.msdn.microsoft.com/Forums/vstudio/en-US/458b1f31-785d-4e56-9c37-b1b17e674649/vs-2013-debugger-iis-server-variable-authuser-blank?forum=vsdebug

                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 →
                • Make SecUtility and other utility classes public rather than internal sealed

                  I'm trying to build my own role provider for ASP.NET that supports nested hierarchies for roles - like Active Directory, but SQL-based (as an LDAP server is somewhat overkill for my needs, and yes I've seen the new stuff about Windows Azure AD services).

                  Having reflected (using ILSpy) the deault SqlRoleProvider to keep my code almost identical, I find that most of the classes utilised in there, such as System.Web.Util.SecUtility for parameter checking, System.Web.DataAccess.SqlConnectionHolder for attaching a SQL connection to an HttpContext for application re-use, and System.Web.SR for string resources, are all marked as internal (and in some instances sealed),…

                  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  ·  2 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                  • Add better support for ConfigurationManager's ability to modify web.config

                    WebConfigurationManager (and ConfigurationManager) throw exceptions when trying to load a web.config in anything less than High Trust environments. The sole reason for this being that the local web.config is merged all the way down from the machine-level web.configs, via any parent applications in IIS.

                    Better idea: put all inherited configs into a read-only dictionary at runtime (rather than putting the ConfigurationManager settings into a dictionary, which is what actually happens, therefore preventing writing back of a .config file to disk after modifying a setting). When the web.config is loaded at runtime, take the inherited settings dictionaries, apply them to the…

                    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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                    • Add dynamics support for AppSettings and ConnectionStrings in ConfigurationManager

                      ConfigurationManager (and/or WebConfigurationManager) could have a really cool dynamics implementation, whereby they returned singleton instances when doing something like WebConfigurationManager.ConnectionStrings.LocalSqlServer, which could return a type-specific instance of a SqlClient connection to my given connection string.

                      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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                      • Capture the Verb in the System.Web.Management.WebRequestEvent

                        In an ASP.NET application, very different code is executed depending on whether the HTTP verb used is a POST or a GET. Yet the verb is not captured in the event.

                        Please capture the verb.

                        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 →
                        • Enable subdomain routing support in MVC

                          Everyone who need this feature has implemented their own workaround for this. Can we have the framework support for routing based on sub domains?

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

                                          Feedback and Knowledge Base