{"id":18593536,"url":"https://github.com/atiq-cs/net-core-google-cloud","last_synced_at":"2025-05-16T10:34:46.518Z","repository":{"id":89133951,"uuid":"140919024","full_name":"atiq-cs/net-core-google-cloud","owner":"atiq-cs","description":"A few Google Cloud Platform APIs demo using .Net Core","archived":false,"fork":false,"pushed_at":"2018-07-15T05:07:31.000Z","size":4678,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T21:46:33.963Z","etag":null,"topics":["google-cloud-platform","google-cloud-speech","google-cloud-translation-api","google-cloud-vision","net-core"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atiq-cs.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-14T05:37:31.000Z","updated_at":"2018-07-15T05:07:32.000Z","dependencies_parsed_at":"2023-03-13T18:14:27.291Z","dependency_job_id":null,"html_url":"https://github.com/atiq-cs/net-core-google-cloud","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/atiq-cs%2Fnet-core-google-cloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atiq-cs%2Fnet-core-google-cloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atiq-cs%2Fnet-core-google-cloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atiq-cs%2Fnet-core-google-cloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atiq-cs","download_url":"https://codeload.github.com/atiq-cs/net-core-google-cloud/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254513246,"owners_count":22083534,"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":["google-cloud-platform","google-cloud-speech","google-cloud-translation-api","google-cloud-vision","net-core"],"created_at":"2024-11-07T01:12:49.666Z","updated_at":"2025-05-16T10:34:46.496Z","avatar_url":"https://github.com/atiq-cs.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Cloud Platform Demos using .net core\nA few Google Cloud Platform APIs are demonstrated using .Net Core in this repository. Google Cloud Platform has a long list of API can be further viewed [here][10].\n\n## Project Descriptions\nThere are 4 projects under this directory.\n\n - [translate][2]\n - [image][3]\n - [speech][4]\n \nEach of the project (links above) contains a readme file that provide explanations/details on the project.\n\nTo run any of these google cloud projects we have to set the environment variable `GOOGLE_APPLICATION_CREDENTIALS`; [cloud.google.com Authentication docs - Setting the environment variable][7] provides documentation on this. On powershell, this is how we set this variable to point to the location of json file,\n\n    $Env:GOOGLE_APPLICATION_CREDENTIALS = 'D:\\GCloud-Code\\baynet-5d3100fe31x.json'\n\nOf course, first, we have to create a project using Google Cloud Console. Then, we download json which contains credential for google cloud platform account.\n \n### JsonDumper (dump)\n3 projects depend on [dump][1] project. In each of them following command should be applied to add reference,\n\n    $ dotnet add reference ..\\dump\\dump.csproj\n    Reference `..\\dump\\dump.csproj` added to the project.\n\nto use JsonDumper. Addition the project directory also contains instruction how to build it.\n\nWhile 3 projects are EXE console application projects, `dump` is a class library project.\n\n#### Instructions for building dump project\nCreate class library project,\n\n    $ dotnet new classlib -n dump\n    $ cd dump\n    $ Rename-Item Program.cs JsonDumper.cs\n\nAdd required deps,\n\n    $ dotnet add package Google.Protobuf\n      Writing C:\\Users\\atiqc\\AppData\\Local\\Temp\\tmp1CED.tmp\n    info : Adding PackageReference for package 'Google.Protobuf' into project 'D:\\baynet\\dump\\dump.csproj'.\n    log  : Restoring packages for D:\\baynet\\dump\\dump.csproj...\n    info :   CACHE https://api.nuget.org/v3-flatcontainer/google.protobuf/index.json\n    info : Package 'Google.Protobuf' is compatible with all the specified frameworks in project 'D:\\baynet\\dump\\dump.csproj'.\n    info : PackageReference for package 'Google.Protobuf' version '3.6.0' added to file 'D:\\baynet\\dump\\dump.csproj'.\n\n    $ dotnet add package Newtonsoft.Json\n      Writing C:\\Users\\atiqc\\AppData\\Local\\Temp\\tmp36AF.tmp\n    info : Adding PackageReference for package 'Newtonsoft.Json' into project 'D:\\baynet\\dump\\dump.csproj'.\n    log  : Restoring packages for D:\\baynet\\dump\\dump.csproj...\n    info :   CACHE https://api.nuget.org/v3-flatcontainer/newtonsoft.json/index.json\n    info : Package 'Newtonsoft.Json' is compatible with all the specified frameworks in project 'D:\\baynet\\dump\\dump.csproj'.\n    info : PackageReference for package 'Newtonsoft.Json' version '11.0.2' added to file 'D:\\baynet\\dump\\dump.csproj'.\n\nLet's build,\n\n    $ dotnet build\n    Microsoft (R) Build Engine version 15.7.179.6572 for .NET Core\n    Copyright (C) Microsoft Corporation. All rights reserved.\n\n      Restoring packages for D:\\baynet\\dump\\dump.csproj...\n      Restore completed in 127.98 ms for D:\\baynet\\dump\\dump.csproj.\n      dump -\u003e D:\\baynet\\dump\\bin\\Debug\\netstandard2.0\\dump.dll\n\n    Build succeeded.\n        0 Warning(s)\n        0 Error(s)\n\n    Time Elapsed 00:00:01.44\n    \nThese demos are based on [demo source-code][5] provided by Jeffrey Rennie at Google during [South Bay .Net Google Cloud Platform event][6].\n\nAlso came as minor note, Google has added Kotlin to official language list; acquired [kaggle][8] and rewriting it in their official language stacks.\n\nFor who wanna have brief note at .net core intro: [.NET Standard - Demystifying .NET Core and .NET Standard - Immo Landwerth][9]. Feel free to reach me, atiqcs 'at' outlook 'dot' com if you encounter any issue while building these demos.\n\n\n  [1]: https://github.com/atiq-cs/net-core-google-cloud/tree/master/dump\n  [2]: https://github.com/atiq-cs/net-core-google-cloud/tree/master/translate\n  [3]: https://github.com/atiq-cs/net-core-google-cloud/tree/master/image\n  [4]: https://github.com/atiq-cs/net-core-google-cloud/tree/master/speech\n  [5]: https://github.com/SurferJeffAtGoogle/demos\n  [6]: https://www.meetup.com/BayNET/events/249062607/\n  [7]: https://cloud.google.com/docs/authentication/getting-started#setting_the_environment_variable\n  [8]: https://www.kaggle.com/\n  [9]: https://msdn.microsoft.com/en-us/magazine/mt842506.aspx\n  [10]: https://developers.google.com/api-client-library/dotnet/apis/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatiq-cs%2Fnet-core-google-cloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatiq-cs%2Fnet-core-google-cloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatiq-cs%2Fnet-core-google-cloud/lists"}