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
Loading
Mahesh ChandPosted Nov 1, 2009, 12:39 PM
- TCP/IP simple protocol
- DCOM (distributed COM)
- .NET Remoting
- Web Services
- Shared Database
#1 and #2 are difficult to implement if you have not done coding in C# before.#3 and #4 (.NET Remoting and a Web Service) are simpler approaches because there is high-level API classes in .NET for these items.
#5 Shared database is the easiest approach if you have control over server and software.
Now depending on your requirement, you can search this site.
usamaPosted Nov 1, 2009, 10:43 AM
remote connectivity is not allowed :(
usamaPosted Oct 26, 2009, 11:44 AM
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.
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 .Kirtan PatelPosted Oct 25, 2009, 10:42 AM
Here is Simple Idea
First Install SQL Server on Server then
you just have to do Programming for Client Software that will
use System.Data.SqlClient now ...
you dont need to code How to transfer data it will be done using that SqlClient name space just you have to enter
Server PC's IP ,user name and password into the connection string of client Parts programming other things like
connecting to pc , transfer data will be handled by System.Data.SqlClient namespace used in Client Part :)
you can write data in Server database and also can retrieve data from server database on Screen of Client Software :)
if my answer helps you please check "Do you like this answer" :)
and if still having some doubt then let me know :)
thank you :)
usamaPosted Oct 25, 2009, 10:32 AM
sql server is installed in the Server , basic problem area is how to transfer a file , i mean we are having all data at Client End and now we have to send that to the server , should i putt the the data in XML file and then send or any other way , and little problem in Client Server how to connect them key factors while writing a code , because its maintaining the data of more than 1500 PCs.
any link or book that will help me to make this code !
hooshang_nosratpanahPosted Oct 25, 2009, 9:09 AM