Skip to content

Commit

Permalink
Initial EventHub support.
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrinodimattia committed Jul 16, 2014
1 parent 2a900ed commit def7d1e
Show file tree
Hide file tree
Showing 36 changed files with 3,733 additions and 64 deletions.
2 changes: 1 addition & 1 deletion nuget/RedDog.Messenger.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<copyright>Copyright 2014 Sandrino Di Mattia</copyright>
<dependencies>
<group targetFramework=".NETFramework4.0">
<dependency id="WindowsAzure.ServiceBus" version="2.3.4" />
<dependency id="WindowsAzure.ServiceBus" version="2.4.4" />
<dependency id="RedDog.ServiceBus" version="0.1.0" />
</group>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion nuget/RedDog.ServiceBus.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<copyright>Copyright 2014 Sandrino Di Mattia</copyright>
<dependencies>
<group targetFramework=".NETFramework4.0">
<dependency id="WindowsAzure.ServiceBus" version="2.3.4" />
<dependency id="WindowsAzure.ServiceBus" version="2.4.0" />
</group>
</dependencies>
<references>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@
<Reference Include="Microsoft.Hadoop.Avro">
<HintPath>..\packages\Microsoft.Hadoop.Avro.1.1.1.1\lib\net40\Microsoft.Hadoop.Avro.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.5.0.5\lib\net45\Newtonsoft.Json.dll</HintPath>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Newtonsoft.Json.6.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand All @@ -48,6 +49,7 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
Expand Down
11 changes: 11 additions & 0 deletions src/RedDog.Messenger.Serialization.Avro/app.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
2 changes: 1 addition & 1 deletion src/RedDog.Messenger.Serialization.Avro/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Hadoop.Avro" version="1.1.1.1" targetFramework="net45" />
<package id="Newtonsoft.Json" version="5.0.5" targetFramework="net45" />
<package id="Newtonsoft.Json" version="6.0.3" targetFramework="net45" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.5.0.6\lib\net45\Newtonsoft.Json.dll</HintPath>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Newtonsoft.Json.6.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand All @@ -43,15 +44,15 @@
<Compile Include="NewtonsoftJsonSerializerConfigurationExtensions.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\RedDog.Messenger\RedDog.Messenger.csproj">
<Project>{C650A5A8-004A-4A2F-8AAD-3597996B0685}</Project>
<Name>RedDog.Messenger</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
Expand Down
2 changes: 1 addition & 1 deletion src/RedDog.Messenger.Serialization.Json/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="5.0.6" targetFramework="net45" />
<package id="Newtonsoft.Json" version="6.0.3" targetFramework="net45" />
</packages>
Binary file not shown.
6 changes: 3 additions & 3 deletions src/RedDog.Messenger/RedDog.Messenger.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.ServiceBus, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\WindowsAzure.ServiceBus.2.3.4.0\lib\net40-full\Microsoft.ServiceBus.dll</HintPath>
<Reference Include="Microsoft.ServiceBus, Version=2.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\WindowsAzure.ServiceBus.2.4.1.0\lib\net40-full\Microsoft.ServiceBus.dll</HintPath>
</Reference>
<Reference Include="Microsoft.WindowsAzure.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll</HintPath>
Expand Down Expand Up @@ -113,7 +114,6 @@
<ItemGroup>
<None Include="app.config" />
<None Include="packages.config" />
<None Include="Performance\Microsoft.ServiceBus.MessagingPerformanceCounters.man" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\RedDog.Messenger.Contracts\RedDog.Messenger.Contracts.csproj">
Expand Down
12 changes: 6 additions & 6 deletions src/RedDog.Messenger/app.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.serviceModel>


<system.serviceModel>
<extensions>
<!-- In this extension section we are introducing all known service bus extensions. User can remove the ones they don't need. -->
<behaviorExtensions>
Expand All @@ -25,9 +27,7 @@
<add name="netMessagingBinding" type="Microsoft.ServiceBus.Messaging.Configuration.NetMessagingBindingCollectionElement, Microsoft.ServiceBus, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</bindingExtensions>
</extensions>
</system.serviceModel>
<appSettings>
</system.serviceModel><appSettings>
<!-- Service Bus specific app setings for messaging connections -->
<add key="Microsoft.ServiceBus.ConnectionString" value="Endpoint=sb://[your namespace].servicebus.windows.net;SharedSecretIssuer=owner;SharedSecretValue=[your secret]" />
</appSettings>
</configuration>
<add key="Microsoft.ServiceBus.ConnectionString" value="Endpoint=sb://[your namespace].servicebus.windows.net;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=[your secret]" />
</appSettings></configuration>
2 changes: 1 addition & 1 deletion src/RedDog.Messenger/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.WindowsAzure.ConfigurationManager" version="2.0.3" targetFramework="net45" />
<package id="WindowsAzure.ServiceBus" version="2.3.4.0" targetFramework="net45" />
<package id="WindowsAzure.ServiceBus" version="2.4.1.0" targetFramework="net45" />
</packages>
6 changes: 6 additions & 0 deletions src/RedDog.ServiceBus.EventHubs.SignatureGenerator/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>
Loading

0 comments on commit def7d1e

Please sign in to comment.