locked
Communication between Server and Client? RRS feed

  • Question

  • Hello to your guys at MSDN.

    Background knowledge: We need to make an Application. For tasks tracking and “come and go”  Registration. We all agree that we will do this with a database (SQL Server on the server) and client application. But what we not are agreeing on. Is how we will do this? My IT-teacher thinks that we make communication as follows. The client application communicates to the Server via a windows Service and then the windows Service write the Data into the database. But my Programming teacher thinks that we and just shall go from the Client Application to the SQL server.

    The Question: Now I am a little bit confused on. How we need to do. For make the Application. And I will like to know. What you guys have to say about the two different ways? And if neither one of them is the right one then what is the right answer?

    Remember to be clearly about these things. IT- security for the database and what technologies I shall use for the communication part between the two applications.

    Tuesday, January 24, 2012 7:28 PM

Answers

  • On 1/24/2012 2:28 PM, Rkovergaard wrote:
    > Hello to your guys at MSDN.
    >
    > Background knowledge: We need to make an Application. For tasks tracking
    > and “come and go” Registration. We all agree that we will do this with a
    > database (SQL Server on the server) and client application. But what we
    > not are agreeing on. Is how we will do this? My IT-teacher thinks that
    > we make communication as follows. The client application communicates to
    > the Server via a windows Service and then the windows Service write the
    > Data into the database. But my Programming teacher thinks that we and
    > just shall go from the Client Application to the SQL server.
    >
    > The Question: Now I am a little bit confused on. How we need to do. For
    > make the Application. And I will like to know. What you guys have to say
    > about the two different ways? And if neither one of them is the right
    > one then what is the right answer?
    >
    > Remember to be clearly about these things. IT- security for the database
    > and what technologies I shall use for the communication part between the
    > two applications.
    >
     
    A WCF service is being hosted on a computer, the WCF service can
    communicate directly with a database, and the WCF service can
    communicate with a database on the behalf of a WCF client.
     
    Now a Windows Service can host the WCF service, a Console application, a
    Windows application or a Web server with a WCF Web Service can host the
    WCF service.
     
    But something has to host the WCF service. And something has to host the
    WCF client that is consuming the WCF service.
     
     
    • Marked as answer by Rkovergaard Wednesday, January 25, 2012 7:08 AM
    Tuesday, January 24, 2012 7:44 PM