Skip to content

Commit

Permalink
net8.0 impl.
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Torre committed May 8, 2024
1 parent 6a7d252 commit 083fc9b
Show file tree
Hide file tree
Showing 58 changed files with 1,103 additions and 1,802 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Platforms>x64</Platforms>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="7.1.1951" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------

namespace ActorBackendService.Interfaces
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.ServiceFabric.Actors;

/// <summary>
/// This interface defines the methods exposed by an actor.
/// Clients use this interface to interact with the actor that implements it.
/// </summary>
public interface IMyActor : IActor
{
/// <summary>
/// TODO: Replace with your own actor method.
/// </summary>
/// <param name="count"></param>
/// <returns></returns>
Task StartProcessingAsync(CancellationToken cancellationToken);
}
}
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------

using Microsoft.ServiceFabric.Actors.Remoting.FabricTransport;
using Microsoft.ServiceFabric.Services.Remoting;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.ServiceFabric.Actors;

[assembly: FabricTransportActorRemotingProvider(RemotingListenerVersion = RemotingListenerVersion.V2_1, RemotingClientVersion = RemotingClientVersion.V2_1)]

namespace ActorBackendService.Interfaces
{
/// <summary>
/// This interface defines the methods exposed by an actor.
/// Clients use this interface to interact with the actor that implements it.
/// </summary>
public interface IMyActor : IActor
{
/// <summary>
/// TODO: Replace with your own actor method.
/// </summary>
/// <param name="count"></param>
/// <returns></returns>
Task StartProcessingAsync(CancellationToken cancellationToken);
}
}
Loading

0 comments on commit 083fc9b

Please sign in to comment.