Top "Web-config" questions

web.

Allow anonymous authentication for a single folder in web.config?

So here is the scenario, I have an Asp.Net application that is using a custom authentication & membership provider …

asp.net authentication web-config
How to read appSettings section in the web.config file?

My XML looks like this and the filename is web.config <?xml version="1.0"?> <configuration> <appSettings&…

c# asp.net web-config
how to set start page in webconfig file in asp.net c#

how to set start page using webconfig file .I have tried this code <system.webServer> <defaultDocument enabled="…

asp.net configuration web-config
How to enable GZIP compression in IIS 7.5

I want to compress my files using GZIP. Can you share the web.config code for compressing files with GZIP? …

compression gzip web-config
How to configure static content cache per folder and extension in IIS7?

I would like to set up rules in IIS7 for static content caching in my ASP.NET website. I have …

iis iis-7 caching web-config http-headers
How do you modify the web.config appSettings at runtime?

I am confused on how to modify the web.config appSettings values at runtime. For example, I have this appSettings …

asp.net web-config runtime
Web.Config Debug/Release

I know that web.config in Visual Studio 2010 provides the ability to switch from databases from Debug mode to Release …

c# asp.net web-config
Change a web.config programmatically with C# (.NET)

How can I modify / manipulate the web.config programmatically with C# ? Can I use a configuration object, and, if yes, …

c# web-config
How to change the value of attribute in appSettings section with Web.config transformation

Is it possible to transform the following Web.config appSettings file: <appSettings> <add key="developmentModeUserId" value="00297022" /> &…

c# asp.net .net web-config
Implementing a Custom Error page on an ASP.Net website

I have an ASP.Net website and I want to use a custom error page. I put the following code …

asp.net web-config custom-error-pages custom-errors