'wcf'에 해당되는 글 2건
Sharing session state over multiple services using StateServer
For about a week I went through how to share session state over multiple services because our customers wanted to make their service to become HA (High availability). To construct our service as HA, sharing session state over multiple WAS was very important. And because we're using MySQL, using StateServer instead of SqlServer was unavoidable option.
It was really hard to find any document related to this knowledge. Finally I found very helpful site which gives simple solution to us.
Thanks to Li Chen. In addition to the link, I made sample project to show this. Here it is.
To run this example, you have to start "ASP.NET State Service" as below:
1. Type Windows + R and type the "services.msc"
2. Find the "ASP.NET State Service"
3. Start that service
That's it.
Updated at 2015.02.02
In case of WCF, to share session between difference wcf services routed by wcf routing, you should set SoapProcessingEnabled option to false. (Thanks to my smart colleague, Mr. Oh)
Refer the following for more information:
https://msdn.microsoft.com/en-us/library/ee816917(v=vs.110).aspx
[Fiddler] WCF Binary Message Inspector
Source: https://github.com/waf/WCF-Binary-Message-Inspector
BinaryMessageFiddlerExtension.dll
WCF Binary Message Inspector
This is a modification of the WCF Binary Message Inspector. It provides two notable enhancements:
Uses a collapsible tree view instead of a textarea to display the decoded WCF binary message.
Allows editing and reissuing of captured WCF binary messages (thanks to HofmaDresu)
Installation for Fiddler2
Copy the file BinaryMessageFiddlerExtension/bin/Release/BinaryMessageFiddlerExtension.dll (direct download) into C:\Program Files\Fiddler2\Inspectors and restart Fiddler.
Installation for Fiddler4 (Beta)
Copy the file BinaryMessageFiddlerExtension/bin/Release/BinaryMessageFiddlerExtension_Fiddler4.dll (direct download) into C:\Program Files\Fiddler2\Inspectors and restart Fiddler.
Tree View Usage
The tree view provides the following shortcuts:
Ctrl+c — Copy current node XML
Ctrl+Shift+c — Copy tree XML
Alt+→ — Expand node and all child nodes
Alt+← — Collapse node and all child nodes
Middle-click — Toggle expand/collapse of node and all child nodes
Edit Usage
Capture a WCF binary message
In the sessions list, right click on the message and choose "Unlock for editing"
Edit the request
Reissue the request using the toolbar or the session list context menu