qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ai...@apache.org
Subject svn commit: r886940 [12/14] - in /qpid/trunk/qpid/dotnet/client-010: ./ addins/ addins/ExcelAddIn/ addins/ExcelAddInMessageProcessor/ addins/ExcelAddInProducer/ client/ client/client/ client/transport/ client/transport/codec/ client/transport/exception...
Date Thu, 03 Dec 2009 22:03:55 GMT
Modified: qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/Order.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/Order.cs?rev=886940&r1=886939&r2=886940&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/Order.cs (original)
+++ qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/Order.cs Thu Dec  3 22:03:51 2009
@@ -1,45 +1,45 @@
-/*
-*
-* 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.Runtime.Serialization;
-
-namespace org.apache.qpid.wcf.demo.bookingServer
-{
-    [DataContract]
-    public sealed class Order
-    {
-        private double _price;
-        private string _type;
-
-        [DataMember]
-        public double Price
-        {
-            get { return _price; }
-            set { _price = value; }
-        }
-
-        [DataMember]
-        public string Type
-        {
-            get { return _type; }
-            set { _type = value; }
-        }
-    }
-}
+/*
+*
+* 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.Runtime.Serialization;
+
+namespace org.apache.qpid.wcf.demo.bookingServer
+{
+    [DataContract]
+    public sealed class Order
+    {
+        private double _price;
+        private string _type;
+
+        [DataMember]
+        public double Price
+        {
+            get { return _price; }
+            set { _price = value; }
+        }
+
+        [DataMember]
+        public string Type
+        {
+            get { return _type; }
+            set { _type = value; }
+        }
+    }
+}

Modified: qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/Program.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/Program.cs?rev=886940&r1=886939&r2=886940&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/Program.cs (original)
+++ qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/Program.cs Thu Dec  3 22:03:51 2009
@@ -1,98 +1,98 @@
-/*
-*
-* 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;
-using System.ServiceModel;
-using System.ServiceModel.Channels;
-using System.Threading;
-using org.apache.qpid.wcf.model;
-
-
-namespace org.apache.qpid.wcf.demo.bookingServer
-{
-    internal class Program
-    {
-        private ServiceHost _service;
-        private ChannelFactory<IBooking> fac;
-
-        public void StartService(Binding binding)
-        {
-            try
-            {
-                Console.WriteLine("  Binding Service...");
-                _service = new ServiceHost(typeof(Booking), new Uri("soap.amqp:///"));
-                _service.AddServiceEndpoint(typeof(IBooking), binding, "Booking");
-                _service.Open();
-                Thread.Sleep(500);
-                Console.WriteLine("[DONE]");
-            }
-            catch (Exception e)
-            {
-                Console.WriteLine(e);
-            }
-        }
-
-        public void StopService()
-        {
-            Console.WriteLine("  Stopping Service...");
-            _service.Close();
-            Console.WriteLine("[DONE]");
-        }
-
-        public IBooking StartClient(Binding binding)
-        {
-            IBooking res = null;
-            try
-            {
-                Console.WriteLine("  Starting Client...");
-                fac = new ChannelFactory<IBooking>(binding, "soap.amqp:///Booking");
-                fac.Open();
-                res = fac.CreateChannel();
-                Console.WriteLine("[DONE]");
-            }
-            catch (Exception e)
-            {
-                Console.WriteLine(e);
-            }
-            return res;
-        }
-
-        public void StopClient(IBooking client)
-        {
-            Console.WriteLine("  Stopping Client...");
-            ((IChannel)client).Close();
-            fac.Close();
-            Console.WriteLine("[DONE]");
-        }
-
-        private static void Main(string[] args)
-        {
-            var p = new Program();
-
-            Binding binding = new QpidBinding("192.168.1.14", 5673);
-            p.StartService(binding);
-
-            Console.ReadLine();
-
-            p.StopService();
-        }
-    }
-}
+/*
+*
+* 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;
+using System.ServiceModel;
+using System.ServiceModel.Channels;
+using System.Threading;
+using org.apache.qpid.wcf.model;
+
+
+namespace org.apache.qpid.wcf.demo.bookingServer
+{
+    internal class Program
+    {
+        private ServiceHost _service;
+        private ChannelFactory<IBooking> fac;
+
+        public void StartService(Binding binding)
+        {
+            try
+            {
+                Console.WriteLine("  Binding Service...");
+                _service = new ServiceHost(typeof(Booking), new Uri("soap.amqp:///"));
+                _service.AddServiceEndpoint(typeof(IBooking), binding, "Booking");
+                _service.Open();
+                Thread.Sleep(500);
+                Console.WriteLine("[DONE]");
+            }
+            catch (Exception e)
+            {
+                Console.WriteLine(e);
+            }
+        }
+
+        public void StopService()
+        {
+            Console.WriteLine("  Stopping Service...");
+            _service.Close();
+            Console.WriteLine("[DONE]");
+        }
+
+        public IBooking StartClient(Binding binding)
+        {
+            IBooking res = null;
+            try
+            {
+                Console.WriteLine("  Starting Client...");
+                fac = new ChannelFactory<IBooking>(binding, "soap.amqp:///Booking");
+                fac.Open();
+                res = fac.CreateChannel();
+                Console.WriteLine("[DONE]");
+            }
+            catch (Exception e)
+            {
+                Console.WriteLine(e);
+            }
+            return res;
+        }
+
+        public void StopClient(IBooking client)
+        {
+            Console.WriteLine("  Stopping Client...");
+            ((IChannel)client).Close();
+            fac.Close();
+            Console.WriteLine("[DONE]");
+        }
+
+        private static void Main(string[] args)
+        {
+            var p = new Program();
+
+            Binding binding = new QpidBinding("192.168.1.14", 5673);
+            p.StartService(binding);
+
+            Console.ReadLine();
+
+            p.StopService();
+        }
+    }
+}

Modified: qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/Receipt.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/Receipt.cs?rev=886940&r1=886939&r2=886940&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/Receipt.cs (original)
+++ qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/Receipt.cs Thu Dec  3 22:03:51 2009
@@ -1,46 +1,46 @@
-/*
-*
-* 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.Runtime.Serialization;
-
-namespace org.apache.qpid.wcf.demo.bookingServer
-{
-    [DataContract]
-    public sealed class Receipt
-    {
-        private double _price;
-        private string _summary;
-
-        [DataMember]
-        public double Price
-        {
-            get { return _price; }
-            set { _price = value; }
-        }
-
-        [DataMember]
-        public string Summary
-        {
-            get { return _summary; }
-            set { _summary = value; }
-        }
-    }
-}
+/*
+*
+* 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.Runtime.Serialization;
+
+namespace org.apache.qpid.wcf.demo.bookingServer
+{
+    [DataContract]
+    public sealed class Receipt
+    {
+        private double _price;
+        private string _summary;
+
+        [DataMember]
+        public double Price
+        {
+            get { return _price; }
+            set { _price = value; }
+        }
+
+        [DataMember]
+        public string Summary
+        {
+            get { return _summary; }
+            set { _summary = value; }
+        }
+    }
+}

Modified: qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/wcfBookingServer.csproj
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/wcfBookingServer.csproj?rev=886940&r1=886939&r2=886940&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/wcfBookingServer.csproj (original)
+++ qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/wcfBookingServer.csproj Thu Dec  3 22:03:51 2009
@@ -1,77 +1,77 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProductVersion>9.0.30729</ProductVersion>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{B34E21C4-A742-4886-8569-1A89490E093E}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>wcfSession</RootNamespace>
-    <AssemblyName>Booking Server</AssemblyName>
-    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
-    <FileAlignment>512</FileAlignment>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
-    <OutputPath>bin\Debug\</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
-    <OutputPath>bin\Release\</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <ItemGroup>
-    <Reference Include="System" />
-    <Reference Include="System.Core">
-      <RequiredTargetFramework>3.5</RequiredTargetFramework>
-    </Reference>
-    <Reference Include="System.Drawing" />
-    <Reference Include="System.Runtime.Serialization">
-      <RequiredTargetFramework>3.0</RequiredTargetFramework>
-    </Reference>
-    <Reference Include="System.ServiceModel">
-      <RequiredTargetFramework>3.0</RequiredTargetFramework>
-    </Reference>
-    <Reference Include="System.Windows.Forms" />
-    <Reference Include="System.Xml.Linq">
-      <RequiredTargetFramework>3.5</RequiredTargetFramework>
-    </Reference>
-    <Reference Include="System.Data.DataSetExtensions">
-      <RequiredTargetFramework>3.5</RequiredTargetFramework>
-    </Reference>
-    <Reference Include="System.Data" />
-    <Reference Include="System.Xml" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="Booking.cs" />
-    <Compile Include="Receipt.cs" />
-    <Compile Include="IBooking.cs" />
-    <Compile Include="Order.cs" />
-    <Compile Include="Program.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="..\..\wcf.csproj">
-      <Project>{F1D80D9D-FE22-4213-A760-BFFDE7D131DD}</Project>
-      <Name>wcf</Name>
-    </ProjectReference>
-  </ItemGroup>
-  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>9.0.30729</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{B34E21C4-A742-4886-8569-1A89490E093E}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>wcfSession</RootNamespace>
+    <AssemblyName>Booking Server</AssemblyName>
+    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core">
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Drawing" />
+    <Reference Include="System.Runtime.Serialization">
+      <RequiredTargetFramework>3.0</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.ServiceModel">
+      <RequiredTargetFramework>3.0</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Windows.Forms" />
+    <Reference Include="System.Xml.Linq">
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Data.DataSetExtensions">
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Booking.cs" />
+    <Compile Include="Receipt.cs" />
+    <Compile Include="IBooking.cs" />
+    <Compile Include="Order.cs" />
+    <Compile Include="Program.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\wcf.csproj">
+      <Project>{F1D80D9D-FE22-4213-A760-BFFDE7D131DD}</Project>
+      <Name>wcf</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
        Other similar extension points exist, see Microsoft.Common.targets.
   <Target Name="BeforeBuild">
   </Target>
   <Target Name="AfterBuild">
   </Target>
-  -->
+  -->
 </Project>
\ No newline at end of file

Modified: qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/HelloClient.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/HelloClient.cs?rev=886940&r1=886939&r2=886940&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/HelloClient.cs (original)
+++ qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/HelloClient.cs Thu Dec  3 22:03:51 2009
@@ -1,36 +1,36 @@
-/*
-*
-* 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>, IHelloContract
-    {      
-        public HelloClient(string configurationName)
-            : base(configurationName) { }
-
-        public void Hello(string name)
-        {          
-            Channel.Hello(name);
-        }
-    }
-}
+/*
+*
+* 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>, IHelloContract
+    {      
+        public HelloClient(string configurationName)
+            : base(configurationName) { }
+
+        public void Hello(string name)
+        {          
+            Channel.Hello(name);
+        }
+    }
+}

Modified: qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/IHelloService.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/IHelloService.cs?rev=886940&r1=886939&r2=886940&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/IHelloService.cs (original)
+++ qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/IHelloService.cs Thu Dec  3 22:03:51 2009
@@ -1,33 +1,33 @@
-/*
-*
-* 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);
-    }
-   
-}
+/*
+*
+* 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);
+    }
+   
+}

Modified: qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/Program.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/Program.cs?rev=886940&r1=886939&r2=886940&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/Program.cs (original)
+++ qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/Program.cs Thu Dec  3 22:03:51 2009
@@ -1,48 +1,48 @@
-/*
-*
-* 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();
-        }
-    }
-}
+/*
+*
+* 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();
+        }
+    }
+}

Modified: qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/wcfHelloClient.csproj
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/wcfHelloClient.csproj?rev=886940&r1=886939&r2=886940&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/wcfHelloClient.csproj (original)
+++ qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/wcfHelloClient.csproj Thu Dec  3 22:03:51 2009
@@ -1,65 +1,65 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProductVersion>9.0.30729</ProductVersion>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{A24E27DB-A38D-40C9-9879-8390B68C2F06}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>wcfHelloClient</RootNamespace>
-    <AssemblyName>Qpid WCF Hello Client</AssemblyName>
-    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
-    <FileAlignment>512</FileAlignment>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
-    <OutputPath>bin\Debug\</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
-    <OutputPath>bin\Release\</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <ItemGroup>
-    <Reference Include="System" />
-    <Reference Include="System.configuration" />
-    <Reference Include="System.ServiceModel">
-      <RequiredTargetFramework>3.0</RequiredTargetFramework>
-    </Reference>
-    <Reference Include="System.Data" />
-    <Reference Include="System.Xml" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="HelloClient.cs" />
-    <Compile Include="IHelloService.cs" />
-    <Compile Include="Program.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <None Include="App.config" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="..\..\wcf.csproj">
-      <Project>{F1D80D9D-FE22-4213-A760-BFFDE7D131DD}</Project>
-      <Name>wcf</Name>
-    </ProjectReference>
-  </ItemGroup>
-  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>9.0.30729</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{A24E27DB-A38D-40C9-9879-8390B68C2F06}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>wcfHelloClient</RootNamespace>
+    <AssemblyName>Qpid WCF Hello Client</AssemblyName>
+    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.configuration" />
+    <Reference Include="System.ServiceModel">
+      <RequiredTargetFramework>3.0</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="HelloClient.cs" />
+    <Compile Include="IHelloService.cs" />
+    <Compile Include="Program.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="App.config" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\wcf.csproj">
+      <Project>{F1D80D9D-FE22-4213-A760-BFFDE7D131DD}</Project>
+      <Name>wcf</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
        Other similar extension points exist, see Microsoft.Common.targets.
   <Target Name="BeforeBuild">
   </Target>
   <Target Name="AfterBuild">
   </Target>
-  -->
+  -->
 </Project>
\ No newline at end of file

Modified: qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/HelloService.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/HelloService.cs?rev=886940&r1=886939&r2=886940&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/HelloService.cs (original)
+++ qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/HelloService.cs Thu Dec  3 22:03:51 2009
@@ -1,34 +1,34 @@
-/*
-*
-* 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.helloServer
-{
-    public class HelloService : IHelloContract
-    {      
-        public void Hello(string name)
-        {
-            Console.WriteLine("Hello {0}!", name);
-           
-        }       
-    }
-}
+/*
+*
+* 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.helloServer
+{
+    public class HelloService : IHelloContract
+    {      
+        public void Hello(string name)
+        {
+            Console.WriteLine("Hello {0}!", name);
+           
+        }       
+    }
+}

Modified: qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/IHelloService.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/IHelloService.cs?rev=886940&r1=886939&r2=886940&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/IHelloService.cs (original)
+++ qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/IHelloService.cs Thu Dec  3 22:03:51 2009
@@ -1,32 +1,32 @@
-/*
-*
-* 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.helloServer
-{
-    [ServiceContract]
-    public interface IHelloContract
-    {
-        [OperationContract(IsOneWay=true)]
-        void Hello(string name);
-    }
-   
-}
+/*
+*
+* 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.helloServer
+{
+    [ServiceContract]
+    public interface IHelloContract
+    {
+        [OperationContract(IsOneWay=true)]
+        void Hello(string name);
+    }
+   
+}

Modified: qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/Program.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/Program.cs?rev=886940&r1=886939&r2=886940&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/Program.cs (original)
+++ qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/Program.cs Thu Dec  3 22:03:51 2009
@@ -1,47 +1,47 @@
-/*
-*
-* 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;
-using System.ServiceModel;
-
-namespace org.apache.qpid.wcf.demo.helloServer
-{
-    class Program
-    {
-        static void Main(string[] args)
-        {
-            Console.Title = "Hello Service Server";
-            Console.ForegroundColor = ConsoleColor.White;
-            Console.WriteLine("Hello Service Server");
-            Console.ForegroundColor = ConsoleColor.Gray;
-            Console.WriteLine();
-
-            var host = new ServiceHost(typeof(HelloService));
-            host.Open();
-
-            Console.WriteLine("Service Ready");
-            Console.WriteLine("Press Enter to Exit...");
-            Console.ReadLine();
-
-            host.Close();
-        }
-    }
-}
+/*
+*
+* 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;
+using System.ServiceModel;
+
+namespace org.apache.qpid.wcf.demo.helloServer
+{
+    class Program
+    {
+        static void Main(string[] args)
+        {
+            Console.Title = "Hello Service Server";
+            Console.ForegroundColor = ConsoleColor.White;
+            Console.WriteLine("Hello Service Server");
+            Console.ForegroundColor = ConsoleColor.Gray;
+            Console.WriteLine();
+
+            var host = new ServiceHost(typeof(HelloService));
+            host.Open();
+
+            Console.WriteLine("Service Ready");
+            Console.WriteLine("Press Enter to Exit...");
+            Console.ReadLine();
+
+            host.Close();
+        }
+    }
+}

Modified: qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/wcfHelloServer.csproj
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/wcfHelloServer.csproj?rev=886940&r1=886939&r2=886940&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/wcfHelloServer.csproj (original)
+++ qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/wcfHelloServer.csproj Thu Dec  3 22:03:51 2009
@@ -1,67 +1,67 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProductVersion>9.0.30729</ProductVersion>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{3EF848D7-5FAC-482C-922A-D4D45A4CCD2A}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>wcfHelloServer</RootNamespace>
-    <AssemblyName>Qpid WCF Hello Server</AssemblyName>
-    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
-    <FileAlignment>512</FileAlignment>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
-    <OutputPath>bin\Debug\</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
-    <OutputPath>bin\Release\</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <ItemGroup>
-    <Reference Include="System" />
-    <Reference Include="System.Core">
-      <RequiredTargetFramework>3.5</RequiredTargetFramework>
-    </Reference>
-    <Reference Include="System.ServiceModel">
-      <RequiredTargetFramework>3.0</RequiredTargetFramework>
-    </Reference>
-    <Reference Include="System.Xml.Linq">
-      <RequiredTargetFramework>3.5</RequiredTargetFramework>
-    </Reference>
-    <Reference Include="System.Data.DataSetExtensions">
-      <RequiredTargetFramework>3.5</RequiredTargetFramework>
-    </Reference>
-    <Reference Include="System.Data" />
-    <Reference Include="System.Xml" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="HelloService.cs" />
-    <Compile Include="IHelloService.cs" />
-    <Compile Include="Program.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <None Include="App.config" />
-  </ItemGroup>
-  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>9.0.30729</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{3EF848D7-5FAC-482C-922A-D4D45A4CCD2A}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>wcfHelloServer</RootNamespace>
+    <AssemblyName>Qpid WCF Hello Server</AssemblyName>
+    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core">
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.ServiceModel">
+      <RequiredTargetFramework>3.0</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Xml.Linq">
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Data.DataSetExtensions">
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="HelloService.cs" />
+    <Compile Include="IHelloService.cs" />
+    <Compile Include="Program.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="App.config" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
        Other similar extension points exist, see Microsoft.Common.targets.
   <Target Name="BeforeBuild">
   </Target>
   <Target Name="AfterBuild">
   </Target>
-  -->
+  -->
 </Project>
\ No newline at end of file

Modified: qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/IUpperCase.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/IUpperCase.cs?rev=886940&r1=886939&r2=886940&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/IUpperCase.cs (original)
+++ qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/IUpperCase.cs Thu Dec  3 22:03:51 2009
@@ -1,31 +1,31 @@
-/*
-*
-* 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.rpc
-{
-    [ServiceContract]
-    public interface IUpperCase
-    {
-        [OperationContract]
-        string ToUpperCase(string message);
-    }
-}
+/*
+*
+* 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.rpc
+{
+    [ServiceContract]
+    public interface IUpperCase
+    {
+        [OperationContract]
+        string ToUpperCase(string message);
+    }
+}

Modified: qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/Program.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/Program.cs?rev=886940&r1=886939&r2=886940&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/Program.cs (original)
+++ qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/Program.cs Thu Dec  3 22:03:51 2009
@@ -1,113 +1,113 @@
-/*
-*
-* 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;
-using System.ServiceModel;
-using System.ServiceModel.Channels;
-using System.Threading;
-using org.apache.qpid.wcf.model;
-
-
-namespace org.apache.qpid.wcf.demo.rpc
-{
-    internal class Program
-    {
-        private ServiceHost _service;
-        private ChannelFactory<IUpperCase> fac;
-
-        public void StartService(Binding binding)
-        {
-            try
-            {
-                Console.WriteLine("  Binding Service...");
-                _service = new ServiceHost(typeof (UpperCase), new Uri("soap.amqp:///"));
-                _service.AddServiceEndpoint(typeof(IUpperCase), binding, "UpperCase");
-                _service.Open();
-                Thread.Sleep(500);
-                Console.WriteLine("[DONE]");
-            }
-            catch (Exception e)
-            {
-                Console.WriteLine(e);
-            }
-        }
-
-        public void StopService()
-        {
-            Console.WriteLine("  Stopping Service...");
-            _service.Close();
-            Console.WriteLine("[DONE]");
-        }
-
-        public IUpperCase StartClient(Binding binding)
-        {
-            IUpperCase res = null;
-            try
-            {
-                Console.WriteLine("  Starting Client...");
-                fac = new ChannelFactory<IUpperCase>(binding, "soap.amqp:///UpperCase");
-                fac.Open();
-                res = fac.CreateChannel();
-                Console.WriteLine("[DONE]");              
-            }
-            catch (Exception e)
-            {
-                Console.WriteLine(e);
-            }
-            return res;
-        }
-
-        public void StopClient(IUpperCase client)
-        {
-            Console.WriteLine("  Stopping Client...");
-            ((IChannel) client).Close();
-            fac.Close();
-            Console.WriteLine("[DONE]");
-        }
-
-        private static void Main(string[] args)
-        {
-            var p = new Program();
-
-            Binding binding = new QpidBinding("192.168.1.14", 5673);
-            p.StartService(binding);
-
-
-            IUpperCase calc = p.StartClient(new QpidBinding("192.168.1.14", 5673));
-
-            string[] messages = {"Twas brillig, and the slithy toves",
-                                 "Did gire and gymble in the wabe.  ",
-                                 "All mimsy were the borogroves,    ",
-                                 "And the mome raths outgrabe.      "};
-            foreach (string m in messages)
-            {
-                Console.Write(m + "  --UperCase-->  " );
-                Console.Write(calc.ToUpperCase(m));
-                Console.WriteLine();
-            }
-            
-            Console.ReadLine();
-   
-           p.StopClient(calc);
-           p.StopService();
-        }
-    }
-}
+/*
+*
+* 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;
+using System.ServiceModel;
+using System.ServiceModel.Channels;
+using System.Threading;
+using org.apache.qpid.wcf.model;
+
+
+namespace org.apache.qpid.wcf.demo.rpc
+{
+    internal class Program
+    {
+        private ServiceHost _service;
+        private ChannelFactory<IUpperCase> fac;
+
+        public void StartService(Binding binding)
+        {
+            try
+            {
+                Console.WriteLine("  Binding Service...");
+                _service = new ServiceHost(typeof (UpperCase), new Uri("soap.amqp:///"));
+                _service.AddServiceEndpoint(typeof(IUpperCase), binding, "UpperCase");
+                _service.Open();
+                Thread.Sleep(500);
+                Console.WriteLine("[DONE]");
+            }
+            catch (Exception e)
+            {
+                Console.WriteLine(e);
+            }
+        }
+
+        public void StopService()
+        {
+            Console.WriteLine("  Stopping Service...");
+            _service.Close();
+            Console.WriteLine("[DONE]");
+        }
+
+        public IUpperCase StartClient(Binding binding)
+        {
+            IUpperCase res = null;
+            try
+            {
+                Console.WriteLine("  Starting Client...");
+                fac = new ChannelFactory<IUpperCase>(binding, "soap.amqp:///UpperCase");
+                fac.Open();
+                res = fac.CreateChannel();
+                Console.WriteLine("[DONE]");              
+            }
+            catch (Exception e)
+            {
+                Console.WriteLine(e);
+            }
+            return res;
+        }
+
+        public void StopClient(IUpperCase client)
+        {
+            Console.WriteLine("  Stopping Client...");
+            ((IChannel) client).Close();
+            fac.Close();
+            Console.WriteLine("[DONE]");
+        }
+
+        private static void Main(string[] args)
+        {
+            var p = new Program();
+
+            Binding binding = new QpidBinding("192.168.1.14", 5673);
+            p.StartService(binding);
+
+
+            IUpperCase calc = p.StartClient(new QpidBinding("192.168.1.14", 5673));
+
+            string[] messages = {"Twas brillig, and the slithy toves",
+                                 "Did gire and gymble in the wabe.  ",
+                                 "All mimsy were the borogroves,    ",
+                                 "And the mome raths outgrabe.      "};
+            foreach (string m in messages)
+            {
+                Console.Write(m + "  --UperCase-->  " );
+                Console.Write(calc.ToUpperCase(m));
+                Console.WriteLine();
+            }
+            
+            Console.ReadLine();
+   
+           p.StopClient(calc);
+           p.StopService();
+        }
+    }
+}

Modified: qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/QpidBindingConfigurationElement.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/QpidBindingConfigurationElement.cs?rev=886940&r1=886939&r2=886940&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/QpidBindingConfigurationElement.cs (original)
+++ qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/QpidBindingConfigurationElement.cs Thu Dec  3 22:03:51 2009
@@ -1,205 +1,205 @@
-/*
-*
-* 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;
-using System.Reflection;
-using System.ServiceModel.Channels;
-using System.ServiceModel.Configuration;
-using System.Configuration;
-
-namespace org.apache.qpid.wcf.model
-{
-
-   /// <remarks>
-    /// This configuration element should be imported into the client
-    /// and server configuration files to provide declarative configuration 
-    /// of a AMQP bound service.
-    /// </remarks>
-    public sealed class QpidBindingConfigurationElement : StandardBindingElement
-    {
-        /// <summary>
-        /// Creates a new instance of the QpidBindingConfigurationElement
-        /// Class initialized with values from the specified configuration.
-        /// </summary>
-        /// <param name="configurationName"></param>
-        public QpidBindingConfigurationElement(string configurationName)
-            : base(configurationName)
-        {
-        }
-
-        /// <summary>
-        /// Creates a new instance of the RabbitMQBindingConfigurationElement Class.
-        /// </summary>
-        public QpidBindingConfigurationElement()
-            : this(null)
-        {
-        }
-
-
-        protected override void InitializeFrom(Binding binding)
-        {
-            base.InitializeFrom(binding);
-            QpidBinding qpidbinding = binding as QpidBinding;
-            if (qpidbinding != null)
-            {
-                Host = qpidbinding.Host;
-                OneWayOnly = qpidbinding.OneWayOnly;
-                TransactionFlowEnabled = qpidbinding.TransactionFlow;
-                VirtualHost = qpidbinding.VirtualHost;
-                PortNumber = qpidbinding.PortNumber;
-                UserName = qpidbinding.UserName;
-                Password = qpidbinding.Password;                
-            }
-        }
-
-        protected override void OnApplyConfiguration(Binding binding)
-        {
-            if (binding == null)
-                throw new ArgumentNullException("binding");
-
-            var qpidbinding = binding as QpidBinding;
-            if (qpidbinding == null)
-            {
-                throw new ArgumentException(
-                    string.Format("Invalid type for binding. Expected {0}, Passed: {1}",
-                        typeof(QpidBinding).AssemblyQualifiedName,
-                        binding.GetType().AssemblyQualifiedName));
-            }
-
-            qpidbinding.Host = Host;
-            qpidbinding.OneWayOnly = OneWayOnly;
-            qpidbinding.TransactionFlow = TransactionFlowEnabled;
-            qpidbinding.Password = Password;
-            qpidbinding.UserName = UserName;
-            qpidbinding.VirtualHost = VirtualHost;
-            qpidbinding.PortNumber = PortNumber;
-        }
-       
-
-        /// <summary>
-        /// Specifies the host that the binding should connect to.
-        /// </summary>
-        [ConfigurationProperty("host", DefaultValue = "localhost")]
-        public string Host
-        {
-            get { return ((string) base["host"]); }
-            set { base["host"] = value; }            
-        }
-
-        /// <summary>
-        /// Specifies the broker port number that the binding should connect to.
-        /// </summary>
-        [ConfigurationProperty("port", DefaultValue = "5672")]
-        public int PortNumber
-        {
-            get { return (Convert.ToInt16(base["port"])); }
-            set { base["port"] = value; }
-        }
-
-
-        /// <summary>
-        /// Specifies whether or not the CompositeDuplex and ReliableSession
-        /// binding elements are added to the channel stack.
-        /// </summary>
-        [ConfigurationProperty("oneWay", DefaultValue = false)]
-        public bool OneWayOnly
-        {
-            get { return ((bool)base["oneWay"]); }
-            set { base["oneWay"] = value; }
-        }
-
-        /// <summary>
-        /// Password to use when authenticating with the broker
-        /// </summary>
-        [ConfigurationProperty("password", DefaultValue = "guest")]
-        public string Password
-        {
-            get { return ((string)base["password"]); }
-            set { base["password"] = value; }
-        }
-
-        /// <summary>
-        /// Specifies whether or not WS-AtomicTransactions are supported by the binding
-        /// </summary>
-        [ConfigurationProperty("transactionFlow", DefaultValue = false)]
-        public bool TransactionFlowEnabled
-        {
-            get { return ((bool)base["transactionFlow"]); }
-            set { base["transactionFlow"] = value; }
-        }
-
-        /// <summary>
-        /// The username  to use when authenticating with the broker
-        /// </summary>
-        [ConfigurationProperty("username", DefaultValue = "guest")]
-        public string UserName
-        {
-            get { return ((string)base["username"]); }
-            set { base["username"] = value; }
-        }
-
-       
-
-
-        /// <summary>
-        /// The virtual host to access.
-        /// </summary>
-        [ConfigurationProperty("virtualHost", DefaultValue = "test")]
-        public string VirtualHost
-        {
-            get { return ((string)base["virtualHost"]); }
-            set { base["virtualHost"] = value; }
-        }
-
-        ///<summary>The security realm to use when calling IModel.AccessRequest</summary>
-        [ConfigurationProperty("realm", DefaultValue = "plain")]
-        public string Realm
-        {
-            get { return ((string)base["realm"]); }
-            set { base["realm"] = value; }
-        }
-
-        protected override Type BindingElementType
-        {
-            get { return typeof(QpidBinding); }
-        }
-
-        protected override ConfigurationPropertyCollection Properties
-        {
-            get
-            {
-                ConfigurationPropertyCollection configProperties = base.Properties;
-                foreach (PropertyInfo prop in this.GetType().GetProperties(BindingFlags.DeclaredOnly
-                                                                           | BindingFlags.Public
-                                                                           | BindingFlags.Instance))
-                {
-                    foreach (ConfigurationPropertyAttribute attr in prop.GetCustomAttributes(typeof(ConfigurationPropertyAttribute), false))
-                    {
-                        configProperties.Add(
-                            new ConfigurationProperty(attr.Name, prop.PropertyType, attr.DefaultValue));
-                    }
-                }
-
-                return configProperties;
-            }
-        }
-    }
-}
+/*
+*
+* 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;
+using System.Reflection;
+using System.ServiceModel.Channels;
+using System.ServiceModel.Configuration;
+using System.Configuration;
+
+namespace org.apache.qpid.wcf.model
+{
+
+   /// <remarks>
+    /// This configuration element should be imported into the client
+    /// and server configuration files to provide declarative configuration 
+    /// of a AMQP bound service.
+    /// </remarks>
+    public sealed class QpidBindingConfigurationElement : StandardBindingElement
+    {
+        /// <summary>
+        /// Creates a new instance of the QpidBindingConfigurationElement
+        /// Class initialized with values from the specified configuration.
+        /// </summary>
+        /// <param name="configurationName"></param>
+        public QpidBindingConfigurationElement(string configurationName)
+            : base(configurationName)
+        {
+        }
+
+        /// <summary>
+        /// Creates a new instance of the RabbitMQBindingConfigurationElement Class.
+        /// </summary>
+        public QpidBindingConfigurationElement()
+            : this(null)
+        {
+        }
+
+
+        protected override void InitializeFrom(Binding binding)
+        {
+            base.InitializeFrom(binding);
+            QpidBinding qpidbinding = binding as QpidBinding;
+            if (qpidbinding != null)
+            {
+                Host = qpidbinding.Host;
+                OneWayOnly = qpidbinding.OneWayOnly;
+                TransactionFlowEnabled = qpidbinding.TransactionFlow;
+                VirtualHost = qpidbinding.VirtualHost;
+                PortNumber = qpidbinding.PortNumber;
+                UserName = qpidbinding.UserName;
+                Password = qpidbinding.Password;                
+            }
+        }
+
+        protected override void OnApplyConfiguration(Binding binding)
+        {
+            if (binding == null)
+                throw new ArgumentNullException("binding");
+
+            var qpidbinding = binding as QpidBinding;
+            if (qpidbinding == null)
+            {
+                throw new ArgumentException(
+                    string.Format("Invalid type for binding. Expected {0}, Passed: {1}",
+                        typeof(QpidBinding).AssemblyQualifiedName,
+                        binding.GetType().AssemblyQualifiedName));
+            }
+
+            qpidbinding.Host = Host;
+            qpidbinding.OneWayOnly = OneWayOnly;
+            qpidbinding.TransactionFlow = TransactionFlowEnabled;
+            qpidbinding.Password = Password;
+            qpidbinding.UserName = UserName;
+            qpidbinding.VirtualHost = VirtualHost;
+            qpidbinding.PortNumber = PortNumber;
+        }
+       
+
+        /// <summary>
+        /// Specifies the host that the binding should connect to.
+        /// </summary>
+        [ConfigurationProperty("host", DefaultValue = "localhost")]
+        public string Host
+        {
+            get { return ((string) base["host"]); }
+            set { base["host"] = value; }            
+        }
+
+        /// <summary>
+        /// Specifies the broker port number that the binding should connect to.
+        /// </summary>
+        [ConfigurationProperty("port", DefaultValue = "5672")]
+        public int PortNumber
+        {
+            get { return (Convert.ToInt16(base["port"])); }
+            set { base["port"] = value; }
+        }
+
+
+        /// <summary>
+        /// Specifies whether or not the CompositeDuplex and ReliableSession
+        /// binding elements are added to the channel stack.
+        /// </summary>
+        [ConfigurationProperty("oneWay", DefaultValue = false)]
+        public bool OneWayOnly
+        {
+            get { return ((bool)base["oneWay"]); }
+            set { base["oneWay"] = value; }
+        }
+
+        /// <summary>
+        /// Password to use when authenticating with the broker
+        /// </summary>
+        [ConfigurationProperty("password", DefaultValue = "guest")]
+        public string Password
+        {
+            get { return ((string)base["password"]); }
+            set { base["password"] = value; }
+        }
+
+        /// <summary>
+        /// Specifies whether or not WS-AtomicTransactions are supported by the binding
+        /// </summary>
+        [ConfigurationProperty("transactionFlow", DefaultValue = false)]
+        public bool TransactionFlowEnabled
+        {
+            get { return ((bool)base["transactionFlow"]); }
+            set { base["transactionFlow"] = value; }
+        }
+
+        /// <summary>
+        /// The username  to use when authenticating with the broker
+        /// </summary>
+        [ConfigurationProperty("username", DefaultValue = "guest")]
+        public string UserName
+        {
+            get { return ((string)base["username"]); }
+            set { base["username"] = value; }
+        }
+
+       
+
+
+        /// <summary>
+        /// The virtual host to access.
+        /// </summary>
+        [ConfigurationProperty("virtualHost", DefaultValue = "test")]
+        public string VirtualHost
+        {
+            get { return ((string)base["virtualHost"]); }
+            set { base["virtualHost"] = value; }
+        }
+
+        ///<summary>The security realm to use when calling IModel.AccessRequest</summary>
+        [ConfigurationProperty("realm", DefaultValue = "plain")]
+        public string Realm
+        {
+            get { return ((string)base["realm"]); }
+            set { base["realm"] = value; }
+        }
+
+        protected override Type BindingElementType
+        {
+            get { return typeof(QpidBinding); }
+        }
+
+        protected override ConfigurationPropertyCollection Properties
+        {
+            get
+            {
+                ConfigurationPropertyCollection configProperties = base.Properties;
+                foreach (PropertyInfo prop in this.GetType().GetProperties(BindingFlags.DeclaredOnly
+                                                                           | BindingFlags.Public
+                                                                           | BindingFlags.Instance))
+                {
+                    foreach (ConfigurationPropertyAttribute attr in prop.GetCustomAttributes(typeof(ConfigurationPropertyAttribute), false))
+                    {
+                        configProperties.Add(
+                            new ConfigurationProperty(attr.Name, prop.PropertyType, attr.DefaultValue));
+                    }
+                }
+
+                return configProperties;
+            }
+        }
+    }
+}

Modified: qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/UpperCase.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/UpperCase.cs?rev=886940&r1=886939&r2=886940&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/UpperCase.cs (original)
+++ qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/UpperCase.cs Thu Dec  3 22:03:51 2009
@@ -1,33 +1,33 @@
-/*
-*
-* 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.rpc
-{
-    [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall)]
-    public sealed class UpperCase : IUpperCase
-    {
-        public string ToUpperCase(string message)
-        {
-            return message.ToUpper();
-        }
-    }
-}
+/*
+*
+* 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.rpc
+{
+    [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall)]
+    public sealed class UpperCase : IUpperCase
+    {
+        public string ToUpperCase(string message)
+        {
+            return message.ToUpper();
+        }
+    }
+}

Modified: qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/wcfRPC.csproj
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/wcfRPC.csproj?rev=886940&r1=886939&r2=886940&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/wcfRPC.csproj (original)
+++ qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/wcfRPC.csproj Thu Dec  3 22:03:51 2009
@@ -1,73 +1,73 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProductVersion>9.0.30729</ProductVersion>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{C988F456-1025-486F-9BCD-49C0F83B91DB}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>wcfRPC</RootNamespace>
-    <AssemblyName>Qpid WCF UpperCase</AssemblyName>
-    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
-    <FileAlignment>512</FileAlignment>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
-    <OutputPath>bin\Debug\</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
-    <OutputPath>bin\Release\</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <ItemGroup>
-    <Reference Include="System" />
-    <Reference Include="System.configuration" />
-    <Reference Include="System.Core">
-      <RequiredTargetFramework>3.5</RequiredTargetFramework>
-    </Reference>
-    <Reference Include="System.Drawing" />
-    <Reference Include="System.ServiceModel">
-      <RequiredTargetFramework>3.0</RequiredTargetFramework>
-    </Reference>
-    <Reference Include="System.Windows.Forms" />
-    <Reference Include="System.Xml.Linq">
-      <RequiredTargetFramework>3.5</RequiredTargetFramework>
-    </Reference>
-    <Reference Include="System.Data.DataSetExtensions">
-      <RequiredTargetFramework>3.5</RequiredTargetFramework>
-    </Reference>
-    <Reference Include="System.Data" />
-    <Reference Include="System.Xml" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="IUpperCase.cs" />
-    <Compile Include="Program.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
-    <Compile Include="UpperCase.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="..\..\wcf.csproj">
-      <Project>{F1D80D9D-FE22-4213-A760-BFFDE7D131DD}</Project>
-      <Name>wcf</Name>
-    </ProjectReference>
-  </ItemGroup>
-  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>9.0.30729</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{C988F456-1025-486F-9BCD-49C0F83B91DB}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>wcfRPC</RootNamespace>
+    <AssemblyName>Qpid WCF UpperCase</AssemblyName>
+    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.configuration" />
+    <Reference Include="System.Core">
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Drawing" />
+    <Reference Include="System.ServiceModel">
+      <RequiredTargetFramework>3.0</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Windows.Forms" />
+    <Reference Include="System.Xml.Linq">
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Data.DataSetExtensions">
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="IUpperCase.cs" />
+    <Compile Include="Program.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="UpperCase.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\wcf.csproj">
+      <Project>{F1D80D9D-FE22-4213-A760-BFFDE7D131DD}</Project>
+      <Name>wcf</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
        Other similar extension points exist, see Microsoft.Common.targets.
   <Target Name="BeforeBuild">
   </Target>
   <Target Name="AfterBuild">
   </Target>
-  -->
+  -->
 </Project>
\ No newline at end of file

Modified: qpid/trunk/qpid/dotnet/client-010/wcf/model/CommunicationOperation.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/wcf/model/CommunicationOperation.cs?rev=886940&r1=886939&r2=886940&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/client-010/wcf/model/CommunicationOperation.cs (original)
+++ qpid/trunk/qpid/dotnet/client-010/wcf/model/CommunicationOperation.cs Thu Dec  3 22:03:51 2009
@@ -1,31 +1,31 @@
-/*
-*
-* 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;
-using System.ServiceModel.Channels;
-
-namespace org.apache.qpid.wcf.model
-{
-    internal delegate void CommunicationOperation(TimeSpan timeout);
-    internal delegate TResult CommunicationOperation<TResult>(TimeSpan timeout);
-    internal delegate TResult CommunicationOperation<TResult, TArg>(TimeSpan timeout, out TArg arg0);
-    internal delegate void SendOperation(Message message, TimeSpan timeout);
-}
+/*
+*
+* 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;
+using System.ServiceModel.Channels;
+
+namespace org.apache.qpid.wcf.model
+{
+    internal delegate void CommunicationOperation(TimeSpan timeout);
+    internal delegate TResult CommunicationOperation<TResult>(TimeSpan timeout);
+    internal delegate TResult CommunicationOperation<TResult, TArg>(TimeSpan timeout, out TArg arg0);
+    internal delegate void SendOperation(Message message, TimeSpan timeout);
+}



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message