【发布时间】:2016-02-24 09:38:26
【问题描述】:
缺少 Azure 文档,文章经常过时。
我了解到 Azure 服务(ServiceBus、FileStorage...)的“瞬态故障处理”(TFH) 现在是完全管理。现在似乎在客户端没有什么可以实现的。过去,我们可以使用 Enterprise Library 来管理这些目的,但它已被淘汰。为了访问 SQL 数据库,为实体框架 (https://msdn.microsoft.com/en-us/data/dn456835.aspx) 实施了一项策略。
这是我的问题:
- 是否有必要在 ServiceBus 和 FileStorage 上使用 Azure SDK 才能受益于现在在 Azure 上实施的策略?
- 使用非 EF 访问数据时如何管理 TFH?
我们需要确保我们的组件(使用 WebClient、原始 ADO.NET...)将以可维护的方式正确运行。
【问题讨论】:
-
I've read that "Transient Fault Handling" (TFH) for Azure services (ServiceBus, FileStorage...) is now fully managed. It seems now there is nothing to implement on the client side.- 你能分享你读过这篇文章的链接或来源吗? -
我得到了一些回复您的评论。 :-) 这是链接:4 - Perseverance, Secret of All Triumphs
The Azure Storage Client Library version 2 includes retry policies for Azure Storage Services and it is recommended that you use these built-in policies in preference to the Transient Fault Handling Application Block.所以,我想 Azure 存储客户端库版本 2,因为它嵌入了内置策略,现在是访问 Azure 服务的推荐方式?
标签: c# entity-framework azure azure-sql-database azure-sdk-.net