{"id":18765770,"url":"https://github.com/andersonshatch/contrast-dotnet5-helloworld","last_synced_at":"2025-12-08T00:30:13.705Z","repository":{"id":80714493,"uuid":"351448483","full_name":"andersonshatch/Contrast-Dotnet5-HelloWorld","owner":"andersonshatch","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-25T13:36:53.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-29T06:09:24.130Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/andersonshatch.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":"2021-03-25T13:35:18.000Z","updated_at":"2022-10-05T16:58:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"a09e13c9-b27e-4c29-b3da-baa8c9d7a3f1","html_url":"https://github.com/andersonshatch/Contrast-Dotnet5-HelloWorld","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/andersonshatch%2FContrast-Dotnet5-HelloWorld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersonshatch%2FContrast-Dotnet5-HelloWorld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersonshatch%2FContrast-Dotnet5-HelloWorld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersonshatch%2FContrast-Dotnet5-HelloWorld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andersonshatch","download_url":"https://codeload.github.com/andersonshatch/Contrast-Dotnet5-HelloWorld/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239665174,"owners_count":19676883,"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-11-07T18:35:09.062Z","updated_at":"2025-12-08T00:30:13.659Z","avatar_url":"https://github.com/andersonshatch.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hello World Dotnet 5 App with Contrast in RedHat UBI Container\n\n## Requirements\n- Docker\n- Dotnet 5 local install\n\n## Configuration\nEnter values for your Contrast agent in contrast.env\n\n## Steps to build \u0026 run in container\n\n1. Clone repository\n1. Build application: `dotnet publish dotnet5.csproj -f net5.0 -c Release`\n1. Build container: `docker build . --iidfile .image-id`\n1. Run container: `docker run -p 8080:8080 --env-file=contrast.env $(\u003c.image-id)`\n\nThere is a script `run.sh` included to run all these steps.\n\n## Output\n\nIf successful, you should see output similar to:\n\n```\n0x7f0573d095e6The Contrast .NET agent collects usage data in order to help us improve compatibility and security coverage. The data is anonymous and does not contain application data. It is collected by Contrast and is never shared. You can opt-out of telemetry by setting the CONTRAST_DOTNET_TELEMETRY_OPTOUT environment variable to '1' or 'true'. Read more about Contrast .NET agent telemetry: https://docs.contrastsecurity.com/en/-net-telemetry.html\n           ___                             \n       _.-|   |          |\\__/,|   (`\\     Contrast .NET Core Agent 1.8.1.0\n      [   |   |          |o o  |__ _) )    \n       `-.|___|        _.( T   )  `  /     Contrast UI: http://host.docker.internal:6080\n        .--'-`-.     _((_ `^--' /_\u003c  \\     Mode:        Assess\n      .+|______|__.-||__)`-'(((/  (((/     \n```\n\n\nIf you see this instead, check your `contrast.env` for errors\n\n```\n---Running image---\n0x7fdbb06675e6\n  Zzzz.....     |\\__/,|   (`\\   Contrast .NET Core Agent 1.8.1.0\n                |_ _  |.--.) )  \n                ( T   )     /   Failed to initialize.\n               (((^_(((/(((_\u003e   \n                                Please check the logs for errors.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersonshatch%2Fcontrast-dotnet5-helloworld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandersonshatch%2Fcontrast-dotnet5-helloworld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersonshatch%2Fcontrast-dotnet5-helloworld/lists"}