* HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
support contexts so we call the non-overloaded WaitOne method
(which defaults to false).
svn path=/trunk/mcs/; revision=144200
* SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
significant rewrite to cooperate wcf handler and asp.net handler
to not mix multiple WCF listener within the asp.net handler.
So far it mostly works when 1) there are no ChannelDispatchers
that have an identical listen Uri and 2) MaxConcurrentSessions is
1 (must be explicitly set).
svn path=/trunk/mcs/; revision=144008
* CommunicationObject.cs : OnOpening() and OnOpened() require calls
to base methods. This resulted in not a few changes everywhere.
* ChannelDispatcher.cs : OnOpened/OnOpening constraints related
changes were required here too. Actually it simplified code.
* InstanceContext.cs : new constraints on CommunicationObject
required calls to base methods.
* ChannelFactory.cs : ditto. Actually changed timing to call
Open() on the internal factory.
* ServiceHostBase.cs : removed DoOpen() which is almost extra now.
Added temporary IMetadataExchange workaround.
svn path=/trunk/mcs/; revision=143829
* SvcHttpHandler.cs : use file path given by the factory to
construct BaseAddresses. Requests to "test.svc/jsdebug" should
not be handled as request to "jsdebug" file, it's rather an
"argument" to "test.svc".
svn path=/trunk/mcs/; revision=143545
* SvcHttpHandler.cs, HttpChannelListener.cs : some significant
rewrite to handle shutdown situation better. The listeners should
not close channels that it opened. Instead, just stop accepting
further requests. Removed blocking mutex on WaitForRequest().
Now xsp shuts down as expected.
svn path=/trunk/mcs/; revision=143498
* HttpReplyChannel.cs : lock list when releasing its content contexts.
* AspNetReplyChannel.cs : send EndRequest() to handler when it is
closing.
svn path=/trunk/mcs/; revision=143497
* System.ServiceModel.dll.sources: add VirtualPathExtension.cs.
* VirtualPathExtension.cs : new file.
* HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
revert the change, to use internal asp.net state again.
* SvcHttpHandler.cs : add VirtualPathExtension.
* ConfigUtil.cs : revert the change, to use ServiceHostingEnvironment
internal member again.
* ServiceHostingEnvironment.cs : revert the change, to use
internal asp.net state again.
svn path=/trunk/mcs/; revision=143277
* HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
asp.net response was not written correctly.
Fill HttpRequestMessageProperty to get handle WSDL requests
processed in ServiceMetadataExtension without NRE.
Remove wrong HttpListenerContext iteration at Abort and Close in
common base class and move it to non-asp derived channel.
svn path=/trunk/mcs/; revision=143244
* SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
use AspNetCompatibilityEnabled.
* SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
at ServiceHostBase.
* AspNetReplyChannel.cs : remove extra field.
* ServiceHostingEnvironment.cs : use AspNetCompatibilityEnabled as
ASP.NET switch.
svn path=/trunk/mcs/; revision=142953
* AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
only after AspNetRequestContext is closed. Do not close it
immediately after receiving the context. (HttpRuntime destructs it
and further uses then becomes impossible.)
svn path=/trunk/mcs/; revision=142892
* AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
* SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
Make sure that AspNetChannelListener is bound to correct
SvcHttpHandler, regardless of specific request URI. It is required
for both WSDL requests and RESTful binding requests.
svn path=/trunk/mcs/; revision=142880
* HttpChannelListener.cs : do not iterate channel list to close
channels which in turn removes them from the list while iteration.
svn path=/trunk/mcs/; revision=141773
* ContractDescriptionGenerator.cs : default action name is prepended
"urn:", and on the other hand do not add extra '/' in such case.
* HttpRequestChannel.cs : Fix message version member comparison.
Double-quote SOAPAction. Remove extra Exception.
* HttpReplyChannel.cs : ditto for version comparison. Unquote above.
* HttpRequestContext.cs : when addressing is None, remove action
from the message.
svn path=/trunk/mcs/; revision=141394
* ServiceHostBase.cs : URI trailing '/' can be added only when the
relative URI is non-empty. Do not make http://host/foo.svc as
http://host/foo.svc/ , it's not a directory.
* SvcHttpHandler.cs : set Uri property based on baseAddresses and
path, to pick those endpoints that are added at custom factories.
svn path=/trunk/mcs/; revision=141307
* SvcHttpHandlerFactory.cs : some GetHandler changes.
* SvcHttpHandler.cs : significant changes on receiver structure. Now
ProcessRequest() stores pending requests (this might be extraneous,
but maybe useful when it implements async handler). Also removed
reply_channel field as it may become to handle multiple requests.
* HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
* AspNetReplyChannel.cs : make it receive requests like
HttpReplyChannel (for HttpListener) to make them consistent.
svn path=/trunk/mcs/; revision=141224
* AspNetRequestContext.cs, HttpRequestContext.cs :
fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
by splitting HttpListener-based context out from common code base.
svn path=/trunk/mcs/; revision=141219
* SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
relative or absolute. new Uri ("/foobar") doesn't work on non-unix
environment.
svn path=/trunk/mcs/; revision=141206
* SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
loads types from system assemblies appropriately.
svn path=/trunk/mcs/; revision=141128
* HttpChannelFactory.cs : reject URI mismatch cases when required.
* HttpTransportBindingElementTest.cs : test for URI mismatch case.
svn path=/trunk/mcs/; revision=140960
* PeerDuplexChannel.cs : When received Connect() from neighbor,
add the peer to its internal list.
Finally ChatApplication got working.
svn path=/trunk/mcs/; revision=140700
* PeerDuplexChannel.cs : since the channel factory is per instance,
do not reuse factory that is tied to different callback instance.
It resolved the issue that mono callback client didn't receive
messages from the client itself.
svn path=/trunk/mcs/; revision=140698
* PeerNode.cs : use ulong as same as Welcome message value.
* PeerDuplexChannel.cs : in the Welcome response, return the NodeId
of the receiver, not the requestor. It resolved the issue that
.NET client didn't send further messages to mono server.
svn path=/trunk/mcs/; revision=140693
* PeerDuplexChannel.cs : add PeerFlooder header (see comment).
Process PeerTo header to upgrade Message To header. Now mono
service accepts mono client (somehow not true for .NET client).
svn path=/trunk/mcs/; revision=140489
* NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
ongoing works, not working at all yet.
* System.ServiceModel.dll.sources: add more named pipe files.
svn path=/trunk/mcs/; revision=140341
* PeerDuplexChannel.cs : ongoing implementation towards get callback
replies on peer connector clients (not working as duplex client
callback is not working yet).
svn path=/trunk/mcs/; revision=140329