Browse by Tags

Tagged Content List
  • Blog Post: 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...
  • Blog Post: WF 4.0 First Look!

    More coming up Here is the First Look at WF 4.0 talk by Kenny http://channel9.msdn.com/pdc2008/TL17/
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: Validating the Certificate Chain

    Ususally when tesitng with different certificates we usually need to check if the certificate chain is valid and this snippet came in quite handy in many places. X509Certificate2 cert = FedUtil .LookupCertificate( StoreName .My, StoreLocation .LocalMachine, "CN=MyCertificate" ); X509Chain chain =...
Page 1 of 1 (11 items)