configuration

Set WCF ClientCredentials in App.config

Is it possible to set clientcredentials for an WCF in App.config? I would like to avoid doing this: Using svc As New MyServiceClient svc.ClientCredentials.UserName.UserName = "login" svc.ClientCredentials.UserName.Password = "pw" ... End Using Rather the login and password should be part of the configuration. ...

OpenLDAP configuration error ldap_bind: Invalid credentials (49)

I'm using Ubuntu 10.4 server and I'm trying to configure OpenLDAP as a protocol for authentication for SVN and other services. However I quite don't understand how ldap works and after setting a example config I tried to populate it without success. This is the error: ldap_bind: Invalid credentials (49) It seems to be example config p...

Storing configuration data in sqllite

I have a fairly complex winforms application and I m contemplating storing my config data in a sqllite db file rather than the ususal regular app.config/ xml files. The reasons being - Data in a db is more resilient to accidental changes by administrators. I can easily conjure up a data entry form to manage configuration. The ...

What is the difference between system configuration and system state ?

Today in a design meeting we discussed the topic of where to store configuration and state of a distributed application. It turns out that in that meeting, some developers understand different things when they hear configuration or state. Some even think that configuration and state are exactly the same thing. My very shortly summariz...

Get apache to serve different site to developers for same URL

OK. So the customers existing site is running nicely on the server from /home/nfc/public_html at the URL www.example.com. We've developed a new site under /home/nfc2/public_html and this has been checked by using a development URL such as nfc2.dev.example.com. Lovely. But now I want to test for various links etc and check all works as...

cisco any connect vpn on iphone

Hi, Do any guy know how to setup cisco any connect vpn on iphone. Iphone has vpn settings, which requires server, account, group name, group shared password (via IPSEC). However while using cisco any connect vpn, i just have server, account and group name information. Is there an app that similar to cisco any connect vpn there? Thank...

How should I set up RAD/Eclipse to work with JavaScript files and libraries?

I'm working on some javascript files in a Maven project web application in RAD 7.5. My files use libraries, and refer to each other. I'm having trouble working out how to set RAD up so that I get error-checking and code completion. Right now, all my scripts show errors wherever I use an external library. I've set up my folders and scri...

Configurable Content System in ASP.NET

I need to design a configurable content system for all of the text in our web application that will tie together our need for Translation with the ability for Groups of users, Subgroups of users, and single Users to configure what a given label, Error Message, or piece of system text says. Because everything needs to be configurable th...

How can I check with which options was program compiled?

Hi, I would like to know options which where passed to program before make, which is currently installed on my Ubuntu (from deb). I would like to compile it manualy with the same options (+ some extra). ...

ASP.NET - Have settings in the Web.config (and access them using ConfigurationSection) or in a separate XML file

I have few settings which I could place in a separate XML file and have them accessed in the Web app. Then I thought (thinking of one additional file to deploy), why not have them in the web.config itself. However, just because I need to have custom nodes, I can not have the settings under . So, I am thinking of creating a custom config ...

retrieve all configuration settings that are loaded by the configuration manager

Is there any way to enumerate through all settings to get the values that have been loaded by the configuration manager? Maybe I'm being dense here, but I can't find a way to enumerate through the settings that are contained within a section group. I have a WCF service which is a designed to allow the calling system to pass in request ...

AppFabric Caching - Can I specify serialization style used for all objects?

An object which implements some custom serialization can be serialized and deserialized to different formats, for example to Xml or byte[]. I have run into a problem where when I put to cache, AppFabric runs the IXmlSerializable implementation on a class when I would rather force it to go with binary. http://stackoverflow.com/question...

notepad++ user defined regions with folding

I can't figure out how to configure notepad++ to display regions for specific user defined keywords. I have i big trace file which show the start and the end of a procedure. The trace file looks like this: Beginn abc.def; ... Beginn ghi.jkl; ... Ende ghi.jkl; ... Ende abc.def; I would like to fold those regions like th...

What is Best Practice for persisting configuration settings in EAR files?

My application is deployed as an EAR file. The application has traditionally required that some post installation configuration changes be made. This was easy with the Oracle 10G OAS as the EAR was exploded into a directory thus allowing easy access to configuration files. With 11G, the EAR is not exploded resulting in additional d...

If you are using Apache ZooKeeper, what do you use it for?

Is someone out there who is using ZooKeeper for their sites? If you do, what do you use it for? i just want to see real word use case? ...

Wordpress errors on windows IIS hostiing?

I have installed latest wordpress version on my WINDOWS 2003/IIS server, which has PHP support enabled. All goes well except few things: When I am trying to update a plugin automatically from wordpress dashboard, then it gives me this error "Could not remove the old plugin. Plugin upgrade failed." I tried to edit CSS of my theme, but w...

ConfigurationManager keeps getting Machine.config connection string.

I have a c# assembly that uses the app.config to store its database connection string. When debugging the application I noticed that the connection to the database kept failing because the ConfigurationManager kept returning the machine.config connection string: data source=.\SQLEXPRESS; Integrated Security;.... I added <clear/> before...

Generic user interface for editing C# application configuration files

I am developing some little tools in C#, basically they just work fine as a console application with some configuration values read from the exe configuration file (System.Configuration). But editing an XML file is not what you could call a great User Experience, so I am searching for a tool/library that could create a simple configura...

Configure IHttpHandler in the Test Web Server

I am trying to implement an IHttpHandler. I have defined an appropriate class but the debug web server (you know, the one you get if you hit f5 in Visual Studio) is responding with "Can't Display Page". I looked here http://msdn.microsoft.com/en-us/library/ms228090%28v=VS.90%29.aspx to learn how to configure the handler, and it seems th...

Where to save configuration data for custom CMS?

What are the benefits of storing different configuration data of a website: in database in file elsewhere? ...