{"id":15422582,"url":"https://github.com/heaths/issue25648","last_synced_at":"2026-01-27T01:31:36.013Z","repository":{"id":145642722,"uuid":"444938022","full_name":"heaths/Issue25648","owner":"heaths","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-07T22:51:54.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-26T06:58:08.055Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Bicep","has_issues":false,"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/heaths.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-01-05T20:15:32.000Z","updated_at":"2022-01-07T18:51:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e09612b-2e30-4080-abf4-338ac7498615","html_url":"https://github.com/heaths/Issue25648","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"451e114f7003ae13143ca797c3cfa6b7b6fd52e2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/heaths/Issue25648","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2FIssue25648","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2FIssue25648/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2FIssue25648/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2FIssue25648/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heaths","download_url":"https://codeload.github.com/heaths/Issue25648/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2FIssue25648/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28795468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T01:07:07.743Z","status":"ssl_error","status_checked_at":"2026-01-27T01:07:06.974Z","response_time":59,"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":[],"created_at":"2024-10-01T17:38:58.547Z","updated_at":"2026-01-27T01:31:35.994Z","avatar_url":"https://github.com/heaths.png","language":"Bicep","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample ASP.NET Web API\n\nThis sample is an attempt to reproduce [Azure/azure-sdk-for-net#25648](https://github.com/Azure/azure-sdk-for-net/issues/25648).\n\n## Getting started\n\nTo deploy the necessary resources,\n\n1. Create a resource group:\n\n   ```bash\n   az group create -l westus2 -n issue25648\n   ```\n\n2. (Optional) If you'll be running the sample locally, make sure you're logged in as your user principal (or some other service principal).\n   If using a user principal, you'll need your object ID:\n\n   ```bash\n   az ad user show --id user@domain.com --query objectId --output tsv\n   ```\n\n3. Deploy the Bicep template, making sure you have Bicep installed:\n\n   ```bash\n   az bicep install # or upgrade\n   az deployment group create -g issue25648 -f azuredeploy.bicep -p principalId='\u003cOID from above if needed\u003e' principalType='\u003cUser | ServicePrincipal (default)\u003e'\n   ```\n\n## Running locally\n\nIf running locally and you successfully deployed resources with the principalId specified as shown above, you need to add connection details.\n\nIn Visual Studio with the project loaded,\n\n1. Right-click on the project and select **Managed User Secrets**.\n\n2. Using the output values from the deployment above, define the following secret variables using appropriate output values:\n\n   ```json\n   {\n     \"APPCONFIG_URI\": \"https://hiat37inbdo5sconfig.azconfig.io\",\n     \"KEYVAULT_URI\": \"https://kvhiat37inbdo5s.vault.azure.net/\"\n   }\n   ```\n\n3. Press **F5** to run the project under the debugger.\n\n## Deploy\n\nTo deploy this to the web site you created above, in Visual Studio with the project loaded:\n\n1. Right-click on the project and select **Publish...**.\n\n2. Select **Azure** and click **Next**.\n\n3. Select **Azure App Service (Linux)** and click **Next**.\n\n4. Find the App Service instance created above, select it, and click **Next**.\n\n5. For \"API Management\", check **Skip this step** and click **Next**.\n\n6. Select \"Publish (generates pubxml file)\" and click **Finish**.\n\n7. After the publishing profile is created, click the **Publish** button.\n\nAfter a moment, the site is deployed and built, and after a few more minutes the web site should be available. Since the site is built for production, there may be no Swagger UI so you'll need to type the `/secrets` or `/secrets/SampleSecret` path in the URI to see anything.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheaths%2Fissue25648","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheaths%2Fissue25648","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheaths%2Fissue25648/lists"}