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. A better Web Deploy authoring experience

    Make the Web Deploy authoring and packaging experience more powerful. Add editing support into VS to add custom deployment steps and control all the providers that WD supports.
    There is a lot of power in Web Deploy that most developers don't use since they rely in the default build steps and don't want to go through the hassle of authoring the Web Deploy packages manually.

    Ideally I want to right-click my project, choose "Add custom Web Deploy step" and do things like setup IIS bindings, create a registry key, register a certificate, set file permissions etc.

    Then when I build…

    53 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  Web Deployment  ·  Flag idea as inappropriate…  ·  Admin →

    Thanks for the idea. I agree that this would be pretty cool.

    I’m not sure if you are aware but in VS2012 when you create a publish profile we save the file as .pubxml under Properties\PublishProfiles.

    I was thinking that we could have a .pubxml editor/designer. So the idea would be that if you wanted to fine tune your publish/package process you could edit the .pubxml file in that way.

    My only hesitation is that I’m not sure how many people would be interested in this. If we get a good amount of votes on this item we can do a deeper investigation on this.

  2. Dynamically add new bundles after Application_Start has occurred

    It would be great to have a way to automatically flush the bundle cache and create new bundles when a new folder is created underneath the bundle path as described at http://stackoverflow.com/questions/15328040/how-can-i-dynamically-add-bundles-after-application-start-has-occurred.

    23 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  3. File System publish extensibility

    Current the publish process from VS for FileSystem is different from the command line.

    Because of this if you have customized your .pubxml for a File System publish to execute steps after publish they will not be executed.

    We should have parity from command line and VS for FileSystem publish.

    10 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Web Deployment  ·  Flag idea as inappropriate…  ·  Admin →
  4. 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 →
  5. 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.

    16 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  1 comment  ·  JavaScript  ·  Flag idea as inappropriate…  ·  Admin →
  6. add intellisense support for DynamicControl's DataField property when used with ItemType

    example:
    <asp:FormView runat="server" ID="fv1" DefaultMode="Insert" ItemType="Product" InsertMethod="fv1_InsertItem">
    <InsertItemTemplate>

    <asp:TextBox runat="server" ID="txt1" Text="<%# BindItem.Name %>"></asp:TextBox>

    <asp:DynamicControl runat="server" ID="TextBox1" DataField="Name" Mode="Insert"></asp:DynamicControl>

    I would like to see Intellisense in DataField propery like it is in Text property.

    5 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →
  7. Enabling button for directly opening the search engine[Google/Bing] against each error encountered while debugging.

    Whenever we are getting some error[the error types can be classified ] while debugging,VS should provision with a single button named as "Google it" or "Bing it" against the error..so that user can directly click the button and see the results against that error in search engine instead of going to the search engine and type/paste the error and press enter.It will save developer time and improve productivity.

    14 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  8. 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.

  9. 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 →
  10. 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 →
  11. 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 →
  12. Able to store session data both in inproc and out of process, similar to mixed mode session support.

    It will be great if we can store session data both in inproc and out of process by an application similar to mixed mode session support. So that only crutial session data will be persisted out of process and some non crutial or temp ( depending on situation ) can be stored in InProc.

    This support will be utilized by non web farm or web garden architecture.

    6 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  13. 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 →
  14. 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 →
  15. 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 →
  16. 3 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  17. Make it easier to configure Web Publish Profiles

    I'd like to see a GUI for some MSBuild/Web Publish Target settings like: folder permissions (ACLs), blocking a folder from being overridden (e.g. upload folder containing user files), easy site backup before publish (to a zip file probably), etc.

    13 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Web Deployment  ·  Flag idea as inappropriate…  ·  Admin →

    Hi Dirk, I think this is a great idea. If you don’t already know the publish profiles are now stored as a part of your project under Properties\PublishProfiles. For this I was thinking that it would be good to have an editor for all the advanced properties if you double click the file.

    The only thing that I’m not sure of is how many people would be interested in using this functionality. If we can get a good amount of votes on this item then I can use that to justify the work.

  18. Add the concept of AMD like require.js

    Libraries like Require.js help to structure the javascript files into modules that are resolved on runtime or can be passed to an optimizer that bundles all javascript files into on file with the correct order.
    It would be cool to have support in ASP.NET and Visual Studio for these concept and that it would be included in the Bundling and Minification Process.
    And Intellisens should not break when using require.js.

    73 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  Flag idea as inappropriate…  ·  Admin →
    started  ·  Mads Kristensen responded

    The JavaScript editor needs to provide Intellisense when using AMD (require.js among others). This work has been started

  19. Provide virtual formatting in editors for XAML, Razor, ASP.NET Web Forms etc.

    Declarative languages that are bound to a visual tree are often heavily nested and also tend to be refactored frequently. Maintaining the formatting for these languages can quickly become a chore, even with 'reformat' features.

    Virtual formatting lets the editor handle indentation in the same way it handles syntax-coloring. Indentation of text is immediate and fluid as edit operations are completed; text just re-flows when the structure changes, there is no 'reformat' button.

    No tabs or spaces are inserted for formatting, indentation is more akin to that of word-processors (but actually a lot smarter).

    This video shows virtual formatting in…

    45 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →
  20. Add ability to encrypt connections strings (and other web.config sections) upon deployment of a web application to a web server (using publi

    I hate the fact that after publishing an asp.net web app, I need to remote into the server and encrypt connection strings and perhaps other sections of my web.config. It would be great if I could automatically kick off a post-deployment script which would do this for me.

    30 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  2 comments  ·  Tooling  ·  Flag idea as inappropriate…  ·  Admin →

General ASP.NET

Feedback and Knowledge Base