Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 910 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 910 Bytes

How to Run this code.

  1. Open this code into two instances of Visual studio.

  2. Set startup Project Demo in instance 1 and start it. Put a debug point as mentioned in the below snap. DO NOT MOVE CODE UNTILL STEPS 5 REACHED . THERE IS INFO WHEN TO MOVE FORWARD. image

  3. In the second intance of visual studio set DemoHub.Client as a startup project. Put a breakpont as mentioned in the below snap. image

  4. Run Client as well and you get a connectionId in the console.

  5. Since there is a bearKpoint set in step 2 in server code. So the server code will be bloked and after 30 seconds client will try to reconnect.

  6. Now Press F5 in server app.

  7. Now Press F5 in the Client code.

OUTPUT: New connection Id recived for Client.