ChangeLog 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562
  1. 2009-07-31 Atsushi Enomoto <[email protected]>
  2. * ChannelDispatcher.cs : raise error on multiple endpoint match
  3. (documented at EndpointDispatcher.FilterPriority).
  4. 2009-07-28 Atsushi Enomoto <[email protected]>
  5. * ChannelDispatcher.cs : move Open() inside acceptor lock, so that
  6. the channel does not have to be fired Receive() before Open().
  7. 2009-07-14 Atsushi Enomoto <[email protected]>
  8. * DispatchRuntime.cs : add ValidateMustUnderstand.
  9. * DispatchOperation.cs : add AutoDisposeParameters.
  10. 2009-07-02 Atsushi Enomoto <[email protected]>
  11. * ChannelDispatcher.cs : when service instance is provided to the
  12. ServiceHost, do not reject Type-less state.
  13. 2009-06-29 Atsushi Enomoto <[email protected]>
  14. * ChannelDispatcher.cs : do not iterate extra channel acceptance
  15. and hence close channels a bit more gracefully.
  16. 2009-06-25 Atsushi Enomoto <[email protected]>
  17. * ChannelDispatcher.cs : instead of discarding channels, reuse them
  18. unless it is closed by session manager (session manager does not
  19. work, so channels are not actually closed automatically yet).
  20. 2009-06-25 Atsushi Enomoto <[email protected]>
  21. * SessionInstanceContextProvider.cs : new instance context provider.
  22. 2009-06-23 Atsushi Enomoto <[email protected]>
  23. * DispatchRuntime.cs : do not fill InstanceContextProvider here.
  24. * ChannelDispatcher.cs : do it here instead.
  25. * ChannelDispatcherCollection.cs : remove TODOs.
  26. 2009-06-23 Atsushi Enomoto <[email protected]>
  27. * InputOrReplyRequestProcessor.cs : bogus initialization.
  28. 2009-06-18 Atsushi Enomoto <[email protected]>
  29. * ChannelDispatcher.cs : significant changes:
  30. - simplified Open/Close async.
  31. - implement OnAbort().
  32. - create ServiceThrottle when it is null.
  33. - Channels are accepted as much as the throttle allows, and
  34. process requests when accepted an input (now it holds more than
  35. one channel).
  36. - Support ReceiveSynchronously and use Begin/EndAcceptChannel()
  37. for async pattern.
  38. - Close all channels and the listener when it is closed.
  39. - Cosmetic simplification on channel acceptor delegate creation.
  40. 2009-06-09 Atsushi Enomoto <[email protected]>
  41. * ChannelDispatcher.cs : avoid NRE (actually it should eliminate
  42. Thread.Abort()). Added some comments on throttling.
  43. 2009-06-09 Atsushi Enomoto <[email protected]>
  44. * ServiceThrottle.cs : implement.
  45. 2009-06-08 Atsushi Enomoto <[email protected]>
  46. * ChannelDispatcher.cs :
  47. Add call to base (see CommunicationObject change).
  48. 2009-06-01 Atsushi Enomoto <[email protected]>
  49. * ChannelDispatcher.cs : handle more errors gracefully.
  50. 2009-05-18 Atsushi Enomoto <[email protected]>
  51. * ErrorProcessingHandler.cs, InputOrReplyRequestProcessor.cs :
  52. they also premise request-reply channel and broke duplex channels.
  53. 2009-05-13 Atsushi Enomoto <[email protected]>
  54. * ChannelDispatcher.cs : open channel before using it.
  55. 2009-05-13 Atsushi Enomoto <[email protected]>
  56. * ReplyHandler.cs, InputOrReplyRequestProcessor.cs,
  57. MessageProcessingContext.cs : reply processing is also needed by
  58. non-request channels (i.e. duplex). Current code basis lacked
  59. such possibility. Quick fix by adding duplex support in
  60. ReplyHandler so far.
  61. 2009-05-13 Atsushi Enomoto <[email protected]>
  62. * ChannelDispatcher.cs, SecurityHandler.cs,
  63. InputOrReplyRequestProcessor.cs, MessageProcessingContext.cs :
  64. remove default communication timeouts from several types. They
  65. bring bogus NRE. Instead, fill timeouts in ChannelDispatcher and
  66. use it when required (it was actually *only* request processor).
  67. 2009-05-13 Atsushi Enomoto <[email protected]>
  68. * ChannelDispatcher.cs : wrong channel argument.
  69. 2009-04-27 Atsushi Enomoto <[email protected]>
  70. * DispatchRuntime.cs : some comment.
  71. * ChannelDispatcher.cs : ongoing changes to handle listeners and
  72. accepted channels at more precise state. Listeners are opened,
  73. without accepting channels. Some setup code is done at OnOpen(),
  74. while some are done at OnOpened().
  75. 2009-04-23 Atsushi Enomoto <[email protected]>
  76. * DispatchOperation.cs : implement GetFormatter() at service side too.
  77. 2009-04-01 Atsushi Enomoto <[email protected]>
  78. * OperationInvokeHandler.cs : replace MS copycat exception message.
  79. 2009-02-26 Atsushi Enomoto <[email protected]>
  80. * ClientRuntime.cs : fill contractType in .ctor().
  81. 2009-02-04 Atsushi Enomoto <[email protected]>
  82. * BaseMessagesFormatter.cs : do not use non-2.1 CreateInstance().
  83. 2008-06-18 Noam Lampert <[email protected]>
  84. * ChannelDispatcher.cs: Avoid aborting host process on faulty input message.
  85. 2008-05-22 Noam Lampert <[email protected]>
  86. * OperationInvokeHandler.cs: Only return fault reply when TargetInvocation occured (not other internal
  87. errors. Serlialize the correct (inner) exception.
  88. 2008-05-22 Roei Erez <[email protected]>
  89. * fix ContractDescription.GetContract implementation
  90. * Refactor Request processing
  91. * Add support for message inspectors
  92. * Add support for InstanceContextProvider & InstanceProvider, including lifecycles events
  93. like: ReleaseServiceInstance, Open, Close...
  94. * Add relevant test cases.
  95. 2008-05-01 Eyal Alaluf <[email protected]>
  96. * BaseMessagesFormatter.cs: Handle methods with out parameters that return
  97. void.
  98. * DispatchOperation.cs, IOperationInvoker.cs: Simplify method invocation.
  99. 2008-04-22 Igor Zelmanovich <[email protected]>
  100. * DispatchOperation.cs: removed dependency on OperationDescription,
  101. allows usage of custom channel dispatcher without endpoint was explicitly
  102. built
  103. 2008-04-22 Igor Zelmanovich <[email protected]>
  104. * MexInstanceContextProvider.cs - remove unused code.
  105. 2008-04-21 Roei Erez <[email protected]>
  106. * ChannelDispatcher.cs - Change order of Dispatcher shutdown
  107. 2008-04-17 Vladimir Krasnov <[email protected]>
  108. * ChannelDispatcher.cs, EndpointDispatcher.cs: removed dependency on
  109. ServiceDescription/ServiceEndpoint, allows usage of channel dispatcher
  110. without endpoint was explicitly built
  111. * EndpointDispatcher.cs: Filters lazy evaluation, refactored
  112. communication processing, logic moved to channel dispatcher
  113. 2008-04-17 Vladimir Krasnov <[email protected]>
  114. * ActionMessageFilter.cs: fixed Match, match for "*" action
  115. 2008-04-17 Vladimir Krasnov <[email protected]>
  116. * DispatchOperation.cs: fixed ProcessRequest, fault message creation
  117. 2008-04-10 Eyal Alaluf <[email protected]>
  118. * DefaultMessageOperationFormatter.cs: Moved to BaseMessagesFormatter.cs.
  119. * BaseMessagesFormatter.cs: Refactored so typed messages uses the classes
  120. defined here instead of the other way around.
  121. Added support for by-ref and out parameters.
  122. Added support for XmlSerializerFormat serializaters..
  123. * DispatchOperation.cs, ClientOperation.cs: Use BaseMessagesFormatter.Create
  124. 2008-04-09 Roei Erez <[email protected]>
  125. * Remove unused nethod from previous commit
  126. 2008-04-08 Roei Erez <[email protected]>
  127. * ChannelDispatcher.cs
  128. - fix 'Attach' logic
  129. - Add support for Endpoints property
  130. - Remove the hack of 'endpoint_dispatcher' field
  131. * ChannelDispatcherCollection.cs
  132. - Add support for 'Attach' 'Detach'
  133. * EndpointDispatcher.cs
  134. - By default create MatchAllMessageFilter.
  135. 2008-02-17 Atsushi Enomoto <[email protected]>
  136. * EndpointDispatcher.cs : we don't need AddressFilter workaround
  137. from Feb. 14 anymore.
  138. 2008-02-17 Atsushi Enomoto <[email protected]>
  139. * EndpointDispatcher.cs : after service method call, apply outgoing
  140. headers and properties to the returned message.
  141. 2008-02-15 Atsushi Enomoto <[email protected]>
  142. * ChannelDispatcher.cs : populate DispatchOperations before applying
  143. IEndpointBehaviors so that those behaviors can modify dispatch
  144. operations.
  145. 2008-02-15 Atsushi Enomoto <[email protected]>
  146. * DispatchOperation.cs : Action may be null. For such cases, use
  147. MessageDirection to determine the message description.
  148. 2008-02-15 Atsushi Enomoto <[email protected]>
  149. * EndpointAddressMessageFilter.cs : implement Match(MessageBuffer).
  150. Use ordinal string comparison.
  151. * PrefixEndpointAddressMessageFilter.cs : implement Match() (both).
  152. 2008-02-14 Atsushi Enomoto <[email protected]>
  153. * EndpointDispatcher.cs : moved AddressFilter application only when
  154. DispatchOperation was not selected (it is sort of workaround).
  155. 2007-08-19 Atsushi Enomoto <[email protected]>
  156. * DefaultMessageOperationFormatter.cs : Fixed SerializeReply() for
  157. message contract type to process result, not the parameter.
  158. 2007-08-19 Atsushi Enomoto <[email protected]>
  159. * SingletonInstanceContextProvider.cs : new.
  160. 2007-08-17 Atsushi Enomoto <[email protected]>
  161. * DefaultMessageOperationFormatter.cs : dependent changes on
  162. message serializer and deserializer.
  163. 2007-03-24 Atsushi Enomoto <[email protected]>
  164. * DefaultMessageOperationFormatter.cs :
  165. use it for deserialization as well.
  166. 2007-03-24 Atsushi Enomoto <[email protected]>
  167. * DefaultMessageOperationFormatter.cs : consider message contracts
  168. during message serialization/deserialization.
  169. 2007-03-07 Atsushi Enomoto <[email protected]>
  170. * EndpointDispatcher.cs : now dispatcher-side foundation for token
  171. negotiation is ready. Handle negotiation message on its own way.
  172. * DispatchOperation.cs : instead of returning irrelevant SOAP Fault,
  173. simply raise an error and let FaultConverter do better work.
  174. 2007-03-07 Atsushi Enomoto <[email protected]>
  175. * EndpointDispatcher.cs : use ErrorHandlers when error was raised.
  176. Handle exceptions to make into SOAP Fault, using FaultConverter.
  177. * ChannelDispatcher.cs : simply get ServiceEndpoint at Attach().
  178. * ChannelDispatcherBase.cs : removed MonoTODOs.
  179. 2007-03-07 Atsushi Enomoto <[email protected]>
  180. * ChannelDispatcher.cs, DispatchRuntime.cs, EndpointDispatcher.cs :
  181. moved most of request/input processing to EndpointDispatcher.cs.
  182. Also, ChannelDispatcher now contains code for behavior
  183. initialization.
  184. 2007-03-07 Atsushi Enomoto <[email protected]>
  185. * ChannelDispatcher.cs : some cosmetic refactoring on error handling
  186. with comments.
  187. 2006-12-14 Atsushi Enomoto <[email protected]>
  188. * ChannelDispatcher.cs, DispatchRuntime.cs, DispatchOperation.cs :
  189. Support OperationContext and OperationContextScope with
  190. ServiceRuntimeChannel as its .ctor() input.
  191. 2006-12-14 Atsushi Enomoto <[email protected]>
  192. * DispatchRuntime.cs : raise an error when the DispatchOperation
  193. returned null Message.
  194. 2006-10-18 Ankit Jain <[email protected]>
  195. * MexInstanceContextProvider.cs (HttpGetInstanceContextProvider): New.
  196. * DispatchOperation.cs (DoProcessRequest): InstanceContext returned by
  197. the provider can be null.
  198. * EndpointAddressMessageFilter.cs (Match): Handle IncludeHostNameInComparison.
  199. 2006-10-12 Atsushi Enomoto <[email protected]>
  200. * DispatchOperation.cs : slightly improved exception message.
  201. 2006-10-06 Ankit Jain <[email protected]>
  202. * ChannelDispatcher.cs (ListenerLoopManager.StartLoopCore):
  203. ReceiveRequest can return null.
  204. 2006-10-05 Atsushi Enomoto <[email protected]>
  205. * ClientRuntime.cs : added MaxFaultSize.
  206. 2006-10-05 Atsushi Enomoto <[email protected]>
  207. * ChannelDispatcher.cs : don't reject anonymous and null To.
  208. 2006-10-04 Ankit Jain <[email protected]>
  209. * ChannelDispatcher.cs (ListenerLoopManager.StartLoopCore): Reply with a
  210. Fault message if message's To doesn't match the endpoint.
  211. (ListenerLoopManager.CreateDestinationUnreachable): New.
  212. * IInstanceContextProvider.cs: New.
  213. * MexInstanceContextProvider.cs: New. InstanceContextProvider for
  214. MetadataExchange.
  215. (MetadataExchange): Implementation of IMetadataExchange.
  216. * DispatchRuntime.cs (InstanceContextProvider): Add missing property.
  217. * DispatchOperation.cs (DoProcessRequest): Use InstanceContextProvider
  218. if available to obtain service instance.
  219. * EndpointDispatcher.cs (.ctor): Set AddressFilter to EndpointAddressMessageFilter.
  220. * EndpointAddressMessageFilter.cs (Match): Implement.
  221. 2006-10-03 Atsushi Enomoto <[email protected]>
  222. * ClientRuntime.cs : added InteractiveChannelInitializer.
  223. 2006-09-12 Atsushi Enomoto <[email protected]>
  224. * DispatchOperation.cs : removed extra comment.
  225. 2006-09-08 Atsushi Enomoto <[email protected]>
  226. * DispatchOperation.cs : workaround to send exception detail.
  227. 2006-09-06 Atsushi Enomoto <[email protected]>
  228. * ICallContextInitializer.cs : new file.
  229. * DispatchOperation.cs : use above.
  230. Not sure if it works correctly though.
  231. 2006-08-28 Atsushi Enomoto <[email protected]>
  232. * DispatchOperation.cs : when there is an error during
  233. ProcessRequest(), wrap the exception with MessageFault and return
  234. a fault message.
  235. 2006-08-10 Duncan Mak <[email protected]>
  236. * ExceptionHandler.cs: New file.
  237. * ServiceThrottle.cs (MaxConnections): Renamed to
  238. MaxConcurrentSessions.
  239. (MaxInstances): Renamed to MaxConcurrentInstances.
  240. 2006-07-27 Atsushi Enomoto <[email protected]>
  241. * IInteractiveChannelInitializer.cs : new file.
  242. 2006-07-14 Atsushi Enomoto <[email protected]>
  243. * IErrorHandler.cs : API updates.
  244. 2006-07-13 Atsushi Enomoto <[email protected]>
  245. * DispatchRuntime.cs :
  246. it was selecting UnhandledOperation unexpectedly.
  247. * DispatchOperation.cs : added FIXME comment.
  248. 2006-07-13 Atsushi Enomoto <[email protected]>
  249. * DefaultMessageOperationFormatter.cs : Remove hack for non-
  250. (de)serializing Message-based methods. They are now moved to
  251. ClientBase and ServiceHostBase to explicitly set
  252. [Serialize|Deserialize][Request|Reply].
  253. 2006-07-12 Atsushi Enomoto <[email protected]>
  254. * DefaultMessageOperationFormatter.cs : don't omit action on
  255. SerializeRequest. Do it in SerializeReply.
  256. 2006-07-12 Atsushi Enomoto <[email protected]>
  257. * DefaultMessageOperationFormatter.cs : When addressing version is
  258. None, then omit reply action. This logic is moved from MessageImpl.
  259. 2006-07-11 Atsushi Enomoto <[email protected]>
  260. * DefaultMessageOperationFormatter.cs :
  261. return message, not parameter[0]. Removed some extra FIXMEs.
  262. 2006-07-10 Atsushi Enomoto <[email protected]>
  263. * DefaultMessageOperationFormatter.cs : when the parameter is
  264. Message and the return type is Message, then do not use
  265. XmlObjectSerializer.
  266. 2006-07-07 Atsushi Enomoto <[email protected]>
  267. * PrefixEndpointAddressMessageFilter.cs, FaultContractInfo.cs :
  268. new types in June CTP.
  269. * ISharedInstanceSessionLifetime.cs:
  270. removed in June CTP.
  271. * ChannelDispatcher.cs, MatchAllMessageFilter.cs, DispatchRuntime.cs,
  272. DispatchOperation.cs, ClientRuntime.cs, MatchNoneMessageFilter.cs,
  273. ClientOperation.cs, ActionMessageFilterTable.cs,
  274. EndpointAddressMessageFilterTable.cs :
  275. several minor fixes for June CTP.
  276. 2006-07-06 Atsushi Enomoto <[email protected]>
  277. * DispatchOperation.cs : MessageFault.DefaultAction vanished.
  278. 2006-07-05 Atsushi Enomoto <[email protected]>
  279. * IClientFormatter.cs, IClientMessageFormatter.cs,
  280. IDispatchFormatter.cs, IDispatchMessageFormatter.cs :
  281. renamed former to latter, for each.
  282. 2006-07-05 Atsushi Enomoto <[email protected]>
  283. * ChannelDispatcher.cs, DispatchRuntime.cs :
  284. IRequestContext -> RequestContext.
  285. 2006-07-05 Atsushi Enomoto <[email protected]>
  286. * ChannelDispatcher.cs, IDispatchFormatter.cs,
  287. DefaultMessageOperationFormatter.cs, IClientFormatter.cs,
  288. DispatchOperation.cs, ClientOperation.cs :
  289. some June CTP updates.
  290. 2006-06-22 Atsushi Enomoto <[email protected]>
  291. * DefaultMessageOperationFormatter.cs : implement SerializeRequest()
  292. and DeserializeReply(). Now simple ClientBase<T> sample is working.
  293. 2006-06-22 Atsushi Enomoto <[email protected]>
  294. * ClientOperation.cs : added GetFormatter() to support message
  295. serialization/deserialization.
  296. * DispatchOperation.cs : made some internal members private
  297. (they are exposed extraneously). Commented out debugging code.
  298. 2006-06-20 Atsushi Enomoto <[email protected]>
  299. * DefaultMessageOperationFormatter.cs : In SerializeReply(), use
  300. custom BodyWriter() and use MessagePartDescription names. Now
  301. return value and other (ref/out) parameters could be equivalently
  302. serialized (at this method; to support them more love is needed).
  303. 2006-06-20 Atsushi Enomoto <[email protected]>
  304. * DefaultMessageOperationFormatter.cs :
  305. Action for response is null (though it is likely conditional).
  306. 2006-06-20 Atsushi Enomoto <[email protected]>
  307. * DefaultMessageOperationFormatter.cs :
  308. true DeserializeReply implementation using Message.CreateMessage()
  309. with DataContractSerializer (not complete though).
  310. 2006-05-29 Atsushi Enomoto <[email protected]>
  311. * ChannelDispatcher.cs, DispatchOperation.cs,
  312. ChannelDispatcherBase.cs :
  313. some updated API fixes.
  314. 2006-05-29 Atsushi Enomoto <[email protected]>
  315. * EndpointDispatcher.cs : moved from Sys.ServiceModel.
  316. 2006-04-20 Atsushi Enomoto <[email protected]>
  317. * ClientRuntime.cs : some minor collection instantiation and comments.
  318. 2006-04-07 Atsushi Enomoto <[email protected]>
  319. * DispatchOperation.cs : Implemented internal MessageVersion.
  320. hacked instance provision by using Activator.CreateInstance.
  321. * DefaultMessageOperationFormatter.cs : fixed DeserializeRequest to
  322. be functional. Implemented SerializeReply.
  323. 2006-04-05 Atsushi Enomoto <[email protected]>
  324. * DispatchOperation.cs : return SOAP fault message for nonexistent
  325. request Action.
  326. * DefaultMessageOperationFormatter.cs : implemented
  327. DeserializeRequest(), though there is no working example.
  328. 2006-03-17 Atsushi Enomoto <[email protected]>
  329. * DispatchOperation.cs : implemented logic to acquire
  330. OperationDescription. Added code for default IDispatchFormatter
  331. implementation.
  332. * DispatchRuntime.cs : fix warning.
  333. * DefaultMessageOperationFormatter.cs : new file, for default
  334. IDispatchFormatter implementation (not done yet).
  335. * ChannelDispatcher.cs : create EndpointDispatcher in Attach and
  336. bind to this instance.
  337. 2006-03-16 Atsushi Enomoto <[email protected]>
  338. * ChannelDispatcherCollection.cs : added parameterless ctor().
  339. * ChannelDispatcher.cs DispatchRuntime.cs DispatchOperation.cs :
  340. Set some initial field values as proved in unit tests.
  341. Request/input processing is still ongoing.
  342. 2006-03-13 Atsushi Enomoto <[email protected]>
  343. * ChannelDispatcher.cs
  344. DispatchRuntime.cs
  345. DispatchOperation.cs : added request/input processing code.
  346. 2006-03-07 Atsushi Enomoto <[email protected]>
  347. * ChannelDispatcher.cs : Get "AcceptChannel" method without ambiguity.
  348. 2006-03-07 Atsushi Enomoto <[email protected]>
  349. * ChannelDispatcher.cs : Added request-processing code.
  350. 2006-03-06 Atsushi Enomoto <[email protected]>
  351. * ChannelDispatcher.cs : implement Attach() and Detach() more to work.
  352. 2006-02-23 Atsushi Enomoto <[email protected]>
  353. * DispatchBehavior.cs :
  354. Dependent fixes for System.IdentityModel reorgainzation.
  355. 2006-02-23 Atsushi Enomoto <[email protected]>
  356. * FilterNodeQuotaExceededException.cs
  357. FilterInvalidBodyAccessException.cs DispatchBehavior.cs
  358. DispatchOperation.cs NavigatorInvalidBodyAccessException.cs
  359. MatchNoneFilter.cs ActionFilter.cs
  360. MultipleFilterMatchesException.cs Filter.cs
  361. IInstanceContextInitializer.cs XPathFilter.cs
  362. IDispatchOperationSelector.cs MatchAllFilter.cs
  363. ActionFilterTable.cs EndpointAddressFilter.cs FilterTable.cs
  364. EndpointFilterTable.cs XPathMessageContext.cs
  365. IEndpointDispatcher.cs ProxyBehavior.cs
  366. ProxyOperation.cs XPathFilterTable.cs
  367. EndpointAddressFilterTable.cs InvalidBodyAccessException.cs
  368. IFilterTable.cs IOperationInvoker.cs :
  369. moved from System.ServiceModel due to the API changes.