{"id":24570896,"url":"https://github.com/rimutec/dev-container-dotnet","last_synced_at":"2025-04-23T00:45:30.974Z","repository":{"id":124400425,"uuid":"424044679","full_name":"RimuTec/dev-container-dotnet","owner":"RimuTec","description":"An opinionated dev container for .NET (C#, F#, etc.) and VS Code ","archived":false,"fork":false,"pushed_at":"2025-03-16T18:38:10.000Z","size":43,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T00:45:21.883Z","etag":null,"topics":["docker","dotnet","template-repository","vscode"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/RimuTec.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":"2021-11-03T00:46:48.000Z","updated_at":"2025-03-16T18:38:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff3efef2-dc2a-4bbf-bd0a-992bafb9208f","html_url":"https://github.com/RimuTec/dev-container-dotnet","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RimuTec%2Fdev-container-dotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RimuTec%2Fdev-container-dotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RimuTec%2Fdev-container-dotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RimuTec%2Fdev-container-dotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RimuTec","download_url":"https://codeload.github.com/RimuTec/dev-container-dotnet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250348873,"owners_count":21415907,"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":["docker","dotnet","template-repository","vscode"],"created_at":"2025-01-23T17:58:34.201Z","updated_at":"2025-04-23T00:45:30.961Z","avatar_url":"https://github.com/RimuTec.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dev-container-dotnet\n\nThis is a template repository for creating new repositories that use the same directory structure and files as this one.\n\nThis environment, which uses a dev container, is intended to be used for .NET 6.0 development using VS Code.\n\n## Prerequisites\n\nPrerequisites (most recent stable version unless stated otherwise):\n- VS Code\n- Docker Desktop (MacOS, Windows) or docker engine (Linux)\n- Remote development extension\n- git client\n\n## Using this Repository\n\n1. Use the button \"Use this template\" in the top-right corner of this page when shown at https://github.com/RimuTec/dev-container-dotnet. Or just clone or fork this repository.\n1. In a terminal, e.g., `bash`, and at the root of the cloned repo execute the following:\n   ```bash\n   code .\n   ```\n1. At this point you may want to review the port numbers and service name(s) specified in `docker-compose.yml` and apply appropriate changes if required. Typically you will need to make changes when you have used this template for more than one repository, possibly even at first use.\n1. Use Ctrl+Shift+P to open command palette then enter or select `remote-containers: reopen in dev container`. This will build the dev container and download docker images as needed, then start the dev container and launch VS Code which remotely connects to the dev container. The repository clone is mounted into the dev container at path `/work`.\n\nThe initial start may take several minutes if container base images need to be pulled first. Equally if you upgrade Docker Desktop (Windows, MacOS) or Docker Engine (Linux), the first startup after the upgrade may take several minutes as well. If the images are already available, startup should be less than 1 minute (about 10 seconds on my machine).\n\n\n## Rebase on Sync\n\nThis template sync's with rebase as it is designed for trunk-based development. If you use a different branch management approach or you prefer a different sync behavior, change the setting in `.vscode/settings.json` as required. You may also want to change the code in file `.devcontainer/init.sh` to match your preferred sync behavior.\n\n## Creating Solution and Projects\n\nBefore you start using the template but after you have cloned it, I'd recommend renaming all occurances of `dotnet-demo` in this repository to something that is more meaningful in your context.\n\nUse commands such as `dotnet new` to create the solution file and one or more project files.\n\n## Version Information\n\nThis version of the repo is for .NET SDK version 8.0.407. This includes these .NET runtimes:\n- Microsoft.AspNetCore.App 8.0.14\n- Microsoft.NETCore.App 8.0.14\n\nYou can use a different version of the .NET SDK by choosing a different base image in file `Dockerfile`. For information about available base images, please see https://hub.docker.com/_/microsoft-dotnet-sdk/\n\nIf you change the base image for the dev container, you also need to adjust the target framework in your `*.csproj` files (or equivalent). You may also need to adjust any configurations that you may have in the `.vscode/launch.json` (if you created any).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frimutec%2Fdev-container-dotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frimutec%2Fdev-container-dotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frimutec%2Fdev-container-dotnet/lists"}