From f83677056891e436bf5ba99e79240df2a44528cd Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Fri, 21 Oct 2011 14:42:12 +0000 Subject: Merged out from trunk git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-2519@1187375 13f79535-47bb-0310-9956-ffa450edef68 --- .../client-010/wcf/demo/wcfHelloClient/App.config | 56 -------------- .../wcf/demo/wcfHelloClient/HelloClient.cs | 36 --------- .../wcf/demo/wcfHelloClient/IHelloService.cs | 33 --------- .../client-010/wcf/demo/wcfHelloClient/Program.cs | 48 ------------ .../demo/wcfHelloClient/Properties/AssemblyInfo.cs | 57 --------------- .../wcf/demo/wcfHelloClient/wcfHelloClient.csproj | 85 ---------------------- 6 files changed, 315 deletions(-) delete mode 100644 dotnet/client-010/wcf/demo/wcfHelloClient/App.config delete mode 100644 dotnet/client-010/wcf/demo/wcfHelloClient/HelloClient.cs delete mode 100644 dotnet/client-010/wcf/demo/wcfHelloClient/IHelloService.cs delete mode 100644 dotnet/client-010/wcf/demo/wcfHelloClient/Program.cs delete mode 100644 dotnet/client-010/wcf/demo/wcfHelloClient/Properties/AssemblyInfo.cs delete mode 100644 dotnet/client-010/wcf/demo/wcfHelloClient/wcfHelloClient.csproj (limited to 'dotnet/client-010/wcf/demo/wcfHelloClient') diff --git a/dotnet/client-010/wcf/demo/wcfHelloClient/App.config b/dotnet/client-010/wcf/demo/wcfHelloClient/App.config deleted file mode 100644 index 1545d71d6f..0000000000 --- a/dotnet/client-010/wcf/demo/wcfHelloClient/App.config +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dotnet/client-010/wcf/demo/wcfHelloClient/HelloClient.cs b/dotnet/client-010/wcf/demo/wcfHelloClient/HelloClient.cs deleted file mode 100644 index 31743c62cf..0000000000 --- a/dotnet/client-010/wcf/demo/wcfHelloClient/HelloClient.cs +++ /dev/null @@ -1,36 +0,0 @@ -/* -* -* Licensed to the Apache Software Foundation (ASF) under one -* or more contributor license agreements. See the NOTICE file -* distributed with this work for additional information -* regarding copyright ownership. The ASF licenses this file -* to you under the Apache License, Version 2.0 (the -* "License"); you may not use this file except in compliance -* with the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, -* software distributed under the License is distributed on an -* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -* KIND, either express or implied. See the License for the -* specific language governing permissions and limitations -* under the License. -* -*/ - -using System.ServiceModel; - -namespace org.apache.qpid.wcf.demo.helloClient -{ - public class HelloClient : ClientBase, IHelloContract - { - public HelloClient(string configurationName) - : base(configurationName) { } - - public void Hello(string name) - { - Channel.Hello(name); - } - } -} diff --git a/dotnet/client-010/wcf/demo/wcfHelloClient/IHelloService.cs b/dotnet/client-010/wcf/demo/wcfHelloClient/IHelloService.cs deleted file mode 100644 index d3b9a354ba..0000000000 --- a/dotnet/client-010/wcf/demo/wcfHelloClient/IHelloService.cs +++ /dev/null @@ -1,33 +0,0 @@ -/* -* -* Licensed to the Apache Software Foundation (ASF) under one -* or more contributor license agreements. See the NOTICE file -* distributed with this work for additional information -* regarding copyright ownership. The ASF licenses this file -* to you under the Apache License, Version 2.0 (the -* "License"); you may not use this file except in compliance -* with the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, -* software distributed under the License is distributed on an -* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -* KIND, either express or implied. See the License for the -* specific language governing permissions and limitations -* under the License. -* -*/ - -using System.ServiceModel; - -namespace org.apache.qpid.wcf.demo.helloClient -{ - [ServiceContract] - public interface IHelloContract - { - [OperationContract(IsOneWay=true)] - void Hello(string name); - } - -} diff --git a/dotnet/client-010/wcf/demo/wcfHelloClient/Program.cs b/dotnet/client-010/wcf/demo/wcfHelloClient/Program.cs deleted file mode 100644 index fc68d2556a..0000000000 --- a/dotnet/client-010/wcf/demo/wcfHelloClient/Program.cs +++ /dev/null @@ -1,48 +0,0 @@ -/* -* -* Licensed to the Apache Software Foundation (ASF) under one -* or more contributor license agreements. See the NOTICE file -* distributed with this work for additional information -* regarding copyright ownership. The ASF licenses this file -* to you under the Apache License, Version 2.0 (the -* "License"); you may not use this file except in compliance -* with the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, -* software distributed under the License is distributed on an -* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -* KIND, either express or implied. See the License for the -* specific language governing permissions and limitations -* under the License. -* -*/ - -using System; - -namespace org.apache.qpid.wcf.demo.helloClient -{ - class Program - { - static void Main(string[] args) - { - Console.Title = "Hello Service Client"; - Console.ForegroundColor = ConsoleColor.White; - Console.WriteLine("Hello Service Client"); - Console.ForegroundColor = ConsoleColor.Gray; - Console.WriteLine(); - // create a client using the configuration file App.config - var client = new HelloClient("HelloService"); - Console.WriteLine("Client Saying Hello to Qpid"); - client.Hello("Qpid"); - Console.WriteLine("Client Saying Hello to AMQP"); - client.Hello("AMQP"); - // closing the client service - client.ChannelFactory.Close(); - Console.WriteLine(); - Console.Write("Press Enter to Exit..."); - Console.ReadLine(); - } - } -} diff --git a/dotnet/client-010/wcf/demo/wcfHelloClient/Properties/AssemblyInfo.cs b/dotnet/client-010/wcf/demo/wcfHelloClient/Properties/AssemblyInfo.cs deleted file mode 100644 index 83dfbcd5f4..0000000000 --- a/dotnet/client-010/wcf/demo/wcfHelloClient/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,57 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - */ - -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Qpid WCF Hello Client")] -[assembly: AssemblyDescription("Built from svn revision number: ")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Apache Software Foundation")] -[assembly: AssemblyProduct("Qpid WCF Hello Client")] -[assembly: AssemblyCopyright("Apache Software Foundation")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("f7628695-280a-4689-ac6f-1186177f9a25")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("0.5.0.0")] -[assembly: AssemblyVersion("0.5.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/dotnet/client-010/wcf/demo/wcfHelloClient/wcfHelloClient.csproj b/dotnet/client-010/wcf/demo/wcfHelloClient/wcfHelloClient.csproj deleted file mode 100644 index 2e518d0da0..0000000000 --- a/dotnet/client-010/wcf/demo/wcfHelloClient/wcfHelloClient.csproj +++ /dev/null @@ -1,85 +0,0 @@ - - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {A24E27DB-A38D-40C9-9879-8390B68C2F06} - Exe - Properties - wcfHelloClient - Qpid WCF Hello Client - v3.5 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - 3.0 - - - - - - - - - - - - - - - - {F1D80D9D-FE22-4213-A760-BFFDE7D131DD} - wcf - - - - - \ No newline at end of file -- cgit v1.2.1