{"id":19448449,"url":"https://github.com/metaljase/wpfappfetchingapidataexample","last_synced_at":"2026-05-03T11:32:51.006Z","repository":{"id":168051246,"uuid":"643615708","full_name":"metaljase/WpfAppFetchingApiDataExample","owner":"metaljase","description":"Example of a .NET WPF app displaying data (using XAML \u0026 MVVM) fetched from an ASP.NET Web API.","archived":false,"fork":false,"pushed_at":"2024-03-08T15:58:39.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T08:54:31.745Z","etag":null,"topics":["api","architecture","asp-net","asp-net-core","asp-net-core-web-api","aspnetcore","csharp","dependency-injection","dotnet","dotnet-core","dotnetcore","mvvm","webapi","webapi-core","wpf","wpf-application","wpf-datagrid","wpf-ui"],"latest_commit_sha":null,"homepage":"","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/metaljase.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":"2023-05-21T18:13:06.000Z","updated_at":"2024-03-12T05:28:55.000Z","dependencies_parsed_at":"2024-11-10T16:29:37.587Z","dependency_job_id":"b071227b-3170-4d35-8915-aece4a9bceae","html_url":"https://github.com/metaljase/WpfAppFetchingApiDataExample","commit_stats":null,"previous_names":["metaljase/wpfappfetchingapidataexample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/metaljase/WpfAppFetchingApiDataExample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaljase%2FWpfAppFetchingApiDataExample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaljase%2FWpfAppFetchingApiDataExample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaljase%2FWpfAppFetchingApiDataExample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaljase%2FWpfAppFetchingApiDataExample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metaljase","download_url":"https://codeload.github.com/metaljase/WpfAppFetchingApiDataExample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaljase%2FWpfAppFetchingApiDataExample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32567287,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","architecture","asp-net","asp-net-core","asp-net-core-web-api","aspnetcore","csharp","dependency-injection","dotnet","dotnet-core","dotnetcore","mvvm","webapi","webapi-core","wpf","wpf-application","wpf-datagrid","wpf-ui"],"created_at":"2024-11-10T16:26:51.424Z","updated_at":"2026-05-03T11:32:50.989Z","avatar_url":"https://github.com/metaljase.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is WpfAppFetchingApiDataExample?\nWpfAppFetchingApiDataExample is an example of how a .NET WPF app can fetch data from an ASP.NET Web API and display it.\n\nThe .NET solution contains four projects, which include:\n- ASP.NET Web API, based on the weather forecast project included with Visual Studio as a template.\n- .NET WPF app to display the dummy weather forecast data from the API, using DI, MVVM and XAML.\n- Class library for the WPF app.\n- Class library for data access.\n\nNOTE: Exception handling, resilient HTTP calls, proper logging etc, have been omitted on purpose to simplify this example.\n\n# Setup instructions\n1) Clone the WpfAppFetchingApiDataExample repository.\n\n2) Open the .NET solution in Visual Studio 2022 (or a compatible alternative).\n\n3) Set both `WpfApiDataExample.DataManager.Api` and `WpfApiDataExample.UI.Wpf` as startup projects.\n\n4) Build the solution and run.\n\n5) The API should open in a web browser window.  Make a note of the URL, and stop the app.\n\n6) Open `appsettings.json` in `WpfApiDataExample.UI.Wpf` and update `ApiBaseUrl` with the URL from the previous step.\n\n7) Build the solution and run.\n\n8) The API should open in a web browser and also the WPF app should open displaying the weather forecast.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaljase%2Fwpfappfetchingapidataexample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetaljase%2Fwpfappfetchingapidataexample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaljase%2Fwpfappfetchingapidataexample/lists"}