This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Add-WindowsCapability -Online -Name NetFx3~~~~ -Source \sources\sxs | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Apex.TimeStamps; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.Linq; | |
| using System.Text; | |
| using static System.Math; | |
| namespace Apex.Tough.DataSeries { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| abstract class CharPipe { | |
| protected readonly CharPipe Continuation; | |
| public CharPipe(CharPipe continuation) { | |
| Continuation = continuation; | |
| } | |
| public abstract void Write(char c); | |
| public abstract void Complete(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Microsoft.VisualStudio.TestTools.UnitTesting; | |
| using Newtonsoft.Json; | |
| using Newtonsoft.Json.Linq; | |
| using Nito.AsyncEx; | |
| using Rx.Net.Plus; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Collections.Immutable; | |
| using System.Globalization; | |
| using System.IO; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Microsoft.Extensions.DependencyInjection; | |
| using Microsoft.Extensions.Logging; | |
| using Microsoft.VisualStudio.TestTools.UnitTesting; | |
| using System; | |
| using System.Net; | |
| using System.Threading.Tasks; | |
| using ESClusterSettings = EventStore.ClientAPI.ClusterSettings; | |
| using ESConnection = EventStore.ClientAPI.EventStoreConnection; | |
| using ESConnectionSettings = EventStore.ClientAPI.ConnectionSettings; | |
| using ESUserCredentials = EventStore.ClientAPI.SystemData.UserCredentials; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Microsoft.Extensions.DependencyInjection; | |
| using Microsoft.Extensions.Logging; | |
| using Microsoft.VisualStudio.TestTools.UnitTesting; | |
| using System; | |
| using System.Net; | |
| using System.Threading.Tasks; | |
| using ESClusterSettings = EventStore.ClientAPI.ClusterSettings; | |
| using ESConnection = EventStore.ClientAPI.EventStoreConnection; | |
| using ESConnectionSettings = EventStore.ClientAPI.ConnectionSettings; | |
| using ESUserCredentials = EventStore.ClientAPI.SystemData.UserCredentials; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '2' | |
| services: | |
| eventstore1: | |
| image: eventstore/eventstore | |
| ports: | |
| - 12113:2113/tcp | |
| - 11113:1113/tcp | |
| environment: | |
| EVENTSTORE_CLUSTER_DNS: eventstore1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Apex.LoggingUtils; | |
| using Microsoft.Extensions.DependencyInjection; | |
| using Microsoft.Extensions.DependencyInjection.Extensions; | |
| using Microsoft.Extensions.Logging; | |
| using Nito.AsyncEx; | |
| using Orleans; | |
| using Orleans.Runtime; | |
| using Orleans.Streams; | |
| using System; | |
| using System.Collections.Generic; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static ISiloHost CreateSilo() { | |
| var builder = new SiloHostBuilder() | |
| .Configure(options => options.ClusterId = NDGConfig.ClusterId) | |
| .Configure<ProcessExitHandlingOptions>(options => options.FastKillOnProcessExit = false) | |
| .ConfigureSiloName(NDGConfig.ClusterId + "-" + NDGConfig.SiloHostName) | |
| .ConfigureEndpoints(advertisedIP: NDGConfig.SiloIP, siloPort: NDGConfig.SiloPort, gatewayPort: NDGConfig.GatewayPort, listenOnAllHostAddresses: true) | |
| .ConfigureLogging(b => b.SetMinimumLevel(LogLevel.Error).AddConsole()) | |
| .UseDashboard(options => { | |
| options.Port = NDGConfig.SiloDashboardPort; | |
| options.Username = NDGConfig.SiloDashboardUsername; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Microsoft.Extensions.DependencyInjection; | |
| using Microsoft.Extensions.DependencyInjection.Extensions; | |
| using Microsoft.Extensions.Logging; | |
| using Microsoft.Extensions.Options; | |
| using Newtonsoft.Json; | |
| using Orleans; | |
| using Orleans.Configuration; | |
| using Orleans.Hosting; | |
| using Orleans.Providers; | |
| using Orleans.Runtime; |
NewerOlder