web-config
Proxy on Http Bindings
I have a web application connects web service on a machine uses proxy server. Connections are ok on internet explorer as shown in image[详细]
2023-04-13 03:08 分类:问答Read value from Web config,pass it to controller, put it in a viewbag and then read the values in View?
I have a simple requirement where I have 2 date values which I will be using in my view(hardcoded right now) to be read from Web config file.[详细]
2023-04-13 02:43 分类:问答ELMAH 1.2 Works great on CASSINI but I'm not able to make it works on IIS 7.5
I use asp.net 4 and C# as logging error solution I use ELMAH 1.2. I was able to use properly ELMAH on my local computer using CASSINI in Visual Studio 2010 but I as soonI move the website to a Server[详细]
2023-04-12 22:17 分类:问答Example of Configuration for <httpErrors>
I have a Web Application in Asp.Net 4 running locally on IIS 7. I need display a Custom Page (404) and an 500 instead for the defaults page for IIS.[详细]
2023-04-12 19:38 分类:问答How to Eval a value in my config file
I have the following case: I store a specific path in my web.config file like this: <add key=\"pdfPath\" value=\"domainName/aa/pdf/\"/>[详细]
2023-04-12 17:42 分类:问答How to register Autofac component per http request in web.config?
In MVC3 application I h开发者_开发百科ave my custom implementation of IPrincipal. I want to register it in web.config and then inject it to constructors by Autofac.[详细]
2023-04-12 13:37 分类:问答How to pass relative path in appsetting
i have following code and when i pass absolute path my project works but i need relative path configuration.ini is a file which is in my current project so when i give absolute path, like this ,the c[详细]
2023-04-12 03:31 分类:问答Manipulating web.config in memory
I have a web.config file open in a textbox and would like to manipulate it.For example, allowing the user to chang开发者_如何学Pythone the DBConn string or something.At the stage of trying to change t[详细]
2023-04-12 03:30 分类:问答how to share resources between multiple website?
I have three different websites that uses so开发者_如何学运维me base classes, usercontrols. And my questions here is that it possible to share these resources between this sites from single physical l[详细]
2023-04-12 02:09 分类:问答The configuration section 'assemblies' cannot be read because it is missing a section declaration
I use asp.net 4, I have some strange problem with my web.config, I receive this error. It seems that inside the <compilation> section there is some not well formatted code.[详细]
2023-04-11 20:49 分类:问答