Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 months ago.
Improve this question
what do I need to study before programming a windows chat application in C#?? Moreover, can you recommended me books names or tutorials links about this topic??
You'll need to understand interprocess communication if you want to make a "chat" application.
Typically, in C#, this is currently handled via Windows Communication Foundation. That would be a good place to start.
It depends on the specific requirements for your chat program. Is your application going to be web-based (runs in the browser) or will people need to download a program for it to work? Will communication be handled directly from one computer to another (peer-to-peer), or will there be a central server that handles communication? Will there be "chat rooms" where more than two people are chatting together at once? Will chat conversations be encrypted for privacy? Will chat conversations be saved?
Depending on your answers to these questions, you may want to look into:
Windows Communication Foundation
Asp.net MVC
SQL Server
Entity Framework or LINQ to SQL
Interprocess communication
AJAX
JSONP
Windows Presentation Foundation or Windows Forms
... and possibly others as well.
If you don't know where you're going, any road will get you there. -- The Cheshire Cat
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Is it possible to automatically send a text message from a button click? I'm coding a Windows 10 application in C#.
I think that Windows 8.1 cannot, but does the new Windows 10 apis allow this?
Although there is an SMSMessage library, this is limited to Windows Mobile which was the predecessor to Windows Phone.
Obviously, due to its age and limitations, it's severely outdated and you wouldn't want to use it. I'd have added this as a comment but I'm new to the site and can't. Hope this helps to clarify though!
Nope. There is no such way across any flavor of Windows operating system as far as windows APIs are concerned. I believe it will equally apply to other operating systems available in market as well. While sending an SMS you will be using the telecom companies' infrastructure and their mobile network. There are vendors in market which provide such facility behalf of the telecom providers. I found a few blogs referring on how to use such libraries to send SMS:
http://www.codeproject.com/Articles/19023/Sending-SMS-using-NET
http://www.c-sharpcorner.com/uploadfile/b8d90a/send-sms-using-c-sharp-net/
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to implement a notification feature i.e. user gets notification just like facebook when database is updated. I want to implement this feature in c#, can anyone help me out?
Thanks
You can use SignalR for real-time web features.
ASP.NET SignalR is a new library for ASP.NET developers that makes developing real-time web functionality easy. SignalR allows bi-directional communication between server and client. Servers can now push content to connected clients instantly as it becomes available. SignalR supports Web Sockets, and falls back to other compatible techniques for older browsers. SignalR includes APIs for connection management (for instance, connect and disconnect events), grouping connections, and authorization.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to develop 1 chat functionality in my ASP.NET website, I have 1 Registered_User.aspx page and here in this page I want to show all the registered users with online and offline mode, after that when I select the online user for chat one message should be delivered to that user in the form of Accept/Decline and if user accept the chat then chat will be start otherwise chat will be decline.
You can implement everything you want just by using SignalR which is a new library for ASP.NET developers that makes it incredibly simple to add real-time web functionality to your applications. What is "real-time web" functionality? It's the ability to have your server-side code push content to the connected clients as it happens, in real-time.
You'll find a tutorial for Getting Started with SignalR 2
For your purpose you can establish a temporal connection perhaps by notification then establish the persistent one.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a project to create a messaging system for iOS, Android, web browser as the client. What kind of protocol can i use? I have read about the HTTP and Socket programming. Some solution that come up:
GET/POST HTTP
Socket
If we have the socket programming, how can we arrange the socket connection with the load balancing?
Any idea which one can I apply or other protocol?
Thanks
My first plan is to create something like a usual chatting app we know nowadays, but integrated with some other functions in the current system. Which one should I use?
I strongly recommend that you use an established protocol, IRC. For a general overview of IRC see http://en.wikipedia.org/wiki/Internet_Relay_Chat
Read about one Android library implementation at IRC library for Android (From 2.3.3 to 4.0.3 )?
This could go a long way towards solving your problem. Mainly though, "don't reinvent the wheel" as the saying goes.
You can check SignalR to use on the Website part. This will allow you to create real time connections. It uses WebSockets:
http://signalr.net/
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm currently thinking about developing a sockscap-like tool with some cool new features and a nice WPF gui.
For those who don't remember:
SocksCap was a tool that allowed you use any application with the use of a SOCKS4/5 Proxy... So e.g. you could play games with another IP without using VNC and alike.
However I'm not much of a network guy, so I'd love some input on how to "socksify / proxify" from an external application within a windows environment. As this is supposed to be a project, not a "quick and dirty" thing I'm only into "clean and generic" approaches instead of "modify HOSTS entry" or "plugin for each application"...
So how would someone with knowledge about networking programming start his research about redirecting (routing?) an applications traffic via a proxy?
Thanks for any help :-)
Google always helps.
Under windows there is something similar to socksify:
FreeCap -- is a program for transparency redirect connections from programs through SOCKS server. In fact that some programs hasn't native SOCKS support (for example Internet Explorer), In this case FreeCap will be helpful, transparently redirect all connections requests through SOCKS server.
The internal implementation of this seems hijacked the socket call of the client applications.