<commit_before>---
title: SQL Server / NHibernate / Outbox
summary: 'How to integrate SQL Server transport with NHibernate persistence using outbox'
tags:
- SQL Server
- SQLServer
- NHibernate
- Outbox
---

 1. Make sure you have SQL Server Express installed and accessible as `.\SQLEXPRESS`. Create three databases: `sender`, `receiver` and `shared`.
 2. Start the Sender project (right-click on the project, select the `Debug > Start new instance` option). 
 3. Start the Receiver project.
 4. If you see `DtcRunningWarning` log message in the console, it means you have a Distributed Transaction Coordinator (DTC) service running. The Outbox feature is designed to provide *exactly once* delivery guarantees without DTC. We believe it is better to disable the DTC service to avoid confusion when you use Outbox.<commit_msg>Update sample.md<commit_after>---
title: SQL Server / NHibernate / Outbox
summary: 'How to integrate SQL Server transport with NHibernate persistence using outbox'
tags:
- SQL Server
- NHibernate
- Outbox
---

 1. Make sure you have SQL Server Express installed and accessible as `.\SQLEXPRESS`. Create three databases: `sender`, `receiver` and `shared`.
 2. Start the Sender project (right-click on the project, select the `Debug > Start new instance` option). 
 3. Start the Receiver project.
 4. If you see `DtcRunningWarning` log message in the console, it means you have a Distributed Transaction Coordinator (DTC) service running. The Outbox feature is designed to provide *exactly once* delivery guarantees without DTC. We believe it is better to disable the DTC service to avoid confusion when you use Outbox.
{'fraction_non_alphanumeric': 0.06938527084601338, 'fraction_numerical': 0.004869141813755326, 'mean_word_length': 4.303225806451613, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7243975', 'n_tokens_mistral': 441, 'n_tokens_neox': 404, 'n_words': 231}