CodeSmith Community
Your Code. Your Way. Faster!

Switching kind of connection at runtime

Latest post 01-11-2008 2:45 AM by torlica. 0 replies.
  • 01-11-2008 2:45 AM

    • torlica
    • Not Ranked
    • Joined on 08-29-2007
    • Posts 3
    • Points 15

    Switching kind of connection at runtime

    I'm new to netTiers. I want to use them in an application that has the following context. There will be users running this app over a LAN (this users would use the standard DAL to access data) and there will be others users that will use this app on WAN, so this users would use a web service to access data. How is the best way to do this with netTiers?

    My idea is that in the login screen, the user should select the kind of connection he/she will use, something like LOCAL / REMOTE. I guess that I should modify the service layer but how is the best way to do this? And where should I save the kind of connection the user is using? I think that in the service layer I should use standard DAL o web client according to this parameter. Thanks in advance.

    • Post Points: 5
Page 1 of 1 (1 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems