New article at CodeProject - CompactMessageEncoder
I published a new article at CodeProject about compressing messages on WCF channels. Check it out here.
Ami
2 comments:
Anonymous
said...
Hi Ami,
My name is Burak Gunay, I am a Turkish programmer in the U.S. I downloaded your smart thread pool and am trying to get it to preserve the caller's http context during async calls but am not having much luck.
Could you take a look at my code please?
Dim stpstartinfo As New STPStartInfo stpstartinfo.UseCallerCallContext = True stpstartinfo.UseCallerHttpContext = True
Dim smartThreadPool As New SmartThreadPool(stpstartinfo)
Dim wir As IWorkItemResult = smartThreadPool.QueueWorkItem(New WorkItemCallback(AddressOf DoTheAsyncTask), _ Nothing) ' Get the result of the operation Dim result As Object = wir.Result
2 comments:
Hi Ami,
My name is Burak Gunay, I am a Turkish programmer in the U.S. I
downloaded your smart thread pool
and am trying to get it to preserve the caller's http context during async calls but am not having much luck.
Could you take a look at my code please?
Dim stpstartinfo As New STPStartInfo
stpstartinfo.UseCallerCallContext = True
stpstartinfo.UseCallerHttpContext = True
Dim smartThreadPool As New SmartThreadPool(stpstartinfo)
Dim wir As IWorkItemResult = smartThreadPool.QueueWorkItem(New WorkItemCallback(AddressOf DoTheAsyncTask), _
Nothing)
' Get the result of the operation
Dim result As Object = wir.Result
' shutdown
smartThreadPool.Shutdown()
Thank you,
Burak
(bgunay@caci.com)
This comment doesn't belong here.
Ami
Post a Comment