These are chat archives for akkadotnet/akka.net

17th
Apr 2017
Arsene Tochemey GANDOTE
@Tochemey
Apr 17 2017 07:25
@ronnyek you can build a full blown reactive Web applications using Akka without clustering and Akka remote. It is sth I have done.
Weston
@ronnyek
Apr 17 2017 07:26
Basically shooting for say a web application and another worker service
Seems like good have remote or something for that
You'd need
Arsene Tochemey GANDOTE
@Tochemey
Apr 17 2017 07:31
OK
Weston
@ronnyek
Apr 17 2017 07:38
You'd know more than I would... I am just saying from my minimal experience... That seems like that would be the case
Arsene Tochemey GANDOTE
@Tochemey
Apr 17 2017 07:39
Never mind
Carey Free
@Cawifre
Apr 17 2017 12:57
@llehn In the case of Autofac, you pass the container and the actor system into the constructor for AutoFacDependencyResolver and the wiring is automagic under the hood. You can see an example on the Akka.DI.AutoFac readme. (Incidentally, what is with the inconsistent capitalization all over that repo? Should always be "Autofac", not "AutoFac".) If this world is even a little kind, then the plug-ins for other containers work the same way.
Weston
@ronnyek
Apr 17 2017 16:47
any hope of .net core support, or are is it more likely that support will come with netstandard2? I know there were a few diff issues in github, but seems like all were kinda outstanding
adityasharmacs
@adityasharmacs
Apr 17 2017 18:01

Hi All, I am trying out Journaling using Mongo Db, just wanted to know if apart frmo the github repo "https://github.com/akkadotnet/Akka.Persistence.MongoDB" is there any place where I can get code that explains Database storage in Journaling for MongoDb ? I have also read the following pages:

  1. https://petabridge.com/blog/intro-to-persistent-actors/
  2. http://bartoszsypytkowski.com/how-akka-net-persistence-works/

But didn't come across a pseudo code that shows entries being saved into Database using Journaling in MongoDb.

Any help is highly appreciated.

Bartosz Sypytkowski
@Horusiath
Apr 17 2017 18:12
@adityasharmacs I guess, that the test suite for this plugin would be a first place to go. Also AFAIK MongoDB plugin requires setting bson schema attributes for each type - which instances will you persist - manually at actor system startup
adityasharmacs
@adityasharmacs
Apr 17 2017 18:39
Hi @Horusiath : I am newbie to this, can you please give me some more pointers on this? Or any more references where I should look it up?
Bartosz Sypytkowski
@Horusiath
Apr 17 2017 19:09
@adityasharmacs I'm not sure, where you could possibly find more references. Maybe @Silv3rcircl3 could help
fanoI
@fanoI
Apr 17 2017 19:10
Good Afternoon! I've two questions regarding Akka.Net / Actors:
  1. It is possible to start an application as command line and then create an Actor than span a GUI (Winform, WPF or GTK#), there is an example of communication with Winform but another Actor is created in the UI thread, I'd like to make the GUI an Actor itself
  2. What about databases? Can I make an Actor that deals with the DB using Entity Framework?
Marc Piechura
@marcpiechura
Apr 17 2017 19:41
@adityasharmacs you need to register your event types and snapshot types in the BsonClassMap before you can use them. Regarding examples, any available for persistence should work, you only need to change the hocon config and add the types to the class map