What is the canonical way to return a json object in asp.net webforms programming?
Posted
by Joe
on Stack Overflow
See other posts from Stack Overflow
or by Joe
Published on 2010-06-02T23:23:17Z
Indexed on
2010/06/03
0:44 UTC
Read the original article
Hit count: 266
In ASP.Net MVC action methods can return json objects simply by returning something like so:
JSon([whatever])
How do I return a JSon representation of say List<String>
with webforms either through a service or through a method in the code behind of an aspx page? This seems incredibly confusing compared to ASP.Net MVC.
© Stack Overflow or respective owner