Skip to content

Commit 8de7b4e

Browse files
committed
updated version and documentation
1 parent a315531 commit 8de7b4e

File tree

8 files changed

+50
-34
lines changed

8 files changed

+50
-34
lines changed

.nuget/NuGet.exe

1 KB
Binary file not shown.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Directly addresses a current limitation of Autofac where it does not provide any
88

99
2. Reference the namespace: SignalR.Extras.Autofac
1010

11-
3. When setting up an Autofac container in your project, follow the usual Autofac & SignalR integration steps as outlined on the Autofac wiki (https://github.com/autofac/Autofac/wiki/SignalR-Integration), i.e. replace SignalR's dependency resolver with Autofac's custom one and register your hubs as you normally would.
11+
3. When setting up an Autofac container in your project, follow the usual Autofac & SignalR integration steps as outlined on the Autofac wiki (http://autofac.readthedocs.org/en/latest/integration/signalr.html), i.e. replace SignalR's dependency resolver with Autofac's custom one and register your hubs as you normally would.
1212

1313
4. Call the new RegisterLifetimeHubManager extension method on your ContainerBuilder instance, e.g.:
1414

@@ -20,7 +20,7 @@ Directly addresses a current limitation of Autofac where it does not provide any
2020

2121
Your hub instances will automatically and transparently be assigned their own new child lifetime scopes upon each invocation by SignalR. They will also automatically dispose of those lifetime scopes upon completion.
2222

23-
You can still register and use Hubs which do not inherit from LifetimeHub - dependencies will still be injected correctly by Autofac, however you will have to manually manage their lifetime scopes yourself (as described here https://github.com/autofac/Autofac/wiki/SignalR-Integration#managing-dependencies).
23+
You can still register and use Hubs which do not inherit from LifetimeHub - dependencies will still be injected correctly by Autofac, however you will have to manually manage their lifetime scopes yourself (as described here http://autofac.readthedocs.org/en/latest/integration/signalr.html#managing-dependency-lifetimes).
2424

2525
## Example:
2626

Source/SignalR.Extras.Autofac/Properties/AssemblyInfo.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("Michael Monsour")]
1212
[assembly: AssemblyProduct("SignalR.Extras.Autofac")]
13-
[assembly: AssemblyCopyright("Copyright © 2014 Michael Monsour")]
13+
[assembly: AssemblyCopyright("Copyright © 2013-2015 Michael Monsour")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

@@ -32,6 +32,6 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.2.1.0")]
36-
[assembly: AssemblyFileVersion("0.2.1.0")]
37-
[assembly: AssemblyInformationalVersionAttribute("0.2.1-beta")]
35+
[assembly: AssemblyVersion("1.0.0.0")]
36+
[assembly: AssemblyFileVersion("1.0.0.0")]
37+
[assembly: AssemblyInformationalVersionAttribute("1.0.0")]

Source/SignalR.Extras.Autofac/SignalR.Extras.Autofac.csproj

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,25 @@
3535
<Prefer32Bit>false</Prefer32Bit>
3636
</PropertyGroup>
3737
<ItemGroup>
38-
<Reference Include="Autofac">
39-
<HintPath>..\..\packages\Autofac.3.5.0\lib\net40\Autofac.dll</HintPath>
38+
<Reference Include="Autofac, Version=3.5.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da, processorArchitecture=MSIL">
39+
<SpecificVersion>False</SpecificVersion>
40+
<HintPath>..\..\packages\Autofac.3.5.2\lib\net40\Autofac.dll</HintPath>
4041
</Reference>
41-
<Reference Include="Microsoft.AspNet.SignalR.Core">
42-
<HintPath>..\..\packages\Microsoft.AspNet.SignalR.Core.2.1.0\lib\net45\Microsoft.AspNet.SignalR.Core.dll</HintPath>
42+
<Reference Include="Microsoft.AspNet.SignalR.Core, Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
43+
<SpecificVersion>False</SpecificVersion>
44+
<HintPath>..\..\packages\Microsoft.AspNet.SignalR.Core.2.2.0\lib\net45\Microsoft.AspNet.SignalR.Core.dll</HintPath>
4345
</Reference>
44-
<Reference Include="Microsoft.Owin">
45-
<HintPath>..\..\packages\Microsoft.Owin.2.0.1\lib\net45\Microsoft.Owin.dll</HintPath>
46+
<Reference Include="Microsoft.Owin, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
47+
<SpecificVersion>False</SpecificVersion>
48+
<HintPath>..\..\packages\Microsoft.Owin.3.0.0\lib\net45\Microsoft.Owin.dll</HintPath>
4649
</Reference>
47-
<Reference Include="Microsoft.Owin.Security">
48-
<HintPath>..\..\packages\Microsoft.Owin.Security.2.0.1\lib\net45\Microsoft.Owin.Security.dll</HintPath>
50+
<Reference Include="Microsoft.Owin.Security, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
51+
<SpecificVersion>False</SpecificVersion>
52+
<HintPath>..\..\packages\Microsoft.Owin.Security.3.0.0\lib\net45\Microsoft.Owin.Security.dll</HintPath>
4953
</Reference>
50-
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
51-
<HintPath>..\..\packages\Newtonsoft.Json.5.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
54+
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
55+
<SpecificVersion>False</SpecificVersion>
56+
<HintPath>..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
5257
</Reference>
5358
<Reference Include="Owin">
5459
<HintPath>..\..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath>

Source/SignalR.Extras.Autofac/SignalR.Extras.Autofac.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<projectUrl>https://github.com/lethek/SignalR.Extras.Autofac</projectUrl>
1010
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1111
<description>$description$</description>
12-
<copyright>Copyright 2014 $author$</copyright>
12+
<copyright>Copyright © 2013-2015 $author$</copyright>
1313
<tags>Autofac SignalR</tags>
1414
<dependencies>
1515
<dependency id="Autofac" version="3.0.0" />
Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
3-
<runtime>
4-
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
5-
<dependentAssembly>
6-
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
7-
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/>
8-
</dependentAssembly>
9-
</assemblyBinding>
10-
</runtime>
11-
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
3+
<runtime>
4+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
5+
<dependentAssembly>
6+
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
7+
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
8+
</dependentAssembly>
9+
<dependentAssembly>
10+
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
11+
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
12+
</dependentAssembly>
13+
<dependentAssembly>
14+
<assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />
15+
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
16+
</dependentAssembly>
17+
</assemblyBinding>
18+
</runtime>
19+
<startup>
20+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
21+
</startup>
22+
</configuration>
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Autofac" version="3.5.0" targetFramework="net45" />
4-
<package id="Microsoft.AspNet.SignalR.Core" version="2.1.0" targetFramework="net45" />
5-
<package id="Microsoft.Owin" version="2.0.1" targetFramework="net45" />
6-
<package id="Microsoft.Owin.Security" version="2.0.1" targetFramework="net45" />
7-
<package id="Newtonsoft.Json" version="5.0.1" targetFramework="net45" />
3+
<package id="Autofac" version="3.5.2" targetFramework="net45" />
4+
<package id="Microsoft.AspNet.SignalR.Core" version="2.2.0" targetFramework="net45" />
5+
<package id="Microsoft.Owin" version="3.0.0" targetFramework="net45" />
6+
<package id="Microsoft.Owin.Security" version="3.0.0" targetFramework="net45" />
7+
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net45" />
88
<package id="Owin" version="1.0" targetFramework="net45" />
99
</packages>

Source/SignalR.Extras.Autofac/readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ a lifetime scope per SignalR hub invocation. SignalR.Extras.Autofac provides a s
1111
2. Reference the namespace: SignalR.Extras.Autofac
1212

1313
3. When setting up an Autofac container in your project, follow the usual Autofac & SignalR integration
14-
steps as outlined on the Autofac wiki (https://github.com/autofac/Autofac/wiki/SignalR-Integration),
14+
steps as outlined on the Autofac wiki (http://autofac.readthedocs.org/en/latest/integration/signalr.html),
1515
i.e. replace SignalR's dependency resolver with Autofac's custom one and register your hubs as you
1616
normally would.
1717

@@ -28,7 +28,7 @@ completion.
2828

2929
You can still register and use Hubs which do not inherit from LifetimeHub - dependencies will still be
3030
injected correctly by Autofac, however you will have to manually manage their lifetime scopes yourself
31-
(as described here https://github.com/autofac/Autofac/wiki/SignalR-Integration#managing-dependencies).
31+
(as described here http://autofac.readthedocs.org/en/latest/integration/signalr.html#managing-dependency-lifetimes).
3232

3333

3434
## Example:

0 commit comments

Comments
 (0)