• 大小: 0.09M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: webservice  

资源简介

webservice host 和client实现

资源截图

代码片段和文件信息

using Client.ServiceReference1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Client
{
    class Program
    {
        static void Main(string[] args)
        {
            ServiceReference1.Service1Client proxy = new Service1Client();
            string str=proxy.DoWork();//
            Console.WriteLine(str);
            Console.ReadLine();
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-05-16 11:16  Project1\
     目录           0  2016-05-16 11:23  Project1\Client\
     文件         700  2016-05-16 11:23  Project1\Client\App.config
     文件        3926  2016-05-16 11:23  Project1\Client\Client.csproj
     文件         467  2016-05-16 11:23  Project1\Client\Program.cs
     目录           0  2016-05-16 11:16  Project1\Client\Properties\
     文件        1348  2016-05-16 11:16  Project1\Client\Properties\AssemblyInfo.cs
     目录           0  2016-05-16 11:23  Project1\Client\Service References\
     目录           0  2016-05-16 11:23  Project1\Client\Service References\ServiceReference1\
     文件        2677  2016-05-16 11:23  Project1\Client\Service References\ServiceReference1\Reference.cs
     文件        2133  2016-05-16 11:23  Project1\Client\Service References\ServiceReference1\Reference.svcmap
     文件        2690  2016-05-16 11:23  Project1\Client\Service References\ServiceReference1\Service1.wsdl
     文件        1459  2016-05-16 11:23  Project1\Client\Service References\ServiceReference1\configuration.svcinfo
     文件       19774  2016-05-16 11:23  Project1\Client\Service References\ServiceReference1\configuration91.svcinfo
     文件         355  2016-05-16 11:23  Project1\Client\Service References\ServiceReference1\item.disco
     文件         559  2016-05-16 11:23  Project1\Client\Service References\ServiceReference1\item.xsd
     文件        2488  2016-05-16 11:23  Project1\Client\Service References\ServiceReference1\item1.xsd
     目录           0  2016-05-16 11:23  Project1\Client\bin\
     目录           0  2016-05-16 11:20  Project1\Client\bin\Debug\
     文件        6144  2016-05-16 11:23  Project1\Client\bin\Debug\Client.exe
     文件         700  2016-05-16 11:23  Project1\Client\bin\Debug\Client.exe.config
     文件       15872  2016-05-16 11:23  Project1\Client\bin\Debug\Client.pdb
     文件       24224  2017-01-20 08:52  Project1\Client\bin\Debug\Client.vshost.exe
     文件         700  2016-05-16 11:23  Project1\Client\bin\Debug\Client.vshost.exe.config
     文件         490  2013-03-18 17:00  Project1\Client\bin\Debug\Client.vshost.exe.manifest
     目录           0  2017-01-20 08:53  Project1\Client\bin\Release\
     目录           0  2016-05-16 11:16  Project1\Client\obj\
     目录           0  2016-05-16 11:23  Project1\Client\obj\Debug\
     文件         272  2017-01-20 08:52  Project1\Client\obj\Debug\Client.csproj.FileListAbsolute.txt
     文件        6144  2016-05-16 11:23  Project1\Client\obj\Debug\Client.exe
     文件       15872  2016-05-16 11:23  Project1\Client\obj\Debug\Client.pdb
............此处省略51个文件信息

评论

共有 条评论