NServiceBus Bus.Send().Register(callback) Not Working on IIS/Windows Server 2008
问题 I have been struggling with this problem for a few days now and I just can't seem to figure it out. I have a simple WCF web service hosted on IIS and Windows Server 2008 R2. The implementation of the Web Service is as follows: var completionResult = new CompletionResult(); var updateTextMessage = new UpdateText { TextTemplateId = textTemplateId, Text = text }; var asyncResult = Global.Bus.Send(updateTextMessage).Register(x => completionResult = x.AsyncState as CompletionResult, null);