如何在c sharp webserver中存储客户端数据? [英] How to store the client data in c sharp webserver?

查看:45
本文介绍了如何在c sharp webserver中存储客户端数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在使用visual studio2012。我正在为物联网应用开发基于c sharp的网络服务器。

我的客户端将以TCP / IP数据包格式发送一些传感器信息,我需要获取数据包的内容并将其存储在服务器数据库表中。



任何机构都可以帮助我如何存储服务器数据库中来自客户端的数据包数据内容?







问候,

Sravani



I am using visual studio2012. I am developing c sharp based webserver for IOT applications.
My client will send some sensor's information in a TCP/IP packet format, I need to take the content of packet and store it in server data base table.

could any body help me how to store the content of packet data which is coming from client in server data base?



Regards,
Sravani

推荐答案

问题有点宽泛。我猜,你正在为客户端服务器通信做一些套接字编程,而在服务器端则希望使用ADO.NET将数据存储到数据库中。您是否尝试过任何问题,或者您想要设计/架构指导?
Question is a bit broad. I am guessing, you are doing some socket programming for client server communication and on server side would like to use ADO.NET to store the data to a database. Did you try anything and facing any issue or you want design/architecture guidance?


这篇关于如何在c sharp webserver中存储客户端数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆