What is Xml Serialization

In this blog, we will see XML Serialization and its implementation using C# code. Lets first understand Serialization. Serialization is the process of converting an object into a format that can be transferred over the network. What is XML Serialization? XML Serialization is the process of converting an object into XML file which is easy to read … Read more

Web Service to return data in JSON format

Web services are those services which are available over web to communicate between systems.By default Web Service returns data in XML format, now if the requirement is to return in JSON format then we need to do modification in web method.Below webmethod returns data in JSON format.     [WebMethod]     [ScriptMethod(ResponseFormat = ResponseFormat.Json)]     … Read more

How to create a secure webservice in asp.net

Web service is a way to communicate between 2 machines via HTTP, those 2 machines can be on the different platform.See more about web service at this URL: http://www.sharepointcafe.net/2015/05/all-about-web-service-soap-rest.htmlAs you know web service is a way to communicate over HTTP, so the main concern here is security.How to make a secure web service? Below are … Read more