我想计算两个特定时刻之间的时间:.AfterReceiveRequest- end moment would be call to method IDispatchMessageInspector.BeforeSendReply
实际上,我想计算执行服务调用用户代码所需时间我认为IDispatchMessageInspector的这两个方法是很好的挂钩位置。但不幸的是,我不知道如何将消息的Af
当存在挂起的实体框架迁移并且有人发送任何SOAP请求时,我希望抛出SOAP异常。如果我在Global.asax中抛出一个FaultException,我会得到一个来自IIS的html响应。这是可行的,但它相当丑陋。所以我尝试在我的ServiceBehavior类的IServiceBehavior.Validate()方法中抛出它。 {
var isDatabaseUpdateRequired =
我正在尝试在IDispatchMessageInspector中实现接口F#( WCF的名声):open System.ServiceModel.Channels> -> obj -> unit
default x.PostInvoke m s = ()
interface IDispatchMessageInspectorx.AfterReceiveRequest(request,