Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtsushi Eno <atsushieno@gmail.com>2010-05-21 11:19:58 +0400
committerAtsushi Eno <atsushieno@gmail.com>2010-05-21 11:19:58 +0400
commit94fc6b94d19779afc7605bdc5edae7b9ac7b321f (patch)
tree36b077df673f490da60dda0993c243621e0c4329 /mcs/class/System.ServiceModel.Web/System.ServiceModel.Activation/WebScriptServiceHostFactory.cs
parentc84b5a2c9523be3e1a879ee001963e60f5065dea (diff)
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* WebScriptServiceHostFactory.cs : similarly to ServiceDebugBehavior and ServiceMetadataBehavior in ServiceHostBase, it must *prepend* WebScriptEnablingBehavior to apply all other behaviors subsequently. svn path=/trunk/mcs/; revision=157667
Diffstat (limited to 'mcs/class/System.ServiceModel.Web/System.ServiceModel.Activation/WebScriptServiceHostFactory.cs')
-rw-r--r--mcs/class/System.ServiceModel.Web/System.ServiceModel.Activation/WebScriptServiceHostFactory.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.ServiceModel.Web/System.ServiceModel.Activation/WebScriptServiceHostFactory.cs b/mcs/class/System.ServiceModel.Web/System.ServiceModel.Activation/WebScriptServiceHostFactory.cs
index 5a99fdbf162..153f9db6662 100644
--- a/mcs/class/System.ServiceModel.Web/System.ServiceModel.Activation/WebScriptServiceHostFactory.cs
+++ b/mcs/class/System.ServiceModel.Web/System.ServiceModel.Activation/WebScriptServiceHostFactory.cs
@@ -84,7 +84,7 @@ namespace System.ServiceModel.Activation
foreach (ServiceEndpoint se in Description.Endpoints)
if (se.Behaviors.Find<WebHttpBehavior> () == null)
- se.Behaviors.Add (new WebScriptEnablingBehavior ());
+ se.Behaviors.Insert (0, new WebScriptEnablingBehavior ());
}
}
}