{"id":20215608,"url":"https://github.com/casdoor/casdoor-dotnet-winform-example","last_synced_at":"2025-03-03T11:19:49.674Z","repository":{"id":104353697,"uuid":"522247104","full_name":"casdoor/casdoor-dotnet-winform-example","owner":"casdoor","description":".NET WinForms desktop app example for Casdoor","archived":false,"fork":false,"pushed_at":"2023-11-13T06:46:53.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-13T22:16:15.047Z","etag":null,"topics":["auth","authentication","authn","casdoor","desktop","dotnet","iam","oauth","oidc","sso","winform","winforms"],"latest_commit_sha":null,"homepage":"https://github.com/casdoor/casdoor","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/casdoor.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}},"created_at":"2022-08-07T15:15:11.000Z","updated_at":"2024-04-04T18:33:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"72d23e37-ed0d-4f48-a221-9fa624077ddf","html_url":"https://github.com/casdoor/casdoor-dotnet-winform-example","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/casdoor%2Fcasdoor-dotnet-winform-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casdoor%2Fcasdoor-dotnet-winform-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casdoor%2Fcasdoor-dotnet-winform-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casdoor%2Fcasdoor-dotnet-winform-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casdoor","download_url":"https://codeload.github.com/casdoor/casdoor-dotnet-winform-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241652964,"owners_count":19997578,"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":["auth","authentication","authn","casdoor","desktop","dotnet","iam","oauth","oidc","sso","winform","winforms"],"created_at":"2024-11-14T06:23:32.691Z","updated_at":"2025-03-03T11:19:49.648Z","avatar_url":"https://github.com/casdoor.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# casdoor-dotnet-winform-example\n\nThis project was bootstrapped with [Windows Forms](https://github.com/dotnet/winforms) and [dotnet](https://www.dot.net/).\n\n## Prerequisites\n\n[dotnet6 sdk](https://dotnet.microsoft.com/en-us/download) or [dotnet5 sdk](https://dotnet.microsoft.com/en-us/download/dotnet/5.0)\n\n[webview2 runtime](https://developer.microsoft.com/zh-cn/microsoft-edge/webview2/#download-section) (It's already preinstalled in your windows generally)\n\n## Init example\n\nYou need to init requires 5 parameters, which are all string type:\n\n| Name         | Description                                                                                             | File                  |\n| ------------ | ------------------------------------------------------------------------------------------------------- | --------------------- |\n| Domain       | Your Casdoor server host/domain                                                                         | `CasdoorVariables.cs` |\n| ClientId     | The Client ID of your Casdoor application                                                               | `CasdoorVariables.cs` |\n| AppName      | The name of your Casdoor application                                                                    | `CasdoorVariables.cs` |\n| CallbackUrl  | The path of the callback URL for your Casdoor application, will be `casdoor://callback` if not provided | `CasdoorVariables.cs` |\n| ClientSecret | The Client Secret of your Casdoor application                                                           | `CasdoorVariables.cs` |\n\nIf you don't set these parameters, this project will use the [Casdoor online demo](https://door.casdoor.com) as the defult Casdoor server and use the [Casnode](https://door.casdoor.com/applications/app-casnode) as the default Casdoor application.\n\n## How to run it\n\n### Visual Studio\n\n1. Open `casdoor-dotnet-winform-example.sln`\n2. Press `Ctrl + F5` to start\n\n### Command line\n\n1. `cd casdoor-dotnet-winform-example`\n2. `dotnet run --framework net6.0-windows` or `dotnet run --framework net5.0-windows`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasdoor%2Fcasdoor-dotnet-winform-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasdoor%2Fcasdoor-dotnet-winform-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasdoor%2Fcasdoor-dotnet-winform-example/lists"}