web-config
How can I add location elements programmatically to the web config?
I have an application which creates page routes from a database. My whole site is secured with forms authentication but I need to allow unauthenticated uses to access these routes. I don\'t want to ha[详细]
2023-04-11 19:34 分类:问答Login failed for user 'IIS APPPOOL\ASP.NET v4.0'
I have a web project (C# Asp.Net, EF 4, MS SQL 2008 and IIS 7) and I need to migrate it to IIS 7 locally (at the moment works fine with CASSINI).[详细]
2023-04-11 11:37 分类:问答how to change to connection string in web.config dynamically
I defind the conne开发者_Python百科ction string in web.config <ConnectionStrings> <add name=\"student\" connectionString=\"Server=student;Max Pool Size=300;Initial Catalog=studentDB;User ID[详细]
2023-04-11 07:26 分类:问答SecurityTrimming, Custom RoleProvider and server 500 error :(
I have a custom roleprovider working with standard asp sitemap and menu control. I have securitytrimming enabled, and menu items successfully disappear/reappear as I amend the web.config as so:[详细]
2023-04-11 04:38 分类:问答Working with Web.Release.config (Web.config transformation)
In my Web.config file have the following setup: <add key=\"ClientMail\" value=\"ridermansb@bindsolution.com\"/>[详细]
2023-04-11 01:55 分类:问答Restrict unauthorized access to file download using handler
I am working on a website where the images and other files are handled by a handler named resources.ashx. These files are not stored in any folder but are fetched from database.[详细]
2023-04-11 01:39 分类:问答How to Modify web.config automatically when using Custom Server Control?
I am trying to create a Custom Server Control in C# us开发者_如何学Going VS2008. I am using this custom control that actually requires me to modify the web.config file in order to add an HttpHandler w[详细]
2023-04-10 23:44 分类:问答Using web.config file for redirect
Using only the web.config file, I need to redirect from one domain to another, and I also need to redirect each individual page (there are 25 of them) in my website to its corresponding page under the[详细]
2023-04-10 19:56 分类:问答How can I prevent automatic carriage returns (line wrapping) after copy/pasting web.config XML nodes?
How can one prevent automatic carriage ret开发者_运维百科urns for copy/pasted web.config XML nodes?[详细]
2023-04-10 15:46 分类:问答How do I handle multiple web.config transforms for different instances when dealing with multiple publish targets?
I have an Asp.NET MVC site that I manage multiple instances of.Each instance uses it\'s own database but the code base is all the same.To facilitate this I have several build configurations with match[详细]
2023-04-10 06:39 分类:问答