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. Web Development
  3. ASP.NET
  4. need urgent help how to synchronize web & windows database. Please help

need urgent help how to synchronize web & windows database. Please help

Scheduled Pinned Locked Moved ASP.NET
databasecsharpasp-nethelp
6 Posts 6 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.
  • Y Offline
    Y Offline
    Yajjoj
    wrote on last edited by
    #1

    I have a task that i have to synchronize/update both my web(asp.net & SQL 2005) and windows application databases(VB.net & SQL 2005). My scenario is my web app. and windows app. both accept reservations. I want any reservation happen to my web or windows app will reflect to both databases(online & local) at the same time. Please help me. WTF Thanks.

    al hajjaj

    N M S 3 Replies Last reply
    0
    • Y Yajjoj

      I have a task that i have to synchronize/update both my web(asp.net & SQL 2005) and windows application databases(VB.net & SQL 2005). My scenario is my web app. and windows app. both accept reservations. I want any reservation happen to my web or windows app will reflect to both databases(online & local) at the same time. Please help me. WTF Thanks.

      al hajjaj

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      brine_fury wrote:

      I want any reservation happen to my web or windows app will reflect to both databases(online & local) at the same time.

      That's not possible. How the server database can communicate with your local one? Why don't your windows application connect to online database, pull all missing records and update the local database?

      brine_fury wrote:

      WTF

      Do you mean this[^] ;P

      Navaneeth How to use google | Ask smart questions

      1 Reply Last reply
      0
      • Y Yajjoj

        I have a task that i have to synchronize/update both my web(asp.net & SQL 2005) and windows application databases(VB.net & SQL 2005). My scenario is my web app. and windows app. both accept reservations. I want any reservation happen to my web or windows app will reflect to both databases(online & local) at the same time. Please help me. WTF Thanks.

        al hajjaj

        M Offline
        M Offline
        Manas Bhardwaj
        wrote on last edited by
        #3

        You dont actually need two databases. Write a web service(data access layer) which talks to a single database. Use this web wervice in both web and windows to perform the actions.

        Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

        A 1 Reply Last reply
        0
        • M Manas Bhardwaj

          You dont actually need two databases. Write a web service(data access layer) which talks to a single database. Use this web wervice in both web and windows to perform the actions.

          Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          Yup. I am agree with your view.

          cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net

          B 1 Reply Last reply
          0
          • A Abhijit Jana

            Yup. I am agree with your view.

            cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net

            B Offline
            B Offline
            Baran M
            wrote on last edited by
            #5

            ya If we split the logical layers then we can do that easily. Web service is an ultimate solution. :)

            1 Reply Last reply
            0
            • Y Yajjoj

              I have a task that i have to synchronize/update both my web(asp.net & SQL 2005) and windows application databases(VB.net & SQL 2005). My scenario is my web app. and windows app. both accept reservations. I want any reservation happen to my web or windows app will reflect to both databases(online & local) at the same time. Please help me. WTF Thanks.

              al hajjaj

              S Offline
              S Offline
              samMaster
              wrote on last edited by
              #6

              Web service is an ultimate solution but if you think this way is not possible you can move just the reservations table on web service and you can synchronize other tables at a specific time. On this way you have enough time to convert all your database to web service. Good luck!

              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