General ASP.NET

Announcement: This forum has been replaced by Visual Studio Developer Community to provide you one convenient and responsive system for all feedback. You can now suggest new ideas, browse and vote on existing ideas in the Visual Studio Developer Community.

We’d like your suggestions and ideas to help us continuously improve future releases of ASP.NET, so we’ve partnered with UserVoice, a third-party service, to collect your feedback. Please do not send any novel or patentable ideas, copyrighted materials, samples or demos for which you do not want to grant a license to Microsoft.

This site is for feature suggestions; if you need to file a bug, you can visit our Developer Community website to get started.

Note: your use of the portal and your submission is subject to the UserVoice Terms of Service & Privacy Policy and license terms.

We look forward to hearing from you!
- The ASP.NET Team

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.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. 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…

    14 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
  2. Fix the __o is not declared bug

    Still exists in VS2013 (even the workaround indicated on the link below doesn't always work)

    http://stackoverflow.com/questions/750902/how-do-i-get-rid-of-o-is-not-declared

    2 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
  3. 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?

    4 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
  4. Enable scheduled tasks

    It would be great to have a way to do scheduled tasks/jobs. If I want some job to run regularly I know I can always create a separate console that can be called by Windows Task Scheduler. However it would be much neater in term of deployment for this feature to be available within the asp.net project, without having to change the system configuration. The asp.net project would be self-contained and when deployed, IIS would run the background task based on some settings defined in web.config.

    Azure added WebJobs, which is effectively doing that. So this doesn't look like an…

    13 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
    under review  ·  Rick Anderson responded

    Take a look at HostingEnvironment.QueueBackgroundWorkItem which lets you do background tasks. It’s a start.

  5. 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
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
  6. ASP.NET Identity membership DB Tool to mangage users, roles needed

    A simple user interface tool is needed to create and manage Users and Roles with ASP.NET Identity. Please port the ASP.NET Web Site Administration Tool ( http://www.asp.net/web-forms/tutorials/deployment/deploying-web-site-projects/users-and-roles-on-the-production-website-cs ) to work with the new ASP.NET Identity membership DB

    542 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    7 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
    under review  ·  Pranav Rastogi responded

    We are looking into how can we provide this functionality. we want to provide it in such a way so that it is easy to customize and use it in your app.

  7. Remove SignalR's dependency on jQuery

    jQuery is great and all, but with a growing acceptance of two way binding from KnockoutJs, AngularJs, etc, sometimes it is just an overhead to add jQuery in order to use SignalR. Moreover, this brings a lot of problems when using ExtJs or other pure javascript UI libraries.

    249 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    4 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
  8. Web Deploy - Speed up FTP deployment

    When deploying a website using FTP it's very slow compared to other FTP applications. Web Deploy should be using more than 1 connection while uploading files. Bonus points for being able to retry uploading a previously failed file.

    3 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
  9. Provide a more helpful message for viewstate exceptions

    If you've ever received the following message, you know it takes FOREVER to track down the source:

    Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.

    I would like to propose that the exception message include the UniqueID of the control that failed to restore ViewState so the problem spot in the control tree can…

    3 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
  10. It would be awesome if you had a Gallery for websites built using MVC!

    It would be great if you had a gallery of websites built using MVC so people could see the power of this great tool.

    3 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
  11. Nice way to define properties with StateContainer Attribute

    StateContainer(ViewState)]

    string FirstName
    {
    get;
    set;
    }

    [StateContainer(Session)]
    List<string> myList
    {
    get;set;
    }

    [StateContainer(Cache)]
    List<string> myList2
    {
    get;set;
    }

    Just a random thought: I think it would be nice, with the help of an attribute, to be able to define where a given property would be stored.

    I guess it also be applied at the class level, if you want all of your properties to inherti the same StateContainer Attribute.

    A change probably best fit for an upcoming Framework release.

    Just a thought.

    27 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  2 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
  12. 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
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
  13. 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
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
  14. 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
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  2 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
  15. dbgeography better support

    Support of DBGeography is limited to EF. I tryed to use SQLDatasource and some of classic ASP.NET Webform Data controls and it seems that asp.Parameter have no fitting type. Also direct casting in inserting Event doesnt work. As I have seen also on other places there is *no* Support for the datatype which have been introduced with SQL 2008. As example sql2linq.
    The point is, to prevent a complete new implementation only for reason to add one db field

    2 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  2 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
  16. Provide a secure ajax framework

    Currently there is no universal way to provide json / ajax application with authentication without using session or ssl , This means using web api is difficult

    7 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
    planned  ·  Daniel Roth responded

    We are working to improve the security story for ASP.NET Web API in a future release.

  17. Better error handling

    When trying to handle errors in ASP.NET, you have to jump through a series of unintuitive and often poorly documented hoops to catch an exception and handle it in a sensible way. The non-senisble and default way to handle exceptions would be to redirect to a static HTML file that responds with an HTTP 200 Status Code, which is so wrong it's crazy that it's even available as an option, nonetheless set as the default.

    It's also extremely confusing that IIS and ASP.NET each tries to handle errors on their own way, with their own corresponding, diverging and confusing configuration…

    141 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  7 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
  18. 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
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
  19. Allow the relocation of projects from a solution folder

    If you create a project which has an associated project with it but then you want to add in another project but want the solution to now be a level up, as soon as you move the solution, the project cannot be found. You can remove the project and re-add it, when ideally you would right click on a project and tell VS where the project now exists - normally just a level down.

    3 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
  20. Productivity - Move Type To Its Own File

    When VS detects that a type exists in a file that is named for another type in the same file, present a glyph (ctrl+.) that can be used to move the type to a new file named for that type.

    7 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  General ASP.NET  ·  Flag idea as inappropriate…  ·  Admin →
1 3 Next →

General ASP.NET

Feedback and Knowledge Base