Click here to Skip to main content
15,915,336 members

Comments by Member 10192073 (Top 81 by date)

Member 10192073 1-Jul-19 7:19am View    
Hi, When Same I am trying to get in Json and then deserialize into dictionary that time it is working fine, But I have to implement it by Xml response in my project and Unit Testing.

When Response in Json that time

using (var streamReader = new StreamReader(response.GetResponseStream()))
{
var result = streamReader.ReadToEnd();
dic = JsonConvert.DeserializeObject<dictionary<long, string="">>(result);
}

these lines is enough to deserialize json string
Member 10192073 15-Jun-17 13:44pm View    
I wil check, but I have splited and now I am sending data with 100 per call....

One thing I want to tell that
Even in my desktop application I was getting timeout exception but my web API was working that time too.
Means when I got timeout exception in my desktop application that time in my web DB records inserted 156 rows but after just few seconds I again run select query in web DB I got 258 records again after few seconds I run select query and got 468 rows means even timeout exception was coming in desktop but operation was going in my web code
Member 10192073 13-Jun-17 5:46am View    
var index = GetColumnIndexByName(grdOutstandingInvoice,"Ref Doc#");
but i don't want to find by header name
directly poNo how i can give?
Member 10192073 18-Apr-17 5:49am View    
Thanks i was giving wrong path of my Exe file, now its fine for me
Member 10192073 1-Feb-17 5:12am View    
ya i will definitely look this also, and first of all thanks for immediate reply, i needed solution urgently.
Thanks a lot