[Mono-list] Webservise Discovery Language
kornelpal at gmail.com
Tue Nov 7 12:56:15 EST 2006
ASP.NET applications should reload automatically on Web.config change so
there should be no need for restarting mod-mono-server (if you mean that on
mono). If you have a problem like that please file a bug report.
If you mean the Web.config modification described on
http://msdn2.microsoft.com/en-us/library/tewz1055.aspx in "To enable dynamic
discovery for a Web service" I suggest you to create your own IHttpHandler
implementation that wraps
System.Web.Services.Discovery.DiscoveryRequestHandler and that will make you
able to disable it based on static fields or your own configuration files.
If you use this method I can send you a simple implementation of this.
You are using some other Web.config settings please let me know what exactly
do you use.
----- Original Message -----
From: "Ben Clewett" <ben at clewett.org.uk>
To: "Kornél Pál" <kornelpal at gmail.com>
Cc: <mono-list at lists.ximian.com>
Sent: Tuesday, November 07, 2006 6:41 PM
Subject: Re: [Mono-list] Webservise Discovery Language
> Kornél Pál wrote:
>> Web.config is intended to do configuration. What exactly is your problem
>> with that?
> Hi Kornél,
> Thanks for the reply.
> I have six servers to manage. We sometimes release ten version of code a
> day, which over-write the Web.config. Editing this file is potentially
> dangerous. After an edit, I have to re-start the mono.
> My feeling is that this file must be interoperated by some part of the
> Mono suit (stop me if this is wrong.) It would be much better for me if
> control could be administered by some simple flag. Or even a static
> public variable in mono.
> If this is not possible, it's not so important. I am just interested to
> know if there is an alternate method.
> I can't be the only member who would like better control of this.
> Alternatively, do any members have scripts to toggle the Webservice
> Discovery which are safe and fast?
> Thanks again,
>> ----- Original Message ----- From: "Ben Clewett" <ben at roadrunner.uk.com>
>> To: <mono-list at lists.ximian.com>
>> Sent: Tuesday, November 07, 2006 5:38 PM
>> Subject: [Mono-list] Webservise Discovery Language
>>> Sorry if this has been asked many times before....
>>> We develop ASP-Webservice code, which runs better than perfect on Mono.
>>> On our development system, we want the Webservice Discovery turned on.
>>> On our live systems, we want it optionally turned on.
>>> The only way I know of doing this is to edit the Web.config file.
>>> But this is messy, if done badly can crash the webservice, it has to be
>>> done on every release and every time we want to toggle this option.
>>> Do any of your members know a simple and elegant method for toggling the
>>> Webservice Discovery visibility?
>>> Thanks for your help,
>>> Mono-list maillist - Mono-list at lists.ximian.com
More information about the Mono-list