I want to implement chat feature in my asp.net mvc 4.0 website. I've few doubts in my mind.
Should I use MS SQL database to store chat message and to update on user profile using jquery (refreshing after every 5 seconds).
Should I use Inbound Web-hook HTTP Post method to update chat message on user profile using same MS SQL databse.
Should I use XMPP without any database to integrate it in my website and use it.
Please let me know which method is best for implementing chat feature in website?