Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. UI, BLL and DA in different servers

UI, BLL and DA in different servers

Scheduled Pinned Locked Moved C#
csharpdatabasedesignsysadminbusiness
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mukkanti007
    wrote on last edited by
    #1

    hi all, in my .net application i have my ui in one server and business logic in one server and database from another server, how can i establish communicatin between these 3 servers if i want to get dabase info into code behind how can i access the data Could some one help me

    Thanks sri

    L 1 Reply Last reply
    0
    • M mukkanti007

      hi all, in my .net application i have my ui in one server and business logic in one server and database from another server, how can i establish communicatin between these 3 servers if i want to get dabase info into code behind how can i access the data Could some one help me

      Thanks sri

      L Offline
      L Offline
      lmoelleb
      wrote on last edited by
      #2

      Use ADO.NET to communicate between business logic and the database (it will handle the network traffic for you). If your UI and business logic are on different servers "Windows Communication Foundation" surprisingly enough can be used as a foundation to communicate between two Windows servers. :) If you are stuck with the outdated 2.0 Framework you might have to use Remoting or old webservices for the communication instead. This pretty much forces you to make your own data transfer objects and other boring tasks. You can also use DataSets to communicate from your business logic to the GUI - this allows you to reflect the database more or less unchanged in the GUI which greatly reduce development time for the "small" price of unmaintanable code. If you are a consultant who only needs to make sure there is a future revenue stream it might be the way to go. If you do use datasets, please make sure to put this in the subject of future code project posts so I won't open them by accident and get sick. :)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups