In a real world scenario the loss of connection to the primary database server due to various reasons is a danger that your application may need to handle. Telerik Data Access can help you do that. Today we start a series of blog posts which will expand upon the concepts shown in our previous post to show you how to implement a SmartContext class which can help you with such scenario. The concept behind the SmartContext class is that it should allow you to work with the database in a manner very similar to how a normal instance of your model`s context would. Additionally it will have logic to automatically cache data in a backup storage and seamlessly switch to using this backup storage in case the connection to the primary database server is lost. In the first part of this series we will see how to persist the changes made by CRUD operations in a backup storage so that they would be readily available in case of a connection failure.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Architect,Intermediate,Articles,Computer Tutorials, Telerik, RadControls