configuration

CherryPy combine file and dictionary based configuration

I'm setting up a CherryPy application and would like to have the majority of my configuration settings in a .conf file like this: [global] server.socketPort = 8080 server.threadPool = 10 server.environment = "production" However I would also like to setup a few with a dictionary in code like this: conf = {'/': {'tools.staticdir.on': ...

What's the difference between tagged and untagged port in a VLAN configuration?

What's the difference between tagged and untagged port in a VLAN configuration? Switch model: hp ProCurve 1810G-24 cheers daniel ...

configuration setting for appfabric

Hi, I am getting error "ErrorCode:SubStatus:Error in client configuration file." while working with app fabric. When I try to create the object, it breaks and throws the above mentioned error. DataCacheFactory dcf = new DataCacheFactory(); The config file is as follows: <?xml version="1.0" encoding="utf-8" ?> <configuration> <!--con...

Several plugin configurations for Visual Studio

I have a lot of different extensions for Visual Studio: addins, different language extensions. And now my VS became too heavy. What I want to do is to create several lightweight configurations for visual studio, so that I can start a configuration with a set of extensions that I need at a particular time. I remember that I did something ...

creating configuration file in php

hi, i want to create the configuration file , which will have the application id and update path two variable , when i will pass the application id in the api it will return the update path of that application id . how i will achieve this making of configuration file. regards rahul ...

Current used APN?

Hello, I added two APN configurations and then scanned the APN database. I noticed that both APN entries are marked as "current=1". how can I identify the currently active APN configuration programmatically? thanks! ...

Where on a remote workstation should I put a CSV-config file for distributed JMeter testing?

I want to make JMeter distributed testing. It was said in the manual that first I should start jmeter-server on remote nodes, and then I should update jmeter.config and run jmeter on a master node. I did all these steps. My test plan includes working with CSV-config files. If I test just from 1 (master) node - then everything works as...

CodeGear configuration name

In Codegear 2007, I'm trying to do some file deletion and copying during the pre-build and post-build events that involve folders named after the current configuration. In Visual Studio, this is easily done with the $(ConfigurationName) macro. Is there any equivalent to this in CodeGear? If not, is there a workaround I can use? ...

Considerations for ASP.NET application with long running synchronous requests

Under windows server 2008 64bit, IIS 7.0 and .NET 4.0 if an ASP.NET application (using ASP.NET thread pool, synchronous request processing) is long running (> 30 minutes). Web application has no page and main purpose is reading huge files ( > 1 GB) in chunks (~5 MB) and transfer them to the clients. Code: while (reading) { Response....

Creating a typed configuration class using MS Enterprise Library 5.0

I have a ASP.Net 4.0 web application for which I need to create typed configuration class. What I mean is as follows: class SettingsClass { int count; string name; decimal amount; } Should map to the configuration file as: <MyAppSettings> <xmlSerializationSection type="..."> <SettingsClass> <count>...

Unity 2.0 XML configuration with generics

This is kind of a follow to my other post about Unity (http://stackoverflow.com/questions/3998559/irepository-iservice-unity-in-an-asp-net-mvc-application-reference-question). Basically I'm trying to register a generic type in the web.config. I've read a few posts and this SEEMS like it is configured correctly. <unity xmlns="http://s...

Typed configuration data in a separate config file in ASP.Net 4.0?

I have an asp.net 4.0 web application. I need extensive configuration data for this web application, that is strongly typed and the structure of this configuration data is going to be fairly complex (cannot do with key-value pairs). In the past I remember having done this in .Net 2.0 but cannot figure out how I will do it in .Net 4.0. T...

Using App.Config from Command Line for C# Programs

Hello...I am learning log4net and currently testing out how to use App.Config for XMLConfiguration. The problem is that I do not have a .NET IDE such as Visual Studio 2008 or Express Edition at office (don't get me started on why/how :-)) I need to compile and run my code where log4net reads the configuration settings from App.Config....

Content elements for wordpress

I'm looking for a plugin (or better yet, not a plugin) for wordpress that lets me generate standard content elements, or includes for posts and pages. For example, my_content_1 could be: buy it now for $23!! Which could then be included in posts and pages using some kind of syntax (or whatever) like: Welcome to my site, blah blah bla...

looking for a remote configuration solution

I'm writing a large distributed application, i want to be able to configure all my components remotely. is there a framework available to help me with this? using .net 3.5 ...

How can I configure all the Catalyst actions in a given controller using Config::General?

I want to configure all the actions in my controller using my app's config file. According to Catalyst::Controller I can do this in the controller itself: __PACKAGE__->config( action => { '*' => { Chained => 'base', Args => 0 }, }, ); So I tried this in my config: <controller Foo> <action "*"> ...

PHP image grab when allow_url_fopen=off

I am using thesis theme on my wordpress blog. I am hosting my blog at byethost which has allow_url_fopen=Off and allow_url_include=Off In one of the function, code is trying to read an image url path. From what I understand, if fopen is ON, it will execute "if" case otherwise "else" case if ($thesis_design->image['fopen']) $imag...

Is there a tool to generate a sample application configuration by analyzing a ConfigurationSection type and its attributes?

I am working on an application that has a large set of configuration values, modelled and organized through the .NET configuration types from the System.Configuration namespace (i.e. ConfigurationSection, ConfigurationProperty, ConfigurationElement, etc...). Several values are required and may or may not have defaults, while others are ...

What issues to anticipate having different collations between development and production SQL Servers?

Subquestioning "Unable to update sys.columns - any other approach?" vaguely mentioning the problems on deployment to server with a different collation. The problem is that by default SQL Server collation is determined (during setup) by Windows Regional and Language Options --> Advanced --> "Select a language to match the language vers...

Web.config Transformations in VS2008

Someone had asked me if you can perform config transformations in Visual Studio 2008. I know you can as I do remember several articles on this. However, I can't seem to find any of the links as of now. Can anyone point to an article on Google/Bing/Search of the week and/or provide a quick sample so that I may pass it on? Everything I'm f...