How to Pass Server DateTime From WebAPI To AngularJS ? [Resolved]

Posted by Kasani007 under ASP.NET Web API on 5/8/2017 | Points: 10 | Views : 347 | Status : [Member] | Replies : 1
How to Pass Server DateTime From WebAPI To AngularJS ?
By using Task Async Await we can pass or not ? then how?




Responses

Posted by: Jitendrasoft09 on: 5/13/2017 [Member] [MVP] Starter | Points: 50

Up
0
Down

Resolved
Async await is good choice to implement as it does not run with own thread. It uses the current context request from server. Otherwise web ap2 having DateTimeOffset type, similar looks thread shared, try to understand-
http://stackoverflow.com/questions/33340908/handling-datetime-datatype-between-javascript-and-webapi-2

Jitendra Kumar
If my post helps you, plz mark as an answer.

Kasani007, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response