{"id":13596289,"url":"https://github.com/CZEMacLeod/WebAPI2-Owin","last_synced_at":"2025-04-09T16:32:04.161Z","repository":{"id":122084336,"uuid":"504966347","full_name":"CZEMacLeod/WebAPI2-Owin","owner":"CZEMacLeod","description":"Example MSBuild.SDK.SystemWeb project for WebAPI2 hosted with Owin.","archived":false,"fork":false,"pushed_at":"2022-06-18T23:00:56.000Z","size":557,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-06T19:42:45.015Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/CZEMacLeod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2022-06-18T22:51:56.000Z","updated_at":"2023-06-16T18:32:44.000Z","dependencies_parsed_at":"2024-03-08T06:46:42.483Z","dependency_job_id":null,"html_url":"https://github.com/CZEMacLeod/WebAPI2-Owin","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/CZEMacLeod%2FWebAPI2-Owin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CZEMacLeod%2FWebAPI2-Owin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CZEMacLeod%2FWebAPI2-Owin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CZEMacLeod%2FWebAPI2-Owin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CZEMacLeod","download_url":"https://codeload.github.com/CZEMacLeod/WebAPI2-Owin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248067856,"owners_count":21042362,"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":[],"created_at":"2024-08-01T16:02:15.920Z","updated_at":"2025-04-09T16:31:59.151Z","avatar_url":"https://github.com/CZEMacLeod.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# WebAPI2 Owin\n\nExample project using [MSBuild.SDK.SystemWeb](https://github.com/CZEMacLeod/MSBuild.SDK.SystemWeb) to show WebAPI2 with Owin.\n\nThis is based on an Empty template from the SDK.\n\nThe Values controller was added from an example ASP.Net4 project.\n\nOwin was added using with it set to host on SystemWeb - `Microsoft.Owin.Host.SystemWeb`\n\nWebAPI2 was added to host in Owin - `Microsoft.AspNet.WebApi.Owin`.\n\nNewtonsoft.Json was directly added to the project to ensure the newest version.\n\nThe latest release version of `Microsoft.Net.Compilers.Toolset` was selected by adding the \n```xml\n\u003cMicrosoftNetCompilersToolset_Version\u003e4.2.0\u003c/MicrosoftNetCompilersToolset_Version\u003e\n```\nline to the project file.\n\nThe web.config was set to automatically add binding redirects (required for `Microsoft.Owin` and `Newtonsoft.Json`) by adding the\n```xml\n    \u003cGeneratedBindingRedirectsAction\u003eOverwrite\u003c/GeneratedBindingRedirectsAction\u003e\n```\nline to the project file.\n\nThe values controller was tweaked to show the identity of the accessing user using Owin Authentication.\n\nThe `launchSettings.json` file was tweaked to:\n- Run in 64bit mode\n- Launch the api/values url to hit the controller's get method.\n- Enable windows authentication to use the logged in user to show in the values controller.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCZEMacLeod%2FWebAPI2-Owin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCZEMacLeod%2FWebAPI2-Owin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCZEMacLeod%2FWebAPI2-Owin/lists"}