in

CodeSmith Community

Your Code. Your Way. Faster!

Switching connections at run time

Last post 01-03-2008 3:21 AM by torlica. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 01-03-2008 3:21 AM

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

    Switching connections at run time

    I'm new to netTiers. I want to use them in an application that has the following context. There will be users running the app on LAN (this users would use the standard DAL to access data) and others users that will use it 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 or 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)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems