Send Objects within Object using Json -ASP.net (Sub Objects)
The Client server communication based on Well formed JSON string is an effective method to improve the responsiveness within server and browser communication.The rich client with jQury and JavaScript I have used need to generated in the page load which contain the objects (sub objects) within object (parent objects). Here I have used the Web service class Within visual Studio to define object structure as a class . Web service definition namespace testdefultlogin.webservices { [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)] // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. [System.Web.Script.Services.ScriptService] public class clientService : System.Web.Services.WebService ...