General ASP.NET
-
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 -
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 -
Highlight shadow style(s) in css
When editing a style in a css file it would be nice to know if it is overriding another style with same name/id. Check the stylesheets in the solution for the given class/id. Lets say .headeritem exists in a file and now I define it in anoter style in the same solution. Then I would like to know it.
4 votesBrilliant idea. Thanks
-
Yellow Page Of Death should display Date and Time
The exception page "Yellow Page of Death" should display the date and time when so developers would be able to ask the customer to take a screenshot and then check if it should be there according to recent bugfixes
4 votes -
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 -
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 -
allow predeploy and postdeploy build task with user interface interaction
using web publishing wizard, i would like to add predeploy task that let me ask the user to commit the source before deploy, and/or ask the user for description for a tag or post deploy task to store the publish details in an external db for logging, allowing build task to have user interaction we can improve the deployment process and make more customizable
4 votesThanks for the suggestion. As we discussed by email it is possible to extend the publish process itself, but currently it is not possible to extend the UI/UX of the publish dialog itself.
So the request here is to have extensibility on the publish dialog itself.
This is the first time that I’m hearing this request (excluding internal Microsoft people). I am curious to see how many others are interested in this.
If the vote count gets high enough we will take a closer look at this.
-
ASP.Net Report Viewer in Medium Trust on Local Mode
Because a full trust hosting environment is much more expensive then a medium trust one...
4 votes -
client method for javascript
allow devs write javascript methods (or better - let devs write c#/vb method and then let the compiler translate it to javascript) in the asp.net page "code behind" and add a new keyword: "client" or something to destinguish methods that will be server side or client side
4 votes -
Make inbuilt controls use an editable template or add default properties
When using an inbult ASP.Net control you're stuck with the default rendered HTML output and changing the output is a tedious and time consuming task.
Allow the user to create a template to be assigned to a control, so when this control (for instance something as simple as the HTML rendered by using a ASP.Net Panel control, could be used) - this would also allow you to assign CSS defaults, control properties etc to the control whenever it's used.
This would eliminate the need for the user to manually assign a class or specific property to the control whenever it's…
4 votes -
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).
4 votesThis is currently available in Web Essentials 2012. Download here http://visualstudiogallery.msdn.microsoft.com/07d54d12-7133-4e15-becb-6f451ea3bea6
-
ASP.NET - Profiling using IIS Express
Currently profiling doesn't work using IIS Express only the Cassini dev server. Would be nice to be able to do everything in IIS Express that you can do with the dev web server.
4 votes -
Support all AspNetCompiler parameters with websites in solution file
The AspNetCompiler task has a great many features, and among them is the ability to specify a particular version of the ASP.NET compiler to use via ToolPath. Websites inside solution files contain constructs similar to AspNetCompiler tasks, but these seem to be missing support for ToolPath, and I suspect support for other properties as well. My solution looks like this:
ProjectSection(WebsiteProperties) = preProject
SccProjectName = "SAK"
SccAuxPath = "SAK"
SccLocalPath = "SAK"
SccProvider = "SAK"
TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0"
Debug.AspNetCompiler.VirtualPath = "/MyPath"
Debug.AspNetCompiler.PhysicalPath = "MyPath\"
Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\MyPath\"
Debug.AspNetCompiler.Updateable = "true"
Debug.AspNetCompiler.ForceOverwrite = "true"
Debug.AspNetCompiler.FixedNames = "false"
Debug.AspNetCompiler.Debug = "True"
Debug.AspNetCompiler.ToolPath…
4 votes -
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 -
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 -
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
4 votesWe are working to improve the security story for ASP.NET Web API in a future release.
-
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 -
4 votes
-
Razor Engine in Class libraries
I want to be able to use razor, views and models like this:
string htmlString = RazorEngine(myView, myModel);
I need to be able to do use this in class libraries, not just mvc projects.
4 votes -
4 votes
- Don't see your idea?