• 大小: 0.05M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: WCF  实例  c  

资源简介

实现WCF的分布式处理方式

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;

namespace Wrox.ProfessionalCSharp
{
    public class Hello:System.MarshalByRefobject
    {
        public Hello() 
        {
            Console.WriteLine(“Constructor called“);
        }
        ~Hello()
        {
            Console.WriteLine(“Destructor called“);
        }
        public string Greeting(string name)
        {
            Console.WriteLine(“Greeting called“);
            return “Hello“ + name;
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      16384  2009-04-29 00:18  Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\bin\Debug\Wrox.ProfessionalCSharp.dll

     文件      11776  2009-04-29 00:18  Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\bin\Debug\Wrox.ProfessionalCSharp.pdb

     文件        525  2009-04-29 00:18  Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\Hello.cs

     文件      16384  2009-04-29 00:18  Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\obj\Debug\Wrox.ProfessionalCSharp.dll

     文件      11776  2009-04-29 00:18  Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\obj\Debug\Wrox.ProfessionalCSharp.pdb

     文件        198  2009-04-29 00:18  Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\obj\Wrox.ProfessionalCSharp.csproj.FileList.txt

     文件       1363  2009-04-29 00:18  Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\Properties\AssemblyInfo.cs

     文件       1982  2009-04-29 00:18  Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp.csproj

     文件        958  2009-04-29 00:18  Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp.sln

    ..A..H.     13312  2009-04-29 00:19  Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp.suo

     文件      16384  2009-04-29 00:24  Client\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\bin\Debug\Wrox.ProfessionalCSharp.dll

     文件      16384  2009-04-29 00:28  Client\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\bin\Debug\Wrox.ProfessionalCSharp.exe

     文件      15872  2009-04-29 00:28  Client\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\bin\Debug\Wrox.ProfessionalCSharp.pdb

     文件       5632  2005-11-11 22:25  Client\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\bin\Debug\Wrox.ProfessionalCSharp.vshost.exe

     文件        525  2009-04-29 00:23  Client\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\Hello.cs

     文件        839  2009-04-29 00:28  Client\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\HelloClient.cs

     文件       5148  2009-04-29 00:28  Client\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\obj\Debug\ResolveAssemblyReference.cache

     文件      16384  2009-04-29 00:28  Client\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\obj\Debug\Wrox.ProfessionalCSharp.exe

     文件      15872  2009-04-29 00:28  Client\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\obj\Debug\Wrox.ProfessionalCSharp.pdb

     文件        159  2009-04-29 00:28  Client\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\obj\Wrox.ProfessionalCSharp.csproj.FileList.txt

     文件       1363  2009-04-29 00:20  Client\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\Properties\AssemblyInfo.cs

     文件       2260  2009-04-29 00:25  Client\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp.csproj

     文件        958  2009-04-29 00:20  Client\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp.sln

    ..A..H.     18944  2009-04-29 00:28  Client\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp.suo

     文件      16384  2009-04-29 00:26  Servers\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\bin\Debug\Wrox.ProfessionalCSharp.dll

     文件      16384  2009-04-29 00:26  Servers\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\bin\Debug\Wrox.ProfessionalCSharp.exe

     文件      15872  2009-04-29 00:26  Servers\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\bin\Debug\Wrox.ProfessionalCSharp.pdb

     文件       5632  2005-11-11 22:25  Servers\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\bin\Debug\Wrox.ProfessionalCSharp.vshost.exe

     文件        525  2009-04-29 00:26  Servers\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\Hello.cs

     文件        692  2009-04-29 00:25  Servers\Wrox.ProfessionalCSharp\Wrox.ProfessionalCSharp\HelloServer.cs

............此处省略37个文件信息

评论

共有 条评论