Click here to Skip to main content
15,887,585 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerI think I did it, got my json reponse back with no error during testing. Pin
jkirkerx9-Aug-12 17:03
professionaljkirkerx9-Aug-12 17:03 
QuestionRe: A liitle help on submitting a json array, no-primitive to a web service Pin
CodeHawkz9-Aug-12 20:54
CodeHawkz9-Aug-12 20:54 
AnswerRe: A liitle help on submitting a json array, no-primitive to a web service Pin
jkirkerx10-Aug-12 6:26
professionaljkirkerx10-Aug-12 6:26 
AnswerRe: A liitle help on submitting a json array, no-primitive to a web service Pin
CodeHawkz12-Aug-12 8:48
CodeHawkz12-Aug-12 8:48 
GeneralRe: A liitle help on submitting a json array, no-primitive to a web service Pin
jkirkerx12-Aug-12 10:25
professionaljkirkerx12-Aug-12 10:25 
GeneralRe: A liitle help on submitting a json array, no-primitive to a web service Pin
CodeHawkz12-Aug-12 17:23
CodeHawkz12-Aug-12 17:23 
GeneralRe: A liitle help on submitting a json array, no-primitive to a web service Pin
jkirkerx13-Aug-12 7:17
professionaljkirkerx13-Aug-12 7:17 
GeneralRe: A liitle help on submitting a json array, no-primitive to a web service Pin
CodeHawkz29-Aug-12 19:17
CodeHawkz29-Aug-12 19:17 
Hey there,

I am sorry about the really late reply. But I've been working with web technologies and XML manipulation much. One thing I've learnt is that XML is great for data transferring but it's slow and heavy.

For instance, if you want to send one piece of data that is huge XML is fine. But if you want to send lots of small pieces of data, the number of tags generated for each small object, adds an unnecessary weight. I hope this gives you the basic idea of what I mean.

I won't have time to write a fully generalized JSON class Frown | :( But it should be really easy to write a logic to generalize your specific class without using XML. Let me know if you still want it.

Basic idea for it would be to implement an interface on all the classes you want to JSONify (I made that word up :P) and pass it on to a special class. The implementation of the interface would return a JSON data string for that specific object. The special class would bind them all to one piece of data.

Hope this helps, Regards
GeneralRe: A liitle help on submitting a json array, no-primitive to a web service Pin
jkirkerx30-Aug-12 6:04
professionaljkirkerx30-Aug-12 6:04 
GeneralRe: A liitle help on submitting a json array, no-primitive to a web service Pin
CodeHawkz30-Aug-12 20:34
CodeHawkz30-Aug-12 20:34 
GeneralRe: A liitle help on submitting a json array, no-primitive to a web service Pin
jkirkerx31-Aug-12 6:25
professionaljkirkerx31-Aug-12 6:25 
QuestionPage.Response.Redirect not working Pin
dcof9-Aug-12 5:21
dcof9-Aug-12 5:21 
AnswerRe: Page.Response.Redirect not working Pin
jkirkerx9-Aug-12 6:50
professionaljkirkerx9-Aug-12 6:50 
AnswerRe: Page.Response.Redirect not working Pin
AspDotNetDev9-Aug-12 6:51
protectorAspDotNetDev9-Aug-12 6:51 
AnswerMessage Closed Pin
9-Aug-12 8:14
professionaljkirkerx9-Aug-12 8:14 
GeneralRe: Page.Response.Redirect not working Pin
dcof9-Aug-12 12:11
dcof9-Aug-12 12:11 
GeneralRe: Page.Response.Redirect not working Pin
jkirkerx9-Aug-12 17:09
professionaljkirkerx9-Aug-12 17:09 
GeneralRe: Page.Response.Redirect not working Pin
dcof9-Aug-12 18:40
dcof9-Aug-12 18:40 
AnswerRe: Page.Response.Redirect not working Pin
dipurajp10-Aug-12 2:42
dipurajp10-Aug-12 2:42 
GeneralRecursion from asp classic to asp net Pin
EnricoRS19-Aug-12 4:45
EnricoRS19-Aug-12 4:45 
AnswerRe: Recursion from asp classic to asp net Pin
Wes Aday9-Aug-12 5:54
professionalWes Aday9-Aug-12 5:54 
GeneralRe: Recursion from asp classic to asp net Pin
EnricoRS19-Aug-12 9:00
EnricoRS19-Aug-12 9:00 
AnswerRe: Recursion from asp classic to asp net Pin
jkirkerx9-Aug-12 8:19
professionaljkirkerx9-Aug-12 8:19 
GeneralRe: Recursion from asp classic to asp net Pin
EnricoRS19-Aug-12 9:01
EnricoRS19-Aug-12 9:01 
GeneralThis is how I would of wrote it, Pin
jkirkerx10-Aug-12 7:04
professionaljkirkerx10-Aug-12 7:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.