-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Charles Torre
committed
May 8, 2024
1 parent
6a7d252
commit 083fc9b
Showing
58 changed files
with
1,103 additions
and
1,802 deletions.
There are no files selected for viewing
107 changes: 0 additions & 107 deletions
107
...ngStartedApplication/ActorBackendService.Interfaces/ActorBackendService.Interfaces.csproj
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
src/GettingStartedApplication/ActorBackendService.Interfaces/Properties/AssemblyInfo.cs
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
src/GettingStartedApplication/ActorBackendService.Interfaces/app.config
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
src/GettingStartedApplication/ActorBackendService.Interfaces/packages.config
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
...StartedApplication/ActorBackendService.InterfacesV2/ActorBackendService.Interfaces.csproj
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
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> |
54 changes: 29 additions & 25 deletions
54
...ctorBackendService.Interfaces/IMyActor.cs → ...orBackendService.InterfacesV2/IMyActor.cs
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
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); | ||
} | ||
} |
Oops, something went wrong.