* ServiceHostBase.cs : retrieve MessageVersion and raise an error
if there is none. (Check this earlier than building a listener.)
* ChannelDispatcher.cs : MessageVersion check is moved to
ServiceHostBase.
* ServiceMetadataExtension.cs : overwrite MessageVersion to use None.
(The only special case I found for ChannelDispatcher.MessageVersion.)
* CustomBindingTest.cs : add tests for MessageVersion check on Open().
* MetadataExchangeBindingsTest.cs : make sure that special casing of
MessageVersion does not happen at this layer.
svn path=/trunk/mcs/; revision=159061
* HttpListenerManager.cs : fixed the issue that mex_info is never
retrieved from the latest channel listener (which could be other
listener than the one which was set mex info).
* ServiceMetadataExtension.cs : raise an error if it failed to set
mex info. (Make it safer.)
svn path=/trunk/mcs/; revision=155991
* ServiceHostBase.cs : add host-to-http-listener mapping so that
they can be managed per host.
* HttpTransportBindingElement.cs,
HttpChannelListener.cs,
HttpListenerManager.cs : add host-to-http-listener mapping so that
they can be managed per host.
* ServiceMetadataExtension.cs : reflect DispatcherBuilder change.
svn path=/trunk/mcs/; revision=155974
* ServiceMetadataExtension.cs : channelDispatchers is keyed by URL,
so it might have been skipped when the URLs are the same for wsdl
and help. So, differentiate flags for mex and help, not to be
exclusive. This fixes random-ish EndpointNotFound for WSDLs.
* HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
changes.
svn path=/trunk/mcs/; revision=144625
* ServiceMetadataExtension.cs : A few fixes for no-wsdl case: fix
wrong html template, and do not throw NRE for the lack of WsdlUrl.
svn path=/trunk/mcs/; revision=144596
* HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
Refactoring on listener manager to correctly handle wsdl and help
requests for such case that they conflict in addressing. Now it
can correctly distinguish service calls, WSDL requests and help
requests when all of them point to "http://localhost/foo.svc"
(which is very common case that the user does not change Http*Url).
* ServiceMetadataExtension.cs : restructure internal channel property
so that http channels can cope with it.
svn path=/trunk/mcs/; revision=144419
* ServiceMetadataExtension.cs : when serviceDebug and serviceMetadata
shares the same URL, both of them must be set, not being skipped.
svn path=/trunk/mcs/; revision=144225
* ServiceDebugBehavior.cs, ServiceMetadataBehavior.cs,
ServiceMetadataExtension.cs : Now HelpPage is differentiated from
wsdl page. The help page now outputs correct URL (for WSDL).
svn path=/trunk/mcs/; revision=144224
* ServiceMetadataExtension.cs : before fixing lots of wrong code,
add primitive help page support to make sure base_uri is bogus.
svn path=/trunk/mcs/; revision=144203
* ServiceMetadataExtension.cs : when its url is requested without
any parameters, it simply returns the WSDL, not the help page.
svn path=/trunk/mcs/; revision=142125
* ServiceHostBase.cs : some refactoring to isolate dispatcher
builder code from here.
* ServiceMetadataExtension.cs:
some dependent changes to ServiceHostBase.
svn path=/trunk/mcs/; revision=140403
* ServiceDebugBehavior.cs, ServiceMetadataBehavior.cs :
add Binding properties. Properties are now auto.
* ServiceMetadataExtension.cs : take Binding too to build dispatcher.
svn path=/trunk/mcs/; revision=139690