-
IIS 7.5 on Windows 7: How to fix “HTTP Error 401.3 – Unauthorized”
If you try to run a web application on IIS 7.5 and Windows 7 and you get the following error HTTP Error 401.3 – Unauthorized You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server. it […]
-
ASP.NET: Disable browser and proxy caching for aspx resources
The following lines of code can be put into a .aspx file to prevent the resource from being cached on clients or proxies: To prevent caching, these lines of code change the header of the server’s HTTP response by setting the following values: Cache-Control: no-cache, no-store Expires: -1 Pragma: no-cache You can read more about […]
-
ASP.NET MVC 3: Use re-mix library to add controller actions with mixins – Part 2
This is an update to my previous post “ASP.NET MVC 3: Use re-mix library to add controller actions with mixins”. In November last year I implemented a prototypical approach that uses mixins to add actions to ASP.NET MVC 3 controllers. Since .NET does not support the mixin concept out of the box, I used the […]
-
ASP.NET MVC 3: Support multiple submit buttons in one form with HTML Helper MultiSubmitButton
Out of the box ASP.NET MVC 3 only supports one submit button for each form. To be more precise: The MVC 3 framework only supports one submit action for each form, i.e. all submit buttons in the form post the data to the same URL (the URL that is defined in the action attribute of […]
-
ASP.NET MVC 3: Async jQuery progress indicator for long running tasks
If you have long running (server side) tasks in your ASP.NET MVC 3 web application it could be reasonable to provide the user with information about the current progress of this task. In this blog post I will show how such a progress indicator could be implemented using jQuery and AJAX. The basic idea is […]
-
ASP.NET development: Features, tips & tricks you should know about
In this blog post I will list features, tips and tricks that one should know about when developing ASP.NET web applications (some of them will also work for ASP.NET MVC applications). The points listed below are not sorted in any way; it’s just a conglomeration of things that only need little (programming) effort to speed […]