diff --git a/src/Kritner.OrleansGettingStarted.Client/Kritner.OrleansGettingStarted.Client.csproj b/src/Kritner.OrleansGettingStarted.Client/Kritner.OrleansGettingStarted.Client.csproj index b142122..3f3edea 100644 --- a/src/Kritner.OrleansGettingStarted.Client/Kritner.OrleansGettingStarted.Client.csproj +++ b/src/Kritner.OrleansGettingStarted.Client/Kritner.OrleansGettingStarted.Client.csproj @@ -7,8 +7,8 @@ - - + + diff --git a/src/Kritner.OrleansGettingStarted.GrainInterfaces/Kritner.OrleansGettingStarted.GrainInterfaces.csproj b/src/Kritner.OrleansGettingStarted.GrainInterfaces/Kritner.OrleansGettingStarted.GrainInterfaces.csproj index bbfeaa9..f560354 100644 --- a/src/Kritner.OrleansGettingStarted.GrainInterfaces/Kritner.OrleansGettingStarted.GrainInterfaces.csproj +++ b/src/Kritner.OrleansGettingStarted.GrainInterfaces/Kritner.OrleansGettingStarted.GrainInterfaces.csproj @@ -5,8 +5,11 @@ - - + + + all + runtime; build; native; contentfiles; analyzers + diff --git a/src/Kritner.OrleansGettingStarted.Grains/Kritner.OrleansGettingStarted.Grains.csproj b/src/Kritner.OrleansGettingStarted.Grains/Kritner.OrleansGettingStarted.Grains.csproj index df1b4af..87d2254 100644 --- a/src/Kritner.OrleansGettingStarted.Grains/Kritner.OrleansGettingStarted.Grains.csproj +++ b/src/Kritner.OrleansGettingStarted.Grains/Kritner.OrleansGettingStarted.Grains.csproj @@ -5,9 +5,12 @@ - - - + + + + all + runtime; build; native; contentfiles; analyzers + diff --git a/src/Kritner.OrleansGettingStarted.SiloHost/Kritner.OrleansGettingStarted.SiloHost.csproj b/src/Kritner.OrleansGettingStarted.SiloHost/Kritner.OrleansGettingStarted.SiloHost.csproj index 095d23e..7838fba 100644 --- a/src/Kritner.OrleansGettingStarted.SiloHost/Kritner.OrleansGettingStarted.SiloHost.csproj +++ b/src/Kritner.OrleansGettingStarted.SiloHost/Kritner.OrleansGettingStarted.SiloHost.csproj @@ -6,9 +6,10 @@ - - - + + + + diff --git a/src/Kritner.OrleansGettingStarted.SiloHost/Program.cs b/src/Kritner.OrleansGettingStarted.SiloHost/Program.cs index 2fb8b98..96fdcc9 100644 --- a/src/Kritner.OrleansGettingStarted.SiloHost/Program.cs +++ b/src/Kritner.OrleansGettingStarted.SiloHost/Program.cs @@ -10,6 +10,7 @@ using Orleans; using Orleans.Configuration; using Orleans.Hosting; +using Orleans.Statistics; using System; using System.Net; using System.Threading.Tasks; @@ -70,6 +71,7 @@ private static async Task StartSilo() parts.AddApplicationPart(typeof(IGrainMarker).Assembly).WithReferences(); }) .ConfigureServices(DependencyInjectionHelper.IocContainerRegistration) + .UsePerfCounterEnvironmentStatistics() .UseDashboard(options => { }) .UseInMemoryReminderService() .ConfigureLogging(logging => logging.AddConsole());