Tag Archives: code

Understanding and Using System.Transactions

These are some resources to help grasp System.Transactions functionality and use it effectively in your projects: Features Provided by System.Transactions to create transactional applications Implementing an Implicit Transaction using Transaction Scope MSDN Magazine Articles by John Papa: ADO.NET and System.Transactions Revisiting System.Transactions These are specific to TransactionScope (the way to go in most cases): Here [...]
Posted in C#, code | Also tagged , , , , , , | 2 Comments

Solution to the fetch puzzle

Here is a brute force solution to the fetch problem - Basically, at each step there are three possibilities : 1. You can fill a bucket. 2. You can transfer water from one bucket to the other one. 3. You can dump out the water from a bucket. In this brute force solution, I try [...]
Posted in code | Also tagged , , | Leave a comment

Solve puzzle with code

Here is a quite common programming interview puzzle – You have two buckets. A 3 gallon bucket and a 5 gallon bucket. Buckets are not marked or graduated. You are to fetch 4 gallon of water in a single trip to the river. How will you do it? Obviousy, this question is asked by changing [...]
Posted in code | Also tagged , , | 1 Comment

Getting Started with MVVM

I just finished presenting here at RDU Code Camp. It was a great crowd ! Here are the slides - Getting started with MVVM View more presentations from ashtewari.
Posted in code | Also tagged , , , | Leave a comment