Develop Azure Event-based and Message-based Solutions
Fiodar Sazanavets
Senior Software Engineer and Microsoft MVP
Queue Storage
Service Bus





Duplicate detection prevents messages from being processed twice.
If a sender retries and the same message arrives again, it is detected by its message ID.
Duplicates are discarded within a configured time window.
This helps achieve near exactly-once processing despite network retries.


Service Bus Sessions enable ordered message processing.
Related messages share a Session ID (for example, all updates for the same order).
Each session is delivered to one consumer at a time.
Message order is preserved within a session, and the consumer can keep lightweight state.
Multiple sessions can be processed in parallel, while each session remains ordered.
Develop Azure Event-based and Message-based Solutions