I read a xml file (myConfig.config) and provide it as an input to a CLR method. When I make changes to this xml file, it doesn't seem to be recognizing it. When this line throws an error, I always see the first version of the file as a part of the error message.
In the config file properties, I have set Copy to Output Directory as Copy ...
I am trying to pass strings to my build Factory function. One string would be the path and name of the EO.dll. The other would be the path and name of the Map.dll.
When I was hard coding the class name this worked for me.
//// this was the origonal
//m.HbmMappings.AddFromAssemblyOf<Add...
I have a bunch of self-hosted WCF services. Everything's working fine but I'm look for ways to normalize/simplify the resultant config. I've simplified it as much as possible, but I'm still not happy. Currently, my config looks like this:
<system.serviceModel>
<bindings>
<netTcpBinding>
<binding name="BindingConf...
I'd really like to have the various iphone configurations each targeting it's own sdk; right now I've set them up in this way:
simulation : base sdk -> iphone simulator 3.0, no code signing
debugging : base sdk -> iphone os 3.0, signed with provisioning certificate
distribution: base sdk -> iphone os 3.0, signed with distribution cer...
As far as I know I can access the web.xml <context-param>s by making my class implement ServletContextListener and use the ServletContext.getInitParam(String) to read them, but it´s cumbersome as only one instance of the class will receive the contextInitialized(ServletContextEvent sce) call, so I need to make the ServletContext an stati...
Is there a way to find the name (and path) of the current application's config file from inside a class library?
E.g. in a web app this would be web.config, in a windows app or service this would be myapp.exe.config.
...
I have a WCF service with multiple operations exposed as a RESTful API. Most operations on the service do not require authentication/authorization, but one or two do. The authorization policy I need to use is outside of my control, and is expensive to run. Therefore, I'd like to avoid using it on those operations that do not require it.
...
As the title says - I need to change css-class-wrapper parameter at runtime, preferably in action class. I've found that Portlet interface has setCssClassWrapper method that could probably do what I want, but I can't seem to find any easy way to access current portlet object from my code. Could anyone please give me a hand with what I wa...
I am currently coding a set of helper classes to be used when creating a proxy client[for Client/Silverlight use] for consuming WCF services on the Server (NOT using Add Service Reference).
Notice how I am setting up the buffer size to the max allowed (on the first code snippet), because for some services we have some big payload requ...
Hello,
My application gets configured via a lot of key/values (let's say 30.000 for instance)
I want to find the best deployment method for these configurations, knowing that I want to avoid DEFINEs to allow for runtime re-configuration.
I have thought of
pre-compiling them into an array via a php file
pre-compiling them into a tmpf...
I'm working with a small web page that is meant to assist the users of my application. This web page takes a file and sends it to a central server, which then does something with the data and returns a result. I created this application some time ago and am coming back to it recently. I am getting some kind of configuration error right n...
Dears,
I had a problem.
I´m using the php script calle SocialEngine and I´d like to use nginx to cache the static content.
I have 2 otpions
1) Cache some dirs like /images/ , /templates/ , /include/css/ , /include/js/... etc
2) Caache some static files like: .css, .tpl, .js, .gif, etc...
I prefer use the first option, but the second...
Hello.
I have a client apllication that run in very restricted area - it has no direct access to computer, where it is running. I don't want to invent another one System.Configuration system to configure my application.
But there is no method in ConfigurationManager, that allows to load configuration from string or Stream.
It seems to...
Hi all,
I have app.config in m win application, and loggingConfiguration section (enterprise library 4.1).
I need do this programatically,
Get a list of all listener in loggingConfiguration
Modify property fileName=".\Trazas\Excepciones.log" of several RollingFlatFileTraceListener's
Modify several properties of AuthenticatingEmai...
Hello,
I wonder, if there is a way to make VS C++ Express console window appear as tab, like 'Output' or 'Code Definition Window', rather than new window (the same way like Eclipse does). Any IDE settings or plugin?
Thanks in advance,
Regards, Pawel (PL)
...
I have an Java applications which I would like to run with different values of input parameters (specified in the command line). In "Run -> Run Configurations" I have created different configurations corresponding to different values of the input arguments.
I can run these configurations in the same way (throw "Run -> Run Configurations...
I'm trying to add a simple configuration to a SSIS package, of type SQL Server, so stored in a table. At the end of the wizard, when it goes to try and write a new row to the nominated table to store the configuration it fails with the error:
TITLE: Microsoft Visual Studio
Could not complete wizard actions.
Cannot retrieve configuration...
Hi,
As I am going through my journey by adopting the Ruby language, I spend a lot of time inside IRb. It's just fantastic! But, as I am not very aware of it's capabilities, and still a nuby with Ruby, I would like to know the following:
How can I 'flush' the session,
without restarting IRb (or is this
not possible).
How can I configur...
I need my program to create and edit a config file, which would contain information about set of objects, and than read it at every execution. Is there some sort of guideline for config style that i can use?
I'm using C++ on windows.
...
Hello, some one know how can I manipulate on some configuration over all projects in solution?
For example, I create new configuration "Releas64" that means: "No debug, 64 bit, all files goes to c:\binaries", but I need to go over all 30 projects in our solution for to set those settings for every project.
Is there some tool?
Thank yo...