Esempio di Web Service con ASP.NET using System; using System.Web.Services; public class DateService:WebService{ [WebMethod] public String GetDateStri
{"Image DocumentName": "Esempio di richiamo di un Web Service in .NET", "Image ImageDescription": "DateClient.cs. using System; class App{ public static void Main(){ DateService webObj = new DateService(); webObj.Url =  ; String dateString = webObj.GetDateString(); Console.WriteLine(dateString); } Sample Dialog: Meanwhile, if you use managed code top create a client it is similarly simple to creating a web service. This code shows a client that points to a web service on the internet. It simply performs the network communication by instantiating an object and calling a method. In this example, the DateService type is a proxy that was automatically generated from a WSDL description of a web service. . Simple model for network communication. Object Instantiation. Method Call. DateService type is a proxy object.", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}