Integrating IBM-Jazz: oAuth for OSLC API

IBM has jazzed up their products and Jazz is the way to go. They are doing one good thing about integration, moving from traditional inconsistent API for different products to a consistent standard based API. And the standard is OSLC (Open Services for Lifecycle Collaboration). But for .NET people, stepping into IBM products is always need some additional effort as the support system is not very active on .NET based technologies. This is to share some initial exploration and results for such an integration. We were working on a .NET client for integration with Jazz RRC. The scenarios include creation,

Continue reading

XML Data Storage and XmlSerializer : The easy data store

Earlier I worked in an application where the data storage was XML and we spent quite some time designing the XSD and finalising what tags will be there for storing the different data. This is quite trivial when we need to use it as a datastore and the application need to be able to get some specific data out of it or we need some query implementations on top of this data storage. Sometime back, in a team that I was associated with, needed a small datastore for some hierarchical data. The requirement was to get the data loaded into

Continue reading

TreeView inside UpdatePanel issue – postbacks on check and uncheck of the node’s Checkbox

Problem: In ASP.NET TreeView control, user wish to select one or many treenodes and wish to have options for further working depending upon the selection. The selection is done using a checkbox. On checking, the server side code need to know what has been checked and provides further options for the same. The checkbox check/uncheck does not fire a postback. Though we tried to imitate the same using javascript, the page gets refreshed. We used AJAX and put the TreeView control inside an UpdatePanel Findings: Microsoft does not support this. An issue/request for the feature was put on Microsoft feedback

Continue reading

How choice of Data Structures and Algorithms affect Performance

  The main data structure issues that you need to consider are as under: Table 1 Issues Implications Choosing a collection without evaluating your needs (size, adding, deleting, updating) Reduced efficiency; overly complex code. Using the wrong collection for a given task Reduced efficiency; overly complex code. Excessive type conversion Passing value type to reference type causing boxing and unboxing overhead, causing performance hit. Inefficient lookups Complete scan of all the content in the data structure, resulting in slow performance. Not measuring the cost of your data structures or algorithms in your actual scenarios Undetected bottlenecks due to inefficient code,

Continue reading