如何在C#应用程序vs 2012中构建一个简单的聊天室而不需要数据库? [英] how to build a simple chat room in C# application vs 2012 without need of database?
本文介绍了如何在C#应用程序vs 2012中构建一个简单的聊天室而不需要数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我看了很多关于如何进行简单聊天的例子,他们都连接到数据库,或者他们正在使用一个名为SignalR的软件包,经过多次尝试后我无法安装。
I looked at many examples of how to make a simple chat bu they are all connected to a database or they are using a package called SignalR which I couldn't install after many attempts.
推荐答案
没有必要使用数据库。我的意思是在某些情况下你必须,但在没有必要的情况下,不要使用它。
你可以使用 Socket [ ^ ]和/或 RMI [ ^ ]
见下面给出的一些例子,
C#中的简单聊天程序 [ ^ ]
TCP / IP Chat Appli使用C# [ ^ ]
-KR
There's no need to use database. I mean in certain cases you have to, but as far as not necessary, don't use it.
You can use Socket[^] and/or RMI[^]
See some examples are given below,
Simple Chat program in C#[^]
TCP/IP Chat Application Using C#[^]
-KR
这篇关于如何在C#应用程序vs 2012中构建一个简单的聊天室而不需要数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文