{"id":18298696,"url":"https://github.com/fusionauth/fusionauth-example-dotnet-windowsform-api","last_synced_at":"2026-03-05T01:34:56.086Z","repository":{"id":186203330,"uuid":"665235002","full_name":"FusionAuth/fusionauth-example-dotnet-windowsform-api","owner":"FusionAuth","description":"Sample windows form application utilizing the FusionAuth APIs in C#.","archived":false,"fork":false,"pushed_at":"2026-02-06T22:46:16.000Z","size":184,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2026-02-07T09:41:18.183Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FusionAuth.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-11T18:39:37.000Z","updated_at":"2025-07-31T08:00:35.000Z","dependencies_parsed_at":"2024-11-05T15:07:19.283Z","dependency_job_id":"d026897a-f8d8-4cb2-a907-cffea91aa8dd","html_url":"https://github.com/FusionAuth/fusionauth-example-dotnet-windowsform-api","commit_stats":null,"previous_names":["fusionauth/fusionauth-example-dotnet-windowsform-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FusionAuth/fusionauth-example-dotnet-windowsform-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-dotnet-windowsform-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-dotnet-windowsform-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-dotnet-windowsform-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-dotnet-windowsform-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FusionAuth","download_url":"https://codeload.github.com/FusionAuth/fusionauth-example-dotnet-windowsform-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-dotnet-windowsform-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30104644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T01:06:53.091Z","status":"ssl_error","status_checked_at":"2026-03-05T01:02:35.679Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-11-05T15:06:45.582Z","updated_at":"2026-03-05T01:34:51.075Z","avatar_url":"https://github.com/FusionAuth.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example Windows Forms Application Using FusionAuth APIs\n\n## Considerations\n- This is a sample Windows Form application utilizing the FusionAuth APIs in C#.\n\t- This does not run on Visual Studio for Mac.\n- This is a sample application written for a blog post that utilizes the FusionAuth APIs.\n\n## Setup\n- You will need a working version of a FusionAuth Server to point the application to. \n\t- In the root directory of this repo you'll find a Docker compose file (docker-compose.yml) and an environment variables configuration file (.env).  Assuming you have Docker installed on your machine, you can stand up FusionAuth on your machine with:\n\t\t```\n\t\tdocker-compose up -d\n\t\t```\n\t\t- The credentials for the instance:\n\t\t\t- Url: \t[http://localhost:9011](http://localhost:9011) \n\t\t\t- Admin Username: admin@example.com\n\t\t\t- Admin Password: password\n\t\t\t  \n\t\t\u003e **_Note:_** If you ever want to reset the FusionAuth system, delete the volumes created by docker-compose by executing docker-compose down -v, then re-run docker-compose up -d.\n\n\t- See [How to Run FusionAuth](https://fusionauth.io/docs/) in the FusionAuth documentation for alternatives.\n- If you are using the docker image associated with this project, you should not have to update anything.  However, if you are using another instance of a FusionAuth you will need to update the `App.config` file to work with your environment.\n\t- FusionAuthUrl is the location of the FusionAuth instance you are running.\n\t\t- This will be [http://localhost:9011](http://localhost:9011) if you are running the docker image above. \n\t- FusionAuthAPIKey is the API key for the instance .\n\t\t- See [Managing API Keys](https://fusionauth.io/docs/v1/tech/apis/authentication#managing-api-keys) in the FusionAuth documentation if needed.\n\n## Usage\nOnce the `App.config` settings are configured correctly the application will be able to connect to the FusionAuth server specified.  \n\nThis application can do 3 things.\n\n- Create User\n\t- Enter the user information for the user and click the `Create User` button.\n\t\t- The user info has been pre-populated and can be changed\n- Delete User\n\t- Click the `Populate Users` button to fill the combo box with users.\n\t- Select a user.\n\t- Click the `Delete User` button.\n- Add a user to Group\n\t- Click the `Populate Users and Groups` button to fill the combo box with users.\n\t\t- You will need to create groups in the FusionAuth Admin Interface before they will populate in the application.\n\t- Select a group you want to add the user to and then select a user.\n\t- Click the `Add User to Group` button.\n\nScreenshot:\n\n![Windows Form Demo Screenshot](https://github.com/FusionAuth/fusionauth-example-dotnet-windowsform-api/blob/main/img/FusionAuth%20User%20API%20Demo.png \"Screenshot\")\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-example-dotnet-windowsform-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffusionauth%2Ffusionauth-example-dotnet-windowsform-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-example-dotnet-windowsform-api/lists"}