In Eclipse, in the menu, I can go to Window -> Preferences -> Keys and set the Scheme to "Emacs." I can also click "Export" at the bottom-right hand side of the dialog to export a .CSV file containing a listing of my keyboard mappings.
How do I re-import this configuration into a different installation of Eclipse? The File -> Import opt...
I have a class
public class Broker
{
public Broker(string[] hosts, string endPoint, string port, Type remoteType)
{
}
}
Which I want to configure using Unity XML Configuration, I can configure it using code in C# as follows already, where "container" is my Unity container
container.Configure<InjectedMembers>()...
Hi
In all my projects till now, I use to use singleton pattern to access Application configuration throughout the application. Lately I see lot of articles taking about not to use singleton pattern , because this pattern does not promote of testability also it hides the Component dependency.
My question is what is the best way to store...
I'm working on a solution that has two projects: One ASP.NET web application, and one Custom Web Control library.
The custom control library is used in the asp.net application. When I compile the solution, the app.config file of the custom web control library is not transfered with the dll to the ASP.NET apllications bin folder?
How can...
We have a custom section in my app.config file related to our IoC container class. How can I get intellisense when editing the config file for this section, as well as getting rid of the compiler messages informing me of the missing schema.
I found this question here: app.config configSections custom settings can not find schema informa...
Hi,
I want to store the username/password information of my windows service 'logon as' user in the app.config.
So in my Installer, I am trying to grab the username/password from app.config and set the property but I am getting an error when trying to install the service.
It works fine if I hard code the username/password, and fails wh...
I'm not even sure if my question is worded right...but I'll try to explain what I'm struggling with at the moment. I'm not highly experienced with this so forgive me if my explanations aren't the best....and I'm also trying to simplify my build script for the purposes of this question so if I'm missing some detail let me know...
I am mo...
Hi,
Is there any possiblity to read a .config file in a dll assembly? At the moment I use OpenExeConfiguration on a Assembly.Location Property which seems to work. But I want to create separate .config files for different usages like ConfigModuleA.config, ConfigModuleB.config etc.
Any idea?
...
Hi all,
Is there a way to configure the directory where all the configuration files are stored by IntelliJ IDEA (version 8.0.1)?
By default, these files are stored in %home%\.IntelliJIdea80..., but I want to define another location...
Thanks.
...
Hi,
We are trying to get different SharePoint web applications to authenticate against different sub-domains.
We have three web applications:
http://customers.xyz.com
http://internal.xyz.com
http://partners.xyz.com
and we have three sub-domains in our active directory.
Now we want the three web-applications to authenticate against dif...
Hi,
my web service was working, then suddenly it stopped. After debugging I realized that there might be a problem in the config, and for some reason the .svc mapping was gone in IIS (Handler Mappings).
I added the .svc mapping, and it is now updating my web.config and adding a node to the web.config (my previous web.config's didn't h...
I've often seen people use Perl data structures in lieu of configuration files; i.e. a lone file containing only:
%config = (
'color' => 'red',
'numbers' => [5, 8],
qr/^spam/ => 'eggs'
);
What's the best way to convert the contents of these files into Python-equivalent data structures, using pure Python? For the time being...
Here's a problem that I've been running into lately - a misconfigured apache on a webhost. This means that all scripts that rely on $_SERVER['DOCUMENT_ROOT'] break. The easiest workaround that I've found is just set the variable in some global include files that is shared, but it's a pain not to forget it. My question is, how do I determ...
Hi,
it seems that I just solved my problem why I couldn't use the ASP.NET Configuration Tool in VS2008. It seems this tool doesn't work when the aps.net solution is located in a folder containing special characters - spaces for example. Actually, I didn't discover this myself. I found it on various forums.
What puzzles me though is th...
I would like vim to color "long" lines for me. Using 80 columns as an example, I would like to highlight lines that exceed that length. Here is roughly what I think the .vimrc file should contain, although it (1) doesn't work, and (2) uses Perl's regex syntax to illustrate my point, because I don't know Vim's well enough:
...
highligh...
How would the following scenario best be implemented:
There is a standardized user interface for an application in version 1.0, e.g. an order form. This application gets customized to fit the needs of different customers. This could be an extra field "desired delivery time" for customer A, the omittance of the field "phone number" for c...
following the wealth of information found here how can we get an external .config to work? I've tried the same setup I would use for an external appSettings file, but it is unable to find the file for my custom section.
<configSections>
...
<section name="CustomSettings" type="Fully.Qualified.TypeName.CustomSettings,
AssemblyNa...
I have a class library that I have built that includes several service references. In order to move the project forward I've copied the <system.serviceModel> config section from the app.config into the web.config. It works fine for now because I only have two references that I am tapping into at the moment. The problem I will be running ...
Is there any way to access the <compilation /> tag in a web.config file?
I want to check if the "debug" attribute is set to "true" in the file, but I can't seem to figure out how to do it. I've tried using the WebConfigurationManager, but that doesn't seem to allow me to get to the <compilation /> section.
Update:
I know I could easil...
I am trying to install and configure MySQL 5.0.41 on Windows Vista Home Premium and am getting the following error message:
Could not connect to the Service Control Manager. Error: 0
I am running the installer via an Administrator account, so I'm not sure why it would not have access to this. Any ideas?
...