{"id":18254105,"url":"https://github.com/testcontainers/tc-guide-testing-aspnet-core","last_synced_at":"2025-04-04T17:30:39.609Z","repository":{"id":152308446,"uuid":"616840098","full_name":"testcontainers/tc-guide-testing-aspnet-core","owner":"testcontainers","description":"Getting started with Testcontainers in an ASP.NET Core web app","archived":false,"fork":false,"pushed_at":"2023-05-02T05:40:31.000Z","size":27,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"main","last_synced_at":"2024-05-22T18:20:21.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","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/testcontainers.png","metadata":{"files":{"readme":"README.adoc","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,"dei":null}},"created_at":"2023-03-21T07:33:17.000Z","updated_at":"2024-03-05T02:06:58.000Z","dependencies_parsed_at":"2023-05-18T22:46:23.113Z","dependency_job_id":null,"html_url":"https://github.com/testcontainers/tc-guide-testing-aspnet-core","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"444d7d764b27ad59cf1f8c68ef3151ad000068f3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":"testcontainers/tc-guide-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testcontainers%2Ftc-guide-testing-aspnet-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testcontainers%2Ftc-guide-testing-aspnet-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testcontainers%2Ftc-guide-testing-aspnet-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testcontainers%2Ftc-guide-testing-aspnet-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testcontainers","download_url":"https://codeload.github.com/testcontainers/tc-guide-testing-aspnet-core/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246753880,"owners_count":20828229,"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-05T10:10:28.478Z","updated_at":"2025-04-04T17:30:39.589Z","avatar_url":"https://github.com/testcontainers.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Testing an ASP.NET Core web app\n\nThis is sample code for [Testing an ASP.NET Core web app](https://testcontainers.com/guides/testing-an-aspnet-core-web-app) guide.\n\n== 1. Setup Environment\n\nMake sure you have .NET 7 and a [compatible Docker environment](https://www.testcontainers.org/supported_docker_environment/) installed.\n\nFor example:\n\n[source,shell]\n----\n$ dotnet --list-sdks\n7.0.104 [C:\\Program Files\\dotnet\\sdk]\n$ docker version\n...\nServer: Docker Desktop 4.12.0 (85629)\n Engine:\n  Version:          20.10.17\n  API version:      1.41 (minimum version 1.12)\n  Go version:       go1.17.11\n...\n----\n\n== 2. Setup Project\n\n* Clone the repository\n[source,shell]\n----\ngit clone https://github.com/testcontainers/tc-guide-testing-aspnet-core.git\ncd tc-guide-testing-aspnet-core\n----\n\n* Open the **tc-guide-testing-aspnet-core** project in your favorite IDE.\n\n== 3. Run Tests\n\nRun the command to run the tests.\n\n[source,shell]\n----\n$ dotnet test ./RazorPagesProject.sln\n----\n\nThe tests should pass.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestcontainers%2Ftc-guide-testing-aspnet-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftestcontainers%2Ftc-guide-testing-aspnet-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestcontainers%2Ftc-guide-testing-aspnet-core/lists"}