Sample ETW trace for WCF

You can see How do I collect an ETL trace for WF/WCF? for the commands or you can download the sample trace from here. Open the trace using the following command line or File –> Open and load the manifest from the Framework folder or launch the following from the command line.  SvcPerf.exe wcf.etl %windir%\Microsoft.Net\Framework\v4.0.30319\Microsoft.Windows.ApplicationServer.Applications.45.man…

0

WF 4.0 First Look!

More coming up Here is the First Look at WF 4.0 talk by Kenny https://channel9.msdn.com/pdc2008/TL17/  

1

WCF Scalability and IIS

Couldn’t get better than this. Wenlong has pretty much detailed out to the gory details of understanding WCF scalability in these posts. WCF Request Throttling and Server Scalability Orcas SP1 Improvement: Asynchronous WCF HTTP Module/Handler for IIS7 for Better Server Scalability The fact you realize is that one bottle neck is enough to kill your scalability.

0

Finally Zermatt's here

IIts been a long wait. After working with customers for getting out their token service and doing all the claim based black magic, finally we have a framework. Its not a bubble gum and match stick situation more and its a full framework. If you want to build applications and solve your federation problems which…

1

Throttling using managed semaphores and named monitors

Firstly I would like to explain what is a managed semaphore. This was introduced to me during a session by Andy Clymer (developmetor). Basically the requirement of a semaphore is pretty clear but then again we don’t have to resort to kernel objects and mutexes if not required to step out from our little managed…

1

Disabling JIT Optimizations

INI files are not dead yet 🙂 Now if you wanted to disable JIT optimization then place this into your application directory as a <appName>.ini file [.NET Framework Debugging Control]GenerateTrackingInfo=1 AllowOptimize=0 Why would you want to do this?Mostly when debugging in release mode you might not the get the correct stack dump. Eg: JIT might…

1

Custom Databinding using Property Descriptors

Creating large flat classes for data binding is one way of doing things. But you should check out this article before anyone decides to tightly couple your object model with your data representation. Mike  has put this down beatifully. http://blogs.msdn.com/mikechr/archive/2006/05/17/600697.aspx

0

Iterating over a nested Member

You have a Collection of Products. Every product effectively maps to an Item. Now I needed to bind this Product collection to a grid and display the item name. So basically it would be something like prod[i].Item.Name or any other property can be accessed for item. Basically the idea is to Iterate over an inner member…

0

Can you call private members from a different class?

Standing by OO principles we would have to say “Private memebers are only visible to to the class in which it is defined” This is the MSDN Defintion for the C# private keyword “The private keyword is a member access modifier. Private access is the least permissive access level. Private members are accessible only within…

6

Encode Hex String

I needed to get the hash as a string from a byte[]. I was snooping around X509Certificate class and saw a GetHashString method. After a bit more digging i ended up at System.Security.Util.Hex this had the method i was looking for. Check out the EncodeHexString method.         public  static String EncodeHexString(byte[] sArray)         {            …

0