# .Net sample application for using TradoVate (TV) API

**URL:** <https://community.tradovate.com/t/net-sample-application-for-using-tradovate-tv-api/5278>\
**Category:** Community Support\
**Created:** [August 9, 2022, 9:12pm UTC](https://community.tradovate.com/t/net-sample-application-for-using-tradovate-tv-api/5278 "2022-08-09T21:12:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wayne\_lo](https://avatars.discourse-cdn.com/v4/letter/w/67e7ee/32.png) [@wayne\_lo](https://community.tradovate.com/u/wayne_lo)\
**Post date:** [August 9, 2022, 9:12pm UTC](https://community.tradovate.com/t/net-sample-application-for-using-tradovate-tv-api/5278/1 "2022-08-09T21:12:36Z")

</div>

Hi,

I compiled the solution and put in my TV demo acct Token I bought.  
On running the compiled ‘TradoVateSamples.exe’ I am getting the following.

Looks like it disconnects automatically.  
Any help is appreciated.

* * *

CALLING SERVICES VIA WEBSOCKET [+0] RECVD: o… WebsocketClient\_Opened [+10] SENT: user/syncrequest\n1\n\n{“splitResponses”:true} WebsocketClient\_Closed Press any key to exit
