my code is as follows:
ServiceReference1.ImageFile imagefile = new ServiceReference3.ImageFile();
imagefile.ImageName = fileName;
imagefile.Imagestream = bytes;
ServiceReference3.Service1Client service = new ServiceReference3.Service1Client();
service.UploadCompleted += new EventHandler<ServiceReference3.UploadCompletedEventArgs>(service_UploadCompleted);
service.UploadAsync(imagefile);
here ServiceReference1 is not created how to create service reference and make ServiceReference1 available in xaml.cs page.Anyone helps me is greatly appriciated
MSDN turotial : How to: Access a Service from Silverlight fir adding service reference
or for web reference
You can do like this check this article for detail : Add Web Reference to Silverlight Application
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.