Thursday, November 15, 2012
Tuesday, November 13, 2012
Emulating network bandwidth and latency
Network Emulator Toolkit:
http://blog.mrpol.nl/2010/01/14/network-emulator-toolkit/
http://blogs.msdn.com/b/lkruger/archive/2009/06/24/creating-a-stand-alone-network-emulator-using-vs2010-beta-1-release.aspx
Network Shaper:
http://stackoverflow.com/questions/130354/how-do-i-simulate-a-low-bandwidth-high-latency-environment
http://blog.mrpol.nl/2010/01/14/network-emulator-toolkit/
http://blogs.msdn.com/b/lkruger/archive/2009/06/24/creating-a-stand-alone-network-emulator-using-vs2010-beta-1-release.aspx
Network Shaper:
http://stackoverflow.com/questions/130354/how-do-i-simulate-a-low-bandwidth-high-latency-environment
WCF alternatives
- ServiceStack
- Transport is http only: http://www.servicestack.net/overview.htm
- NServiceBus
- Default transport is MSMQ, but others can be plugged in
- Agatha
- Use WCF for transport
- Why not WCF: http://thatextramile.be/blog/2009/07/why-i-dislike-classic-or-typical-wcf-usage
- no longer in active development
Monday, November 5, 2012
WCF Extension
MSDN link
http://msdn.microsoft.com/en-us/library/gg132853.aspx (MS document, not very good)
http://blogs.msdn.com/b/drnick/archive/2006/05/08/592110.aspx (Very good step-by-step blog)
-> improved and source code: http://blogs.msdn.com/b/dmetzgar/archive/2012/10/16/an-updated-custom-wcf-transport-channel-example.aspx
-> tcp example: http://code.msdn.microsoft.com/windowsdesktop/Sample-WCF-transport-474c4c02
Configuring custom binding:
- http://msdn.microsoft.com/en-us/library/ms788753.aspx
- http://msdn.microsoft.com/en-us/library/ms788759(v=vs.110).aspx
- http://robbincremers.me/2012/01/01/wcf-custom-binding-by-configuration-and-by-binding-standardbindingelement-and-standardbindingcollectionelement/
http://msdn.microsoft.com/en-us/library/dd699779.aspx (WCF example document)
http://blogs.msdn.com/b/carlosfigueira/archive/2011/12/08/wcf-extensibility-transport-channels-request-channels-part-1.aspx
http://msdn.microsoft.com/en-us/magazine/cc163302.aspx
http://msdn.microsoft.com/en-us/magazine/cc163394.aspx
http://blogs.msdn.com/b/drnick/archive/2006/05/08/592110.aspx (Very good step-by-step blog)
-> improved and source code: http://blogs.msdn.com/b/dmetzgar/archive/2012/10/16/an-updated-custom-wcf-transport-channel-example.aspx
-> tcp example: http://code.msdn.microsoft.com/windowsdesktop/Sample-WCF-transport-474c4c02
Configuring custom binding:
- http://msdn.microsoft.com/en-us/library/ms788753.aspx
- http://msdn.microsoft.com/en-us/library/ms788759(v=vs.110).aspx
- http://robbincremers.me/2012/01/01/wcf-custom-binding-by-configuration-and-by-binding-standardbindingelement-and-standardbindingcollectionelement/
http://msdn.microsoft.com/en-us/library/dd699779.aspx (WCF example document)
http://blogs.msdn.com/b/carlosfigueira/archive/2011/12/08/wcf-extensibility-transport-channels-request-channels-part-1.aspx
http://msdn.microsoft.com/en-us/magazine/cc163302.aspx
http://msdn.microsoft.com/en-us/magazine/cc163394.aspx
Example
http://wcfextensions.codeplex.com/http://webservices20.blogspot.jp/2008/11/introducing-wcf-clearusernamebinding.html
http://www.microsoft.com/en-us/download/details.aspx?id=21459
Tutorial
Writing channels: http://blogs.msdn.com/b/drnick/archive/2007/02/19/channel-development-tour-part-1.aspx
Class Diagram
Friday, November 2, 2012
How Fiddler works
Fiddler inserting itself as system proxy, see: http://msdn.microsoft.com/en-us/library/bb250446(v=vs.85).aspx