locked
Websocket in ASP.NET 4.5 RRS feed

  • Question

  • User746671234 posted

    Hello, I have 2 forms on first I am showing a page with payment details.

    Once payment done from payment provider it goes to my paymentreceive page which adds info in database.  So I have to inform my form1 that payment is done and proceed to next page.  Someone told me to do this using websocket.

    Can I do this in asp.net 4.5?  I am not using .net core.

    Can anyone suggest me any piece of code of any url?

    Friday, February 26, 2021 10:17 AM

All replies

  • User-939850651 posted

    Hi ravininave,

    Can I do this in asp.net 4.5?

    How about your operating environment? As far as I know, ASP.NET won't support WebSockets until Windows Server 8/IIS 8. 

    Maybe you can refer to this article for more information, and it contains a simple example:

    Websockets with ASP.net 4.5 and Visual Studio 2012

    If you just want to use a .NET WebSocket server, Fleck is worth a look.

    Hope this can help you.

    Best regards,

    Xudong Peng

    Monday, March 1, 2021 2:24 AM
  • User746671234 posted

    Yes I have Windows server 16

    Monday, March 1, 2021 1:32 PM