Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create web service (server & Client) in Visual Studio 2012?

Tags:

web-services

How to create web service (server & Client) in Visual Studio 2012? like being done before 2012 as http://www.tutorialspoint.com/asp.net/asp.net_web_services.htm

like image 551
Sachin Warke Avatar asked Aug 21 '12 09:08

Sachin Warke


People also ask

What is web service server?

A Web Service is an application that can be accessed over a network, such as the internet. A Web Server is a program that delivers content over HTTP. So, if you want your Web service to be accessed over the internet, you'll set it up on a Web Server.

Is Google a web service?

Google.com is a well-known web search engine. Google has made a web service available that allows developers to interface with their search engine within their own applications. A user can search for any topic on the web. A query will return data about the web pages that are found.

Is web API a web service?

Though APIs and web services can both facilitate data transfers between applications over the internet, they are not the same, and the terms should not be used interchangeably in every case. The key distinction is that web services are a type of API: All web services are APIs, but not all APIs are web services.


2 Answers

When creating a New Project, under the language of your choice, select Web and then change to .NET Framework 3.5 and you will get the option of creating an ASP.NET WEB Service Application.

enter image description here

like image 119
Adrian L. Avatar answered Sep 24 '22 06:09

Adrian L.


  1. Create a new empty Asp.NET Web Application.
  2. Solution Explorer right click on the project root.
  3. Choose the menu item Add-> Web Service
like image 36
Vincenzo Costa Avatar answered Sep 24 '22 06:09

Vincenzo Costa