Vishwakant Tripathi

Vishwakant Tripathi

  • NA
  • 717
  • 822.3k

dynamic connection string in 3 tier architecture

Sep 10 2013 3:27 AM

Hi,

         I am working on MVC4 application with three-tier architecture. I have a scenario where i am stuck by one week...

In this application, we have dynamic connection string for each logged-in user, I can get the dynamic connection string in Presentation layer but getting issue to pass it in data access layer, I tried with one static Utility class, but it has problem to override value for another user session. I want to avoid to pass in each method from Presentation layer to data access layer or business layer.

So please give me some idea how to cover this scenario.

Thanks

VD.


Answers (6)