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. 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 →
        • 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.

          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…)
            under review  ·  1 comment  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
          • Asp.Net Mvc must have a view designer.

            Microsoft have to do this...

            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 →
            • 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…

              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…)
                1 comment  ·  General ASP.NET  ·  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…

                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 →
                • 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 →
                  • WebDeploy: Make use of zlib and use compression!!

                    One by one file copying is a dealbreaker. Please opt for zlib to compress the whole package, push the tarball, untar it on target and post the result back at once. We don't need one by one file transfer status.

                    At least provide an option for it, if people are dumb enough to realize what they don't need! It takes us MINUTES to publish the dam thing on our staging from other country.

                    zlib (http://zlib.net/) is used by the whole non-Microsoft world. Node and many other platforms and open software make use of it. It compiles fine on…

                    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 →
                      • Implement Repository & UnitOfWork pattern with Entity Framework is implement itselft

                        DbContext is a combine of UnitOfWork an Repository pattern. Why we should implement itself when dev mvc app?

                        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 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 →
                          • 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…

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

                                  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 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 →
                                      • Add overloaded version of HttpApplication.RegisterModule that accepts preconditions

                                        Modern web apps use many kinds of dynamic functionality on 'static' requests - javascript/css minification, image compression, etc.

                                        Yet ASP.NET continues to handicap developers by stubbornly sticking to extension-based stereotypes and discrimination.

                                        HttpApplication.RegisterModule() is a recent example. A great opportunity for code over configuration, but it defaults to precondition="managedHandler", handicapping the great value it could have offered.

                                        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 →
                                        • 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…

                                          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  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
                                          1 2 5 7 9 18 19
                                          • Don't see your idea?

                                          Feedback and Knowledge Base