358) CS0012: Event\LoggingBus.cs(226,39): The type 'IEnumerable<>' is defined in an assembly that is not referenced. You
must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
2016-08-08 20:20:56.928 -04:00 [Error] "Failed to create snapshot directory C:\Program Files (x86)\IIS Express\snapshots"
[akka://MyServerX/system/akka.persistence.snapshot-store.local#264991178]: Akka.Actor.ActorInitializationException: Exception during creation ---> System.IO.IOException: Failed to create snapshot directory C:\Program Files (x86)\IIS Express\snapshots ---> System.UnauthorizedAccessException: Access to the path 'snapshots' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at System.IO.DirectoryInfo.Create()
at Akka.Persistence.Snapshot.LocalSnapshotStore.GetSnapshotDir()
--- End of inner exception stack trace ---
at Akka.Persistence.Snapshot.LocalSnapshotStore.GetSnapshotDir()
at Akka.Persistence.Snapshot.LocalSnapshotStore.PreStart()
at Akka.Actor.ActorBase.AroundPreStart()
at Akka.Actor.ActorCell.<>c__DisplayClass154_0.<Create>b__0()
at Akka.Actor.ActorCell.UseThreadContext(Action action)
at Akka.Actor.ActorCell.Create(Exception failure)
--- End of inner exception stack trace ---
at Akka.Actor.ActorCell.Create(Exception failure)
at Akka.Actor.ActorCell.SysMsgInvokeAll(EarliestFirstSystemMessageList messages, Int32 currentState)
2016-08-08 20:20:56.933 -04:00 [Information] "Message LoadSnapshot from akka://MyServerX/user/employeeActor to akka://MyServerX/system/akka.persistence.snapshot-store.local was not delivered. 2 dead letters encountered."
ActorSystem.Create("Name", config)
.. there are some samples around
Config
folders in each of the major modules
[07:07:22][Step 3/3] docker: Executing the command using /bin/bash (38s)
[07:07:22][docker] Executing command: docker run --rm=true --name=teamcity_cJC4gJmxMVrEKzhPBOfHTZ7anrN90WXk -v /home/AkkaDotNet/BuildAgent/work/d395f960b2ec7618:/home/AkkaDotNet/BuildAgent/work:rw --workdir=/home/AkkaDotNet/BuildAgent/work/ --interactive=false --tty=false akkadotnet/mono-base:latest /bin/bash -c "source teamcity7923634774190982146.build.cmd"
[07:07:22][docker] Starting: /home/AkkaDotNet/BuildAgent/temp/agentTmp/custom_script7339520437593709260
[07:07:22][docker] in directory: /home/AkkaDotNet/BuildAgent/work/d395f960b2ec7618
[07:07:23][docker] --2016-08-09 07:07:23-- https://www.nuget.org/nuget.exe
[07:07:24][docker] Resolving www.nuget.org (www.nuget.org)... 191.236.146.247
[07:07:24][docker] Connecting to www.nuget.org (www.nuget.org)|191.236.146.247|:443... connected.
[07:07:24][docker] HTTP request sent, awaiting response... 302 Found
[07:07:24][docker] Location: https://api.nuget.org/downloads/nuget.exe [following]
[07:07:24][docker] --2016-08-09 07:07:24-- https://api.nuget.org/downloads/nuget.exe
[07:07:25][docker] Resolving api.nuget.org (api.nuget.org)... 93.184.215.200, 2606:2800:11f:179a:1972:2405:35b:459
[07:07:25][docker] Connecting to api.nuget.org (api.nuget.org)|93.184.215.200|:443... connected.
[07:07:25][docker] HTTP request sent, awaiting response... 200 OK
[07:07:25][docker] Length: 1686528 (1.6M) [application/octet-stream]
[07:07:25][docker] Saving to: `/home/AkkaDotNet/BuildAgent/work/.nuget/nuget.exe'
[07:07:25][docker]
[07:07:25][docker] 0K .......... .......... .......... .......... .......... 3% 3.92M 0s
[07:07:25][docker] 50K .......... .......... .......... .......... .......... 6% 6.05M 0s
[07:07:25][docker] 100K .......... .......... .......... .......... .......... 9% 22.8M 0s
[07:07:25][docker] 150K .......... .......... .......... .......... .......... 12% 5.88M 0s
[07:07:25][docker] 200K .......... .......... .......... .......... .......... 15% 27.5M 0s
[07:07:25][docker] 250K .......... .......... .......... .......... .......... 18% 6.70M 0s
[07:07:25][docker] 300K .......... .......... .......... .......... .......... 21% 28.1M 0s
[07:07:25][docker] 350K .......... .......... .......... .......... .......... 24% 21.9M 0s
[07:07:25][docker] 400K .......... .......... .......... .......... .......... 27% 9.82M 0s
[07:07:25][docker] 450K .......... .......... .......... .......... .......... 30% 31.3M 0s
[07:07:25][docker] 500K .......... .......... .......... .......... .......... 33% 25.3M 0s
[07:07:25][docker] 550K .......... .......... .......... .......... .......... 36% 24.8M 0s
[07:07:25][docker] 600K .......... .......... .......... .......... .......... 39% 23.3M 0s
[07:07:25][docker] 650K .......... .......... .......... .......... .......... 42% 9.01M 0s
[07:07:25][docker] 700K .......... .......... .......... .......... .......... 45% 16.8M 0s
[07:07:25][docker] 750K .......... .......... .......... .......... .......... 48% 16.4M 0s
[07:07:25][docker] 800K .......... .......... .......... .......... .......... 51% 18.8M 0s
[07:07:25][docker] 850K .......... .......... .......... .......... .......... 54% 25.2M 0s
[07:07:25][docker] 900K .......... .......... .......... .......... .......... 57% 23.3M 0s
[07:07:25][docker] 950K .......... .......... .......... .......... .......... 60% 13.3M 0s
[07:07:25][docker] 1000K .......... .......... .......... .......... .......... 63% 20.4M 0s
[07:07:25][docker] 1050K .......... .......... .......... .......... .......... 66% 15.6M 0s
[07:07:25][docker] 1100K .......... .......... .......... .......... .......... 69% 14.4M 0s
[07:07:25][docker] 1150K .......... .......... .......... .......... .......... 72% 19.4M 0s
[07:07:25][docker] 1200K .......... .......... .......... .......... .......... 75% 22.4M 0s
[07:07:25][docker] 1250K .......... .......... .......... .......... .......... 78% 23.3M 0s
[07:07:25][doc
ContinueWith
and PipeTo
can be cumbersome
IsAdmin = true
setting. Currently you might lookup by ID to fetch the user record and, based on that, find the pref, then perform the original action. This might vary depending on if you're looking up the owner vs. the creator, for instance. So there's a bunch of what feels like unnecessary keyboard mashing in order to pass along enough information to be able to process the result based on the state of the original request.
Receive<Foo>(async foo => ...
is obsolete; you need to use ReceiveAsync<Foo>(async foo => ...
instead. As far as I know, Receive<Foo>(foo => ...
isn't going away.