Skip to content

Commit

Permalink
Merge pull request #13 from AkkaNetContrib/dev
Browse files Browse the repository at this point in the history
v1.3.1 release
  • Loading branch information
Aaronontheweb authored Oct 31, 2017
2 parents 3244078 + 5000ca2 commit 9635846
Show file tree
Hide file tree
Showing 14 changed files with 291 additions and 618 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,4 @@ _Pvt_Extensions
# FAKE - F# Make
.fake/
*.orig
tools/*
5 changes: 4 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#### 1.3.1 October 31 2017 ####
Support for Akka.NET 1.3.1

#### 1.1.1 August 10 2016 ####
Support for Akka.NET 1.1.1

Expand All @@ -7,4 +10,4 @@ Support for Akka 1.0.8

#### 1.0.7 April 7 2016 ####

Support for Akka 1.0.7
Support for Akka 1.0.7
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#Akka.DI.Ninject
# Akka.DI.Ninject

**Actor Producer Extension** backed by the [Ninject](http://www.ninject.org/) Dependency Injection Container for the [Akka.NET](https://github.com/akkadotnet/akka.net) framework.

#What is it?
## What is it?

**Akka.DI.Ninject** is an **ActorSystem extension** for the Akka.NET framework that provides an alternative to the basic capabilities of [Props](http://getakka.net/docs/Props) when you have Actors with multiple dependencies.

If Ninject is your IoC container of choice and your actors have dependencies that make using the factory method provided by Props prohibitive and code maintenance is an important concern then this is the extension for you.

#How to you use it?
## How to you use it?

The best way to understand how to use it is by example. If you are already considering this extension then we will assume that you know how how to use the [Ninject](http://www.ninject.org/) container. This example is demonstrating a system using [ConsistentHashing](http://getakka.net/docs/working-with-actors/Routers#consistenthashing) routing along with this extension.

Expand Down
39 changes: 1 addition & 38 deletions build.cmd
Original file line number Diff line number Diff line change
@@ -1,38 +1 @@
@echo off

pushd %~dp0

SETLOCAL
SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe

IF EXIST %CACHED_NUGET% goto copynuget
echo Downloading latest version of NuGet.exe...
IF NOT EXIST %LocalAppData%\NuGet md %LocalAppData%\NuGet
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest 'https://www.nuget.org/nuget.exe' -OutFile '%CACHED_NUGET%'"

:copynuget
IF EXIST src\.nuget\nuget.exe goto restore
md src\.nuget
copy %CACHED_NUGET% src\.nuget\nuget.exe > nul

:restore

src\.nuget\NuGet.exe update -self


pushd %~dp0

src\.nuget\NuGet.exe update -self

src\.nuget\NuGet.exe install FAKE -ConfigFile src\.nuget\Nuget.Config -OutputDirectory src\packages -ExcludeVersion -Version 4.16.1
src\.nuget\NuGet.exe install xunit.runner.console -ConfigFile src\.nuget\Nuget.Config -OutputDirectory src\packages\FAKE -ExcludeVersion -Version 2.0.0

if not exist src\packages\SourceLink.Fake\tools\SourceLink.fsx (
src\.nuget\nuget.exe install SourceLink.Fake -ConfigFile src\.nuget\Nuget.Config -OutputDirectory src\packages -ExcludeVersion
)
rem cls

set encoding=utf-8
src\packages\FAKE\tools\FAKE.exe build.fsx %*

popd
PowerShell.exe -file "build.ps1" %*
Loading

0 comments on commit 9635846

Please sign in to comment.