I'm slightly confused how AKKA.NET will be configured in a .NET Core application, where App.config has been replaced by project.json.
Will AKKA.NET still look for an App.Config? Or should I put the HOCON configuration inside project.json somehow?
What is the recommended practice?
Edit: A bit more trial-and-error has verifiedd that it is possible to add an App.config file to a .NET Core project and include a hocon section as follows:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="akka" type="Akka.Configuration.Hocon.AkkaConfigurationSection, Akka" />
</configSections>
<akka>
<hocon>
<![CDATA[
akka {
actor {
serializers {
wire = "Akka.Serialization.WireSerializer, Akka.Serialization.Wire"
}
serialization-bindings {
"System.Object" = wire
}
}
}
]]>
</hocon>
</akka>
</configuration>
I'm still curious about finding out what is the recommended practice.