【实例简介】
一个简单的wcf使用nettcpbing例子
【实例截图】
【核心代码】
5edf47ef-2321-4f55-8bd3-82e47ce08a80
└── WcfDemo
├── WcfDemo
│ ├── bin
│ │ ├── WcfDemo.dll
│ │ └── WcfDemo.pdb
│ ├── IService1.cs
│ ├── IService2.cs
│ ├── obj
│ │ └── Debug
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── WcfDemo.csproj.FileListAbsolute.txt
│ │ ├── WcfDemo.dll
│ │ └── WcfDemo.pdb
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Service1.svc
│ ├── Service1.svc.cs
│ ├── WcfDemo.csproj
│ ├── WcfDemo.csproj.user
│ ├── Web.config
│ ├── Web.Debug.config
│ └── Web.Release.config
├── WcfDemo.sln
├── WcfDemo.suo
├── WCFHost
│ ├── app.config
│ ├── bin
│ │ └── Debug
│ │ ├── WcfDemo.dll
│ │ ├── WcfDemo.pdb
│ │ ├── WCFHost.exe
│ │ ├── WCFHost.exe.config
│ │ ├── WCFHost.pdb
│ │ ├── WCFHost.vshost.exe
│ │ ├── WCFHost.vshost.exe.config
│ │ └── WCFHost.vshost.exe.manifest
│ ├── Form1.cs
│ ├── Form1.Designer.cs
│ ├── Form1.resx
│ ├── obj
│ │ └── x86
│ │ └── Debug
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── GenerateResource.read.1.tlog
│ │ ├── GenerateResource.write.1.tlog
│ │ ├── ResolveAssemblyReference.cache
│ │ ├── WCFHost.csproj.FileListAbsolute.txt
│ │ ├── WCFHost.exe
│ │ ├── WCFHost.Form1.resources
│ │ ├── WCFHost.pdb
│ │ └── WCFHost.Properties.Resources.resources
│ ├── Program.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ └── WCFHost.csproj
└── WindowsFormsApplication1
├── app.config
├── bin
│ └── Debug
│ ├── WindowsFormsApplication1.exe
│ ├── WindowsFormsApplication1.exe.config
│ ├── WindowsFormsApplication1.pdb
│ ├── WindowsFormsApplication1.vshost.exe
│ ├── WindowsFormsApplication1.vshost.exe.config
│ └── WindowsFormsApplication1.vshost.exe.manifest
├── Form1.cs
├── Form1.Designer.cs
├── Form1.resx
├── obj
│ └── x86
│ └── Debug
│ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ ├── GenerateResource.read.1.tlog
│ ├── GenerateResource.write.1.tlog
│ ├── TempPE
│ │ └── Service References.ServiceReference1.Reference.cs.dll
│ ├── WindowsFormsApplication1.csproj.FileListAbsolute.txt
│ ├── WindowsFormsApplication1.exe
│ ├── WindowsFormsApplication1.Form1.resources
│ ├── WindowsFormsApplication1.pdb
│ └── WindowsFormsApplication1.Properties.Resources.resources
├── Program.cs
├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── Service References
│ └── ServiceReference1
│ ├── configuration91.svcinfo
│ ├── configuration.svcinfo
│ ├── Reference.cs
│ ├── Reference.svcmap
│ ├── Service11.xsd
│ ├── Service1.disco
│ ├── Service1.wsdl
│ └── Service1.xsd
└── WindowsFormsApplication1.csproj
23 directories, 80 files