• What is the cost of catching an exception

    We all known that following an exception without using it is quite silly. How does it really hurt performance. It turns out that difference is very small.

  • The order of route is important in asp.net mvc

    I have try to add route to reroute the default.aspx to home handler.

  • XSLT note - xsl:output method

    There are 3 method option in xsl:output element, xml, html, text. only xml option will output xml declaration. only text will disables output escaping. In your style sheet, you want to export < , text will output "<", but xml and html will output <

  • XSLT note 6 - fast search node

    We can make search much faster if we generate index. We generate index by using xsl:key.

  • XSLT note 5 - Cross tab transformation

    
    
    
    
      
        1
        Meal
        Breakfast
        
      
      
        1
        Meal
        Dinner
        lots of stuff
      
      
        1
        Tour
        Great wall
        
      
      
        2
        Meal
        Breakfast
        
      
      
        2
        Airport
        Transfer to hotel
        
      
      
        3
        Airport
        Transfer to airport
        
      
      
        3
        Meeting
        Face to face meeting