I want insert data to Sql in mvc c# with socket programming client side, server side
Can you help me
I will get back to you soon.
Hi sani.ss501,
Refer below links.
https://stackoverflow.com/questions/35554128/opening-a-websocket-channel-inside-mvc-controller
https://dejanstojanovic.net/aspnet/2014/june/websocket-in-mvc4/
http://www.codepartners.com/Blog/TabId/110/PostId/5253/how-to-create-a-simple-websocket-project-with-mvc-4.aspx
there isn't insert code in your example
Refer the below link.
Inside the OnMessage strBody is your data. You need to write database saving code.
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.