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:
- These are specific to TransactionScope (the way to go in most cases):
- Here is a practical example of Using TransactionScope to handle transactions in .net.
- This article in MSDN Magazine gets in depth with the way a TransactionScope like functionality can be implemented. Gives you a good understanding of what is happening under the hood when using TransactionScope in some Repository implementations in multi-threaded scenarios.
- This CodeProject article is another example of implementing a transactional repository.
- There are excellent tips here about configuring TransactionScope when using it with SQL Server.
- This is a good resource for understanding CommitableTransaction usage.
- And this one on the CodeProject has brilliant, in-depth and under-the-hood coverage - Truly Understanding .NET Transactions and WCF Implementation.









The Site44 Workflow
A light weight development workflow with real-time website deployment.
I recently built a sample website to illustrate how clean, semantic html markup can be maintained when using Bootstrap’s grid system. The solution is to use a css pre-processor to incorporate Bootstrap’s LESS based mixins into your own .less files and push the Bootstrap instructions down into your stylesheets. There are two ways to “compile” .less stylesheets – use a stand-alone LESS compiler or use less.js. I found it very convenient to use less.js (note that it is not recommended in production deployment). As I started working on developing the sample code I found it a bit cumbersome to work with an entire web application project in Visual Studio, considering I was working with some really simple sample client-side html, css. As I craved for an alternative, I stumbled on to a development workflow that is incredibly simple and a lot of fun. I call it the Site44 workflow. Site44 turns your dropbox folders into websites. And it is awesome! Here is what you do -
1. Sign into Site44.com using your dropbox credentials.
2. Create a new site (all you have to do is come up with a name). I named it “ash”. A sub-folder with this name will show up in your dropbox folder.
3. Drag this folder to your Github for Windows screen and drop it there to create a github repo in that folder and push it to github.
4. Smile and write code.
As you save your code. The changes are deployed in real-time to your website. You commit to your github repo as you please. If you revert to a different version/branch of our code from your git repo, that version will be deployed (almost) instantly to your website. I wish there was a .site44ignore feature in Site44, just like .gitignore. That will allow me to keep my .git folder (and some other files) from getting published to the website. Other than that, this worked out really well for me.
I wrote about the experience of extending Bootstrap with LESS here : Bootstrap with LESS.
Hat tip to Justin Saraceno for introducing me to site44.