* 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
* 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
* 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
* 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, 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
* 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
* 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