How to connect data through sql server as well as scale out state server in single process at a time?

Hi Sir,
My Question: In the WPF project we need to connect the database through sql server and as well as Scale Out State Server. Before that we need to map entire columns in the state server and one thing is for the first time we need to connect data through sql server, after each and every time data is retrieved from the scale out state server. If this process is applicable or not?


You can use backing store integration for the named cache to interact with a database. Please read through the topics related to the backing store in the .NET Named Cache API online help for more information. Also, please review the backing store example in the StateServer samples folder.