pascalhaakmat
3fa3592376
Uncomment and fix ServiceHost creation via ServiceFactory in SvcHttpHandler.cs ( #3465 )
...
This commit allows customization of WCF service creation via the Factory attribute in an .svc file:
`<%@ ServiceHost Language="C#" Service="CustomService" Factory="CustomServiceHostFactory" %>`
All the patch does is uncomment a few lines that were already there and fix a small error. I am not sure why these lines were commented. Possibly the code is not sufficiently robust or it was just never given another look. But this works for me and it seems better than no support at all. For example, a custom ServiceHostFactory appears to be the only way to create a WCF service in a managed host which customizes EndpointDispatcher.AddressFilter and EndpointDispatcher.ContractFilter. This in turn is useful for proxied WCF services.
See also http://mono.1490590.n4.nabble.com/Mono-WCF-ServiceHost-Factory-option-td4251992.html (from 2012; never posted on the mailing list for some reason).
2018-03-21 18:09:45 +01:00
..
2016-08-26 17:49:03 +02:00
2016-08-26 17:49:03 +02:00
2010-03-26 14:17:48 +00:00
2010-08-10 21:04:48 +09:00
2015-04-24 14:36:57 +09:00
2009-05-22 02:27:04 +00:00
2016-08-18 16:34:36 +02:00
2017-03-16 13:02:09 +01:00
2016-08-26 17:49:03 +02:00
2016-08-26 17:49:03 +02:00
2016-08-26 17:49:03 +02:00
2015-01-13 16:34:23 -05:00
2010-03-29 07:43:14 +00:00
2010-04-07 22:17:32 +00:00
2016-08-26 17:49:03 +02:00
2017-07-02 23:31:34 +02:00
2017-03-16 13:02:09 +01:00
2010-03-24 05:10:27 +00:00
2016-08-18 16:34:36 +02:00
2009-01-14 11:17:55 +00:00
2010-01-22 02:23:53 +00:00
2013-09-02 21:52:13 +02:00
2016-07-13 11:02:10 +02:00
2011-07-19 02:28:59 +09:00
2017-03-16 13:02:09 +01:00
2010-05-14 16:42:06 +00:00
2009-05-21 12:04:59 +00:00
2016-08-26 17:49:03 +02:00
2015-01-13 16:06:31 -05:00
2015-01-13 16:06:31 -05:00
2016-08-30 13:36:21 +05:00
2015-01-13 16:34:23 -05:00
2015-01-13 16:34:23 -05:00
2016-08-26 17:49:03 +02:00
2016-08-26 17:49:03 +02:00
2015-01-13 16:06:31 -05:00
2009-05-21 07:57:13 +00:00
2016-08-18 16:34:36 +02:00
2017-03-16 13:02:09 +01:00
2008-09-12 11:22:58 +00:00
2017-03-16 13:02:09 +01:00
2016-08-18 16:34:36 +02:00
2013-01-21 19:27:22 +01:00
2009-05-21 07:29:46 +00:00
2016-08-26 17:49:03 +02:00
2012-11-27 02:30:54 +01:00
2017-03-16 13:02:09 +01:00
2016-08-26 17:49:03 +02:00
2010-07-09 09:17:26 +00:00
2017-03-16 13:02:09 +01:00
2011-04-18 17:20:22 +09:00
2016-08-18 16:34:36 +02:00
2016-08-26 17:49:03 +02:00
2010-11-04 21:20:54 +01:00
2010-05-14 05:20:37 +00:00
2010-05-14 05:20:37 +00:00
2009-04-20 12:16:39 +00:00
2013-01-21 19:27:22 +01:00
2017-03-16 13:02:09 +01:00
2010-05-14 16:22:18 +00:00
2017-07-02 23:31:34 +02:00
2017-07-02 23:31:34 +02:00
2017-07-02 23:31:34 +02:00
2017-03-16 13:02:09 +01:00
2009-04-20 12:16:39 +00:00
2010-05-14 16:22:18 +00:00
2017-07-02 23:31:34 +02:00
2010-09-29 23:34:49 +09:00
2009-07-08 08:21:03 +00:00
2009-07-08 08:21:03 +00:00
2009-04-20 12:16:39 +00:00
2009-09-14 13:20:21 +00:00
2009-04-21 11:37:19 +00:00
2012-12-05 23:58:12 +01:00
2010-03-18 10:36:51 +00:00
2016-08-18 16:34:36 +02:00
2010-03-18 10:36:51 +00:00
2015-09-23 14:37:01 -04:00
2010-05-14 16:32:10 +00:00
2009-07-21 14:05:37 +00:00
2018-01-18 19:08:03 +01:00
2010-10-18 22:26:49 +02:00
2016-08-11 20:53:38 +02:00
2012-11-27 02:30:54 +01:00
2017-03-16 13:02:09 +01:00
2018-03-21 18:09:45 +01:00
2018-02-08 23:49:44 -05:00
2010-08-10 21:04:48 +09:00
2016-08-26 17:49:03 +02:00
2013-03-22 01:57:37 +01:00
2018-01-18 19:08:03 +01:00
2017-03-16 13:02:09 +01:00
2016-08-26 17:49:03 +02:00
2013-01-21 19:25:40 +01:00
2016-08-18 16:34:36 +02:00
2017-03-16 13:02:09 +01:00
2015-01-13 16:34:23 -05:00
2015-01-13 16:34:23 -05:00
2016-07-13 11:02:10 +02:00
2011-07-22 14:02:48 +09:00