You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OwlCore.Remoting is a lightweight RPC framework that works anywhere .NET Standard 2.0 is supported.
The framework was originally created for 2 purposes: Synchronizing UI between devices and enabling remote execution of code that is sideloaded in another application, in another process or running on another machine.
Work on this was started here, but had to be paused to focus on other parts of the SDK so we could open source on time. This includes both implementation and unit tests.
The plan
Since cores have all the members needed to know when data is changed, we can create a super clean API surface that looks roughly like this:
// Machine/Process 1- "Host" who has the running codevarcore=new LocalFilesCore(folderData, config);varhost=new RemoteCore("myUniqueId", core, messageHandler);// Machine/Process 2 - "Client" who doesn't have the running codevarclient=new RemoteCore("myUniqueId", messageHandler);// When calling a method on the client, it uses RPC calls to get the data from the host core.varitems=await client.Library.GetTracksAsync(5,5).ToListAsync();// The host uses RPC calls to notify the client about events and property changes.
client.Library.TotalTrackCountChanged +=(s,e)=>{ ...};
Todo list
Create and write tests for all required models
Identify and evaluate extra services that may be needed (i.e. RemoteNotificationsService)
Test with a real core running out of process
The text was updated successfully, but these errors were encountered:
Background
OwlCore.Remoting is a lightweight RPC framework that works anywhere .NET Standard 2.0 is supported.
The framework was originally created for 2 purposes: Synchronizing UI between devices and enabling remote execution of code that is sideloaded in another application, in another process or running on another machine.
Work on this was started here, but had to be paused to focus on other parts of the SDK so we could open source on time. This includes both implementation and unit tests.
The plan
Since cores have all the members needed to know when data is changed, we can create a super clean API surface that looks roughly like this:
Todo list
RemoteNotificationsService
)The text was updated successfully, but these errors were encountered: