This file contains 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
<link rel="import" href="../notification-elements/notification-alert.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../google-map/google-map.html"> | |
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../paper-toast/paper-toast.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../paper-item/paper-item.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> |
This file contains 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
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Disable-UAC | |
Enable-RemoteDesktop | |
choco install TelnetClient -source windowsfeatures | |
choco install webpicommandline | |
This file contains 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
public static class OrleansRuntimeDiagnosticsConfigurationExtensions | |
{ | |
public static ClusterConfiguration UseDiagnostics(this ClusterConfiguration config) | |
{ | |
config.Globals.RegisterBootstrapProvider<OrleansRuntimeDiagnosticsBootstrapper>(nameof(OrleansRuntimeDiagnosticsBootstrapper)); | |
return config; | |
} | |
} |
This file contains 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
internal class OrleansSiloHostCommunicationListener : ICommunicationListener | |
{ | |
private readonly ISiloHost _host; | |
public OrleansSiloHostCommunicationListener(StatelessService service, Action<ISiloHostBuilder> app) | |
{ | |
var builder = new SiloHostBuilder(); | |
//configure | |
app(builder); |
This file contains 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
public class StreamStoreWithPolicyWrapper : IStreamStore | |
{ | |
private readonly IStreamStore _inner; | |
private readonly IAsyncPolicy _policy; | |
private readonly string _contextPrefix; | |
public StreamStoreWithPolicyWrapper(IOptions<StreamStoreWithPolicyWrapperSettings> config, IStreamStore inner, IReadOnlyPolicyRegistry<string> policyRegistry) | |
{ | |
_inner = inner; |
This file contains 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 System; | |
using System.Reflection; | |
using System.Threading.Tasks; | |
using Microsoft.Extensions.DependencyInjection; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Serialization; | |
using Orleans; | |
using Orleans.Providers; | |
using Orleans.Runtime; | |
using Orleans.Serialization; |
This file contains 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
[Serializable] | |
public class SerializableClaimsPrincipal | |
{ | |
public List<SerializableClaimsIdentity> Identities { get; set; } | |
} | |
[Serializable] | |
public class SerializableClaimsIdentity | |
{ | |
public string AuthenticationType { get; set; } |