Skip to content

Instantly share code, notes, and snippets.

@ptupitsyn
Created December 6, 2020 13:58
Show Gist options
  • Save ptupitsyn/600f84fa4fe9a09269384b21f7ee7120 to your computer and use it in GitHub Desktop.
Save ptupitsyn/600f84fa4fe9a09269384b21f7ee7120 to your computer and use it in GitHub Desktop.
Apache Ignite PeerAssemblyLoading demo - Server
using System;
using System.Threading;
using Apache.Ignite.Core;
using Apache.Ignite.Core.Deployment;
namespace server
{
class Program
{
static void Main(string[] args)
{
Ignition.Start(new IgniteConfiguration {PeerAssemblyLoadingMode = PeerAssemblyLoadingMode.CurrentAppDomain});
Thread.Sleep(-1);
}
}
}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Apache.Ignite" Version="2.9.0" />
</ItemGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment