mirror of https://github.com/Squidex/squidex.git
24 changed files with 132 additions and 153 deletions
@ -1,5 +1,5 @@ |
|||||
{ |
{ |
||||
"sdk": { |
"sdk": { |
||||
"version": "2.0.0" |
"version": "2.1.4" |
||||
} |
} |
||||
} |
} |
||||
|
|||||
Binary file not shown.
@ -0,0 +1 @@ |
|||||
|
uTfl6S7PJhuGfx75wJiQC5gTgaRh17T0kqLDgfXZtXqQuz1kk6ikRGTnaDEjWM9SKks/uBf7q27CE8yOkuctFw== |
||||
@ -0,0 +1,25 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd"> |
||||
|
<metadata> |
||||
|
<id>OrleansDashboard</id> |
||||
|
<version>2.0.0-rc1</version> |
||||
|
<authors>OrleansContrib</authors> |
||||
|
<owners>OrleansContrib</owners> |
||||
|
<requireLicenseAcceptance>false</requireLicenseAcceptance> |
||||
|
<licenseUrl>https://opensource.org/licenses/MIT</licenseUrl> |
||||
|
<projectUrl>https://github.com/OrleansContrib/OrleansDashboard</projectUrl> |
||||
|
<iconUrl>http://dotnet.github.io/orleans/assets/logo.png</iconUrl> |
||||
|
<description>An admin dashboard for Microsoft Orleans</description> |
||||
|
<copyright>Copyright © 2017</copyright> |
||||
|
<tags>orleans dashboard metrics monitor</tags> |
||||
|
<repository url="https://github.com/OrleansContrib/OrleansDashboard" /> |
||||
|
<dependencies> |
||||
|
<group targetFramework=".NETStandard2.0"> |
||||
|
<dependency id="Microsoft.AspNetCore" version="2.0.1" exclude="Build,Analyzers" /> |
||||
|
<dependency id="Microsoft.Orleans.Core" version="2.0.0-rc1" exclude="Build,Analyzers" /> |
||||
|
<dependency id="Microsoft.Orleans.OrleansCodeGenerator.Build" version="2.0.0-rc1" exclude="Build,Analyzers" /> |
||||
|
<dependency id="Microsoft.Orleans.OrleansRuntime" version="2.0.0-rc1" exclude="Build,Analyzers" /> |
||||
|
</group> |
||||
|
</dependencies> |
||||
|
</metadata> |
||||
|
</package> |
||||
@ -1,34 +0,0 @@ |
|||||
// ==========================================================================
|
|
||||
// Squidex Headless CMS
|
|
||||
// ==========================================================================
|
|
||||
// Copyright (c) Squidex UG (haftungsbeschränkt)
|
|
||||
// All rights reserved. Licensed under the MIT license.
|
|
||||
// ==========================================================================
|
|
||||
|
|
||||
using Microsoft.Extensions.Configuration; |
|
||||
using Orleans; |
|
||||
using Orleans.Hosting; |
|
||||
using Orleans.Runtime.Configuration; |
|
||||
|
|
||||
namespace Squidex.Config.Orleans |
|
||||
{ |
|
||||
public static class SiloExtensions |
|
||||
{ |
|
||||
public static ISiloHostBuilder UseContentRoot(this ISiloHostBuilder builder, string path) |
|
||||
{ |
|
||||
builder.ConfigureAppConfiguration(config => |
|
||||
{ |
|
||||
config.SetBasePath(path); |
|
||||
}); |
|
||||
|
|
||||
return builder; |
|
||||
} |
|
||||
|
|
||||
public static ClusterConfiguration WithDashboard(this ClusterConfiguration config) |
|
||||
{ |
|
||||
config.RegisterDashboard(); |
|
||||
|
|
||||
return config; |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
Loading…
Reference in new issue