zazzlife / Zazz

Faceboo
2 stars 0 forks source link

add retry policy for entityframework if you use SQL Azure #33

Open smirzaei opened 11 years ago

smirzaei commented 11 years ago

More info: http://blogs.msdn.com/b/appfabriccat/archive/2010/12/11/sql-azure-and-entity-framework-connection-fault-handling.aspx

smirzaei commented 11 years ago

EF6 has built-in retry policy: http://entityframework.codeplex.com/wikipage?title=Connection%20Resiliency%20Spec

retry policy for DbContext: http://blogs.msdn.com/b/cesardelatorre/archive/2012/04/24/entity-framework-code-first-dbcontext-and-sql-azure-connection-fault-handling.aspx

another library: https://github.com/robdmoore/ReliableDbProvider