I'm trying to get a WCF web service to work with SSL, as you can imagine it works on my machine, however when I run it on the production environments I get this instead:
Could not find a base address that matches scheme http for the endpoint with binding BasicHttpBinding. Registered base address schemes are [https].
Despite many h...
I wrote my CustomLifetimeManager like this:
public class CustomLifetimeManager <T> : LifetimeManager
{
private readonly string _arg;
public CustomLifetimeManager(string arg)
{
_arg = arg;
}
}
Now, it works easy configuring the container programmatically, but how add it in configuration file like the following?
...
Hi.
This is probably a really obvious question, but it's driving me nuts.
We have a drupal installation and we need to change the site_name and site_slogan variables. It sounds like it should be easy, but I just can't find an option anywhere in the admin panels to do it. The only place I can find is in the initial installation script
...
Are there any events that will fire if someone edited my custom made application config? I wanted to know such changes and apply it on my application.
...
Will ConfigurationManager.AppSettings["blah"] throw an exception if "blah" doesn't exist in the web/app.config?
Sincere apologies for the super lazy question.
...
I have the following user setting defined in app.config:
<userSettings>
<MyProject.Properties.Settings>
<setting name="LastProcessedDate" serializeAs="String">
<value>07/06/2010 13:05:10</value>
</setting>
</MyProject.Properties.Settings>
</userSettings>
Is there a way to specify that this setting s...
I'm trying to create a NLog layout config like so:
layout = "${callsite} > ${message} (${exception:format=tostring})"
The output for this layout is (when I test it):
TestProject.Program.Main > exception thrown (System.Exception: exception message)
However, if I try to output a message that doesn't have an exception, it shows up ...
I've been using app.Config and INI files to configure my applications but I wanted to make it more user-friendly. I've already encountered some applications ( most of them are java based ) that its configurations are via web interface ( I think the application is hosting jsp ). How can I do this on .net platform fast and easy?
Thanks ...
Hi everybody,
I am trying to build a SSL secured Web Service client using CXF Spring configuration and I wonder how is it possible to tell to CXF to use this client certificate in my keystore.
This should exists because if my keystore holds plenty of certificate how does CXF is supposed to do to find the good one?
Here is my configurat...
I am kicking off some process improvements at a new company. One of the areas to concentrate on first is CM. I was asked during a briefing of what I am doing what is the difference between revision and version. I gave my explanation and then followed up with an email of the following link: http://www.product-lifecycle-management.com/...
Ultimate goal is to provide protection against programming mistakes. I want to make sure that every page in a portion of my web application has a role specified like below. Ideally I would like to programatically check all requests coming in ( think IHttpModule ) and make sure that the page being requested has a role specified.
I can'...
What's going on with the line that split out on it's own? I did a commit and then I did a pull for the repository and then an update.
What caused this?
How do I get that split part back into the main line?
...
I've installed a PHP web application that's in /opt/webapp name. However, I'd like to be able to tell MAMP pull the PHP files from something like /username/localdevversion/. The problem is that I can't figure out what tells MAMP to look for PHP files in /opt.
I've looked in /Applications/MAMP/conf/apache/httpd.conf and /Applications/MAM...
For the website(s) I am a developer for we have a number of different technologies which make up our stack, each with a different set of configurations etc.
This is a Rails stack, so we're running things including:
Nginx w/ Passenger
Varnish
Redis
Memcached
MySQL
MongoDB
As we're continually tweaking our configs and changing them to...
Hi,
I am currently struggling with the following problem.
I have successfully installed Apache2 and PHP5. And it works until I change the DocumentRoot of the Apache2 to something different than /var/www.
I want to set the DocumentRoot to /home//wwwroot, but after doing this all php pages are just white. (no download message or sth.)
H...
Hey everyone,
I've gotten this to work in the past, but now whenever I choose File > Export... > Runnable JAR File and select the drop-down menu "Launch Configuration", all I get is a blank bar.
How can I get my main class to show up?
Many Thanks,
Justian
...
I wont to write a xml configuration file that containg query to the same db, only query to view. The "query node" must have the filters parameter.
How i can write this xml file and the C# Parser , and QueryBuilder classes.
I wont some thinl like this:
<Query Name="Application Approval by Month" src="APPLICATION_APPROVAL_COUNT_BY_MONT...
I'm trying to get update values from app.config while it's running. I tried several methods but it still uses old values. How can I get correctly refresh it? I tried these but it didn't work:
MessageBox.Show(Properties.Settings.Default.MyValue);
Properties.Settings.Default.Reload();
Properties.Settings.Default.Upgrade();
Properties.Sett...
I am getting a weird message printed to standard our when hibernate starts up and i am having trouble diagnosing it.
here is the message that prints out (it shows up red in my eclipse console, so i believe that means it was written to standard error):
initialPoolSize-> coercedPropVal: 1
maxIdleTime-> coercedPropVal: 1500
maxPoolSize-> ...
Hi I'm starting a new web development project with my team using Hibernate and Spring MVC. We will be building with Maven2 and use the NetBeans IDE. Our past projects have used ant for the build system. We will be using Atlassian Bamboo for our CI server.
My question relates to the best practice for switching between dev/test/qa/product...