CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Join Date
    Oct 2009
    Posts
    16

    Guidence for making a Project Client Server

    hi

    i am making one project for a company , i am new to c Sharp language , but have clear Knowledge about C++ , i have to take the hardwrae information of all the PC in the Company and send it to the Server where the data will be store in a database.

    i have made a code of taking data and now i am having problem in Sending them to the Server . should i use a buffer to send the data or send it through file and little guidance about client Server

  2. #2
    Join Date
    Sep 2008
    Location
    Netherlands
    Posts
    865

    Re: Guidence for making a Project Client Server

    There's no need to use or buffer of server application or whatever.

    You can send the data directly to the database. Just make sure the database allows remote connections.

  3. #3
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: Guidence for making a Project Client Server

    You will have to learn ADO.NET. Grab your copy of MSDN and start reading about ADO.NET. ADO.NET will let you connect to a database server and then you can do anything from your application. Read data from the database, update/modify existing data, create new data, etc.

  4. #4
    Join Date
    Oct 2009
    Posts
    16

    Re: Guidence for making a Project Client Server

    thank you for ur guidance i guess my this reply will make u more clear about my project

    this is the whole project , i am interested to do

    1) Client End Program Coding in C# at will be placed in start up , collect all the required data of hardware.

    2) Data Transfer through XML file or Buffer.

    3) Server side application take data from XML File

    4) Connectivity with the database

    5) Data Comparison for any hardware change

    6) Database updated


    we have make the structure but having problem in connectivity of client to Server , we are new in Client Server application and client application will run as a Client PC restart .

  5. #5
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: Guidence for making a Project Client Server

    If you make use of a database, you do not need points 2 and 3. That is what is being said by everyone, and now I'm saying it too...

  6. #6
    Join Date
    Oct 2009
    Posts
    16

    Re: Guidence for making a Project Client Server

    ahaan can u guide me a little bit or just tell me the path to go.. because i am a new one in database connectivity. ur reply will make my work easy

  7. #7
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: Guidence for making a Project Client Server

    Check out ADO.NET Tutorial.

  8. #8
    Join Date
    Oct 2009
    Posts
    16

    Re: Guidence for making a Project Client Server

    nice to read that Shuja just one more thing i have to make that software on .netframwork is ado.net work there , i mean i just have to give them executable file at the Server end that will do connectivity with Sql Server and manage all that data with GUI interface to user.

  9. #9
    Join Date
    May 2009
    Location
    Bengaluru, India
    Posts
    460

    Re: Guidence for making a Project Client Server

    Quote Originally Posted by uahmed View Post
    , we are new in Client Server application and client application will run as a Client PC restart .
    for this to happen you need to create you client application as a web service and put it in start up so that it start atutomatically each time your pc restarts

  10. #10
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: Guidence for making a Project Client Server

    ADO.NET is part of .NET Framework.

  11. #11
    Join Date
    Oct 2009
    Posts
    16

    Re: Guidence for making a Project Client Server

    remote connectivity is not allowed
    so still i use XML file to transfer data or use any other way to transfer

  12. #12
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: Guidence for making a Project Client Server

    Remote connectivity is not allowed???
    What does that mean?? What are you trying to do?
    Are you trying to send data to a database server or some other kind of server?

  13. #13
    Join Date
    Oct 2009
    Posts
    16

    Re: Guidence for making a Project Client Server

    ahaan , i explain again

    one application at client end send data to the Server PC , that data will then be putt in a sql server database for reviewing and viewing it , thorough GUI .

    main objective of this project is to make a software which can show the hardware description of all the pc connected in a network and notify the administrator when any changes occur.

  14. #14
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: Guidence for making a Project Client Server

    Ok. So your architecture is like this, a client app sends data to a server. On the server there is another app which reads the data and then puts that data into database. If my assumption is right, then you can use XML as your way of communicating. You can send XML from Client to Server. The server app then processes the XML and loads the data into a database server using ADO.NET.

    A work around would be to directly access the database server from the Client app and input data into DB directly.

  15. #15
    Join Date
    Oct 2009
    Posts
    16

    Re: Guidence for making a Project Client Server

    thank you so much so the project become like this

    Client end application in on Csharp
    server end application is on Ado.net

    is there any connectivity issue while making client server?
    because at Server end application we are generating threads to listen the client request to update data .

    and can we take data on real time , like if i want to know all the hardware configuration right now then is this work ? like making a code at server side application which send command to execute that client end program and send data back to server ?

    you are really making my work easy thanks for your guidance shuja ali

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured