8 Commits
Author SHA1 Message Date
Alexander Köplinger b03e606287 Remove ChangeLog files from the repo
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29 19:17:06 +01:00
Marek Habersack 8a63927fd1 [wcf] .NET allows for service contract methods to be decorated only by Web{Get,Invoke}Attribute
Usually WCF requires that each service method is marked with the OperationContract attribute with the exception
of methods decorated with the Web{Get,Invoke}Attribute attributes which are defined in System.ServiceModel.Web.
This patch adds a simple way to extend the ContractDescriptionGenerator in order to provide this functionality
without circular dependency of System.ServiceModel on System.ServiceModel.Web. Several extenders can be registered
with the description generator and they will be invoked in the registration order until any of them returns 'true'.
Extenders are passed a reference to the OperationContract attribute with which the current method is decorated - if
the reference is null, the extender should create a default instance of the attribute so that the description generator
considers the method as one to be included in the contract description.
2010-11-10 19:22:26 +01:00
Atsushi Eno 94fc6b94d1 2010-05-21 Atsushi Enomoto <[email protected]>
* 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
2010-05-21 07:19:58 +00:00
Atsushi Eno ee5a4c6806 2009-10-09 Atsushi Enomoto <[email protected]>
* WebServiceHost.cs : call base.OnOpening() here too.

	* WebScriptServiceHostFactory.cs : call base.OnOpening() here too.


svn path=/trunk/mcs/; revision=143837
2009-10-09 08:18:33 +00:00
Atsushi Eno 3ae78fa0b4 2009-10-07 Atsushi Enomoto <[email protected]>
* WebScriptServiceHostFactory.cs : I have to again revert the
	  previous change; it does fill endpoints regardless of hosting
	  environment (now with tests).

	* WebScriptEnablingBehavior.cs : validate body style.
	* WebHttpBehavior.cs : operations could miss WebGet/WebInvoke and
	  we should not crash by NRE because of missing of those atts.

	* WebScriptServiceHostFactoryTest.cs : add tests for contract and
	  wrapped validity.


svn path=/trunk/mcs/; revision=143637
2009-10-07 12:57:57 +00:00
Atsushi Eno 4a4e0ecb23 2009-09-17 Atsushi Enomoto <[email protected]>
* WebScriptServiceHostFactory.cs : do tasks in previous change only
	  if it is done under ASP.NET environment.


svn path=/trunk/mcs/; revision=142127
2009-09-17 18:09:09 +00:00
Atsushi Eno 62776aadf3 2009-09-04 Atsushi Enomoto <[email protected]>
* WebScriptServiceHostFactory.cs : endpoints are automatically added
	  and if they are added through configuration, it is an error
	  (as documented).


svn path=/trunk/mcs/; revision=141294
2009-09-04 07:45:49 +00:00
Jb Evain 982e3b35a4 move to from olive to mcs
svn path=/trunk/mcs/; revision=111188
2008-08-20 21:25:05 +00:00