{"id":17998258,"url":"https://github.com/primaryobjects/pastebindemo","last_synced_at":"2025-04-04T06:25:30.196Z","repository":{"id":139343251,"uuid":"502770946","full_name":"primaryobjects/pastebindemo","owner":"primaryobjects","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-13T01:54:03.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-09T17:42:21.042Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/primaryobjects.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-13T01:38:15.000Z","updated_at":"2024-02-20T02:57:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"73ca7902-4e39-4ee9-8397-09958e8ce1cd","html_url":"https://github.com/primaryobjects/pastebindemo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fpastebindemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fpastebindemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fpastebindemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fpastebindemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primaryobjects","download_url":"https://codeload.github.com/primaryobjects/pastebindemo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247130911,"owners_count":20888677,"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-29T21:24:47.408Z","updated_at":"2025-04-04T06:25:30.177Z","avatar_url":"https://github.com/primaryobjects.png","language":"C#","readme":"PasteBin Example C# .NET\n========================\n\nA quick example of posting text to PasteBin with an easy helper method.\n\nPerfect for remote debugging!\n\nRead the full tutorial: [Remote Debugging with Pastebin and Automatic Logging of Errors](https://www.primaryobjects.com/2011/09/12/remote-debugging-with-pastebin-and-automatic-logging-of-errors/)\n\n*Note, this version is for VSCode. See the Visual Studio .sln version [here](https://github.com/primaryobjects/PasteBin-Auto-Post).*\n\n## Usage\n\n1. In VSCode, open the project folder and open a new Terminal window and type the following command:\n\n    ```bash\n    dotnet add package System.Configuration.ConfigurationManager\n    ```\n\n2. Edit App.config to add your pastebin [API key](https://pastebin.com/doc_api#1).\n\n3. Run the helper method with the following code:\n\n    ```cs\n    string url = PasteBin.Create(\"Hello World, from PasteBinSample!\").Result;\n    Console.WriteLine(url);\n    ```\n\n    ```bash\n    dotnet run\n    ```\n\n4. The result is a url on pastebin containing the posted message.\n\n## License\n\nMIT\n\n## Author\n\nKory Becker http://www.primaryobjects.com/kory-becker\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimaryobjects%2Fpastebindemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimaryobjects%2Fpastebindemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimaryobjects%2Fpastebindemo/lists"}