Important Web service interview questions and answers

In this blog, I have collected Web Service interview questions and answers which are very important for interview. Whether you are a fresher or have some development experience, the Web Service interview questions given below will prove to be very beneficial for you.   1. What is Web Service? Web Service is the mechanism to … Read more

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

How to overload a web method in web service – ASP.Net

We can define Method Overloading as , Same Methods name with different type of parameter or different set of parameters. Web method overloading is not straight forward in use. Suppose there are 2 methods in a web service.  public string GetEmployee(int employeeId)    {        string empName = string.Empty;        //write … Read more

All about Web Service, SOAP and RESTful Service

SOAP vs REST

In the previous blog, we have seen “What is SOA (Service Oriented Architecture)?“In this blog, we will see in detail about Web Services, SOAP-based web services, and RESTful web services. You may also see one of my blogs WCF vs Web Services. What is a Web Service? Web service is a way to communicate between 2 … Read more

RSS
YouTube
YouTube
Instagram