{"id":20859282,"url":"https://github.com/totaro/httpclientdemoapp","last_synced_at":"2026-07-07T04:31:02.500Z","repository":{"id":176864232,"uuid":"457820582","full_name":"totaro/HttpClientDemoApp","owner":"totaro","description":"HttpClient REST API calls - C# ASP.NET MVC Blazor/Razor pages - Demo Hub for different coding experiments: HttpClientDemo","archived":false,"fork":false,"pushed_at":"2022-02-13T13:42:38.000Z","size":335,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T14:15:27.370Z","etag":null,"topics":["asp-net","asp-net-mvc","csharp","httpclient","razor-pages","rest-api"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/totaro.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-02-10T14:47:35.000Z","updated_at":"2022-02-13T13:01:26.000Z","dependencies_parsed_at":"2023-07-05T04:03:26.052Z","dependency_job_id":null,"html_url":"https://github.com/totaro/HttpClientDemoApp","commit_stats":null,"previous_names":["totaro/httpclientdemoapp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/totaro/HttpClientDemoApp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totaro%2FHttpClientDemoApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totaro%2FHttpClientDemoApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totaro%2FHttpClientDemoApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totaro%2FHttpClientDemoApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/totaro","download_url":"https://codeload.github.com/totaro/HttpClientDemoApp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totaro%2FHttpClientDemoApp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281172750,"owners_count":26455681,"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","status":"online","status_checked_at":"2025-10-26T02:00:06.575Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["asp-net","asp-net-mvc","csharp","httpclient","razor-pages","rest-api"],"created_at":"2024-11-18T04:49:18.755Z","updated_at":"2025-10-26T21:06:28.759Z","avatar_url":"https://github.com/totaro.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HttpClientDemoApp\nDemo Hub for different coding experiments: HttpClientDemo\n\nC#/ASP.NET MVC Blazor/Razor pages\n\n.NET 6.0 framework\nusing NuGet Package: System.Net.Http.Json 6.0.0\n\n\u003cb\u003eHttpClient REST API for 2 different calls:\u003c/b\u003e \n\n- 5 days weatherforecast (weather state, daily low/high degrees) for Helsinki, Finland from https://www.metaweather.com/api/location/565346/\n\nModels:\n\\HttpClientDemo\\Models\\WeatherForecastModel.cs\n\\HttpClientDemo\\Models\\DayForecastModel.cs\n\nPage/HttpClient: \n\\HttpClientDemo\\Pages\\WeatherData.razor (try..catch response)\n\nBaseAddress configuration for weatherdata (\\HttpClientDemo\\Startup.cs)\n\nstring uri = Configuration.GetValue\u003cstring\u003e(\"MetaAPI\");\nservices.AddHttpClient(\"meta\", c =\u003e\n{                \nc.BaseAddress = new Uri(uri);\n});\n\nBaseAddress name configuration (\\HttpClientDemo\\appsettings.json)\n \"MetaAPI\": \"https://www.metaweather.com/api/\" \n\n-------------------------------------------------------------------------------------\n  \n- Current Bitcoin value (Euro, USD, GBP and JPY) currencies with 24 hours volume and change from https://api.coingecko.com/api/\n  \nModel: \n\\HttpClientDemo\\Models\\CryptoCurrentModel.cs\n \nPage/HttpClient:\n\\HttpClientDemo\\Pages\\CryptoData.razor (if..else response) \n\n\n\n\u003cimg src=\"screenshots/screenshot_weather.png\"\u003e\n\n\u003cimg src=\"screenshots/screenshot_crypto.png\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftotaro%2Fhttpclientdemoapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftotaro%2Fhttpclientdemoapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftotaro%2Fhttpclientdemoapp/lists"}