{"id":17920190,"url":"https://github.com/lostmsu/taskremoting","last_synced_at":"2025-04-03T08:27:57.510Z","repository":{"id":35479020,"uuid":"39747844","full_name":"lostmsu/TaskRemoting","owner":"lostmsu","description":"Wraps cross-domain asynchronous method calls, returing System.Threading.Tasks.Task.","archived":false,"fork":false,"pushed_at":"2015-08-09T07:16:22.000Z","size":196,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T06:09:34.115Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lostmsu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-27T00:48:44.000Z","updated_at":"2015-07-28T04:46:32.000Z","dependencies_parsed_at":"2022-07-29T19:09:58.505Z","dependency_job_id":null,"html_url":"https://github.com/lostmsu/TaskRemoting","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostmsu%2FTaskRemoting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostmsu%2FTaskRemoting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostmsu%2FTaskRemoting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostmsu%2FTaskRemoting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lostmsu","download_url":"https://codeload.github.com/lostmsu/TaskRemoting/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246964328,"owners_count":20861643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T20:21:45.355Z","updated_at":"2025-04-03T08:27:57.480Z","avatar_url":"https://github.com/lostmsu.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TaskRemoting\n\nPackage can be installed from NuGet: https://www.nuget.org/packages/TaskRemoting/ (TaskRemoting)\n\n# Usage sample\n\n```csharp\nusing TaskRemoting;\n\nawait remoteDomain.Invoke(myObj.MyMethod, myArg);\n```\n\n# Partial trust\n\nRemoteTask.Invoke by itself demands unrestricted ReflectionPermission\n\nIf you want to call a method in a partial trust domain (sandbox), TaskRemoting must be fully trusted in that domain.\n\n```csharp\npublic static StrongName GetStrongName(Assembly assembly)\n{\n    var assemblyInfo = assembly.GetName();\n    var publicKey = new StrongNamePublicKeyBlob(assemblyInfo.GetPublicKey());\n    return new StrongName(publicKey, assemblyInfo.Name, assemblyInfo.Version);\n}\n\nvar taskRemotingStrongName = GetStrongName(typeof(RemoteTask).Assembly);\nAppDomain.CreateDomain(\"Sandbox\", null, domainSetup, permissions, fullTrustAssemblies: taskRemotingStrongName);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flostmsu%2Ftaskremoting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flostmsu%2Ftaskremoting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flostmsu%2Ftaskremoting/lists"}