Understanding .NET and WCF Transactions

This course aims to make you truly understand transactions. It first lays down the architecture of transactions, and then demonstrates how this architecture is implemented in .NET and WCF.
Course info
Rating
(355)
Level
Intermediate
Updated
May 1, 2013
Duration
1h 4m
Table of contents
Description
Course info
Rating
(355)
Level
Intermediate
Updated
May 1, 2013
Duration
1h 4m
Description

Strictly speaking, implementing transactions in .NET and WCF is easy: you use WCF attributes to control the service and operations behaviors, and you are done! Moreover, an easier task is to transaction-enable .NET applications. .NET provides you with the classes to do just that. If that is the case, then why a course about transactions? Well, that is because just like everything else in programming, you need to understand the architecture, the underground of whatever seems to be an easy task. Only then can you design solutions as opposed to only coding them. WCF transactions are built from ground up around .NET transactions. This is hardly surprising anyway, since WCF is a .NET technology. However, this sums up as follows: you need to understand how .NET does transactions in order to utilize them in WCF.

About the author
About the author

Mohamad is a solution architect and Azure MVP with expertise in enterprise architecture, integration, identity and access, cloud, IoT, and data analysis.

More from the author
Starting with Oracle Big Data
Beginner
3h 35m
Jul 3, 2018
Real World SOA: Design and Implementation
Intermediate
9h 21m
Aug 1, 2016
More courses by Mohamad Halabi
Section Introduction Transcripts
Section Introduction Transcripts

.NET Transactions
Welcome to the third module about. NET Transactions. In this module you will get to see and practice the concepts I explained in the first two modules. This module is demo based. I will start by showing the setup of the demo, so that you can practice the samples while I am doing them. The first demo shows Atomic Transactions, Lightweight Transaction Manager, and enlisting of a Durable Resource Manager. Demo number 2, shows how Promotion is used to elevate the Transaction Manager to DTC, when dealing with multiple Resource Managers. The third demo shows MSMQ as a Durable Resource Manager that does not support Promotion. And finally, I will show you transactions with a Volatile Resource Manager Please note that the final type of Transaction Protocols, the WS-Atomic Protocol, will be discussed in the final module of the course, about WCF transactions.

WCF Transactions
Next we turn our attention to WCF Transactions, armed with the required knowledge from the previous three modules. After all, WCF is a. NET technology. I will start this module by explaining Transaction Flows and how Clients and Services, get to participate in a single transaction. Next, I will show you the different configuration possibilities for clients and services, participating in a transaction. I will then briefly touch in the topic of Local and Distributed Transaction Identifiers, a topic, which you already saw in the third module. The first demo shows Transaction Propagation in action. And finally, the second demo shows how to configure Transaction Protocols for different types of WCF bindings.