Posts Tagged ‘IIS’

IIS 7.5 Application Pools: Understanding default identity “ApplicationPoolIdentity”

In former versions of IIS the default identity for application pools was “NetworkService“. Using this option, the application pool runs under the built-in and low-privileged Windows identity “NETWORKSERVICE“. The disadvantage of this (old default) option is that multiple services using the Windows identity “NETWORKSERVICE” are not isolated from each other, i.e. services could theoretically read, [...]

Read more…

Microsoft IIS 7: Enable Client Side Browser Caching for static Content in Web.config

To optimize the performance of a web site that is hosted in Microsoft’s Internet Information Server 7 it is reasonable to enable client side browser caching for static content (like for example image files, CSS files or JavaScript files) that probably won’t change in the near feature. You can find more information and best practices [...]

Read more…

ASP.NET: Prevent IIS 7.5 from overriding custom error pages with IIS default error pages

I’ve created a ASP.NET MVC 3 application with custom error pages for HTTP status code 404 (“Not Found”) and 500 (“Internal Server Error”). I registered my custom pages in the Web.config as follows: <configuration> <system.web> <customErrors defaultRedirect="/Error/InternalServerError" mode="RemoteOnly"> <error redirect="/Error/NotFound" statusCode="404" /> <error redirect="/Error/InternalServerError" statusCode="500" /> </customErrors> </system.web> </configuration> After deploying my ASP.NET application to [...]

Read more…