Click here to Skip to main content
16,016,570 members

Comments by Lokesh Kondapalli (Top 22 by date)

Lokesh Kondapalli 30-Dec-15 12:22pm View    
Are you testing in WCFTestClient ? or in other application by adding service reference ?
Lokesh Kondapalli 25-Nov-13 4:11am View    
yes sir, its clear but even try with class error occurring like this

"\"{\\\"UName\\\":\\\"prasad\\\",\\\"LastName\\\":\\\"k\\\",\\\"FirstName\\\":\\\"sai\\\"}\""


i did temporary solution for this : by removing the special characters. so its working fine for both list and class

string s = result.Replace(@"\", string.Empty);
string final= s.Trim().Substring(1,(s.Length)-2);

its a temporary solution,but i need permanent solution for dynamic format's

and thank you sir for spending your valuable time :)

Lokesh Kondapalli 25-Nov-13 3:29am View    
no sir am not serious... just i want task to be done thats it and very thank ful for your responce :)


<_Temp> u mean _Temp class instead of list
Lokesh Kondapalli 25-Nov-13 2:59am View    
http://stackoverflow.com/questions/18711721/jsonconvert-deserializeobjecttjsonstring-returning-all-propertiest-as-null

i think its the exact link what you posted for my question.
in url link i seen the answer that "JSON do not match the property names in your class"
but its not in my case .


yes am missing some thing basic and Error occurring, due to those special characters.

and with out those characters its working fine
that string is [{"UName":"prasad","LastName":"last","FirstName":"firest"}] i checked in
http://www.jsoneditoronline.org/
Lokesh Kondapalli 25-Nov-13 2:44am View    
by seeing ur answer i only understand that... "JSON do not match the property names" but its entirely different here am having Exact name in service as well as in client side so how can i fix this by only seeing ur link ? is it correct link for my question ?