{"id":19654260,"url":"https://github.com/aimenux/dockernetcoredemo","last_synced_at":"2026-05-15T09:04:05.787Z","repository":{"id":116559983,"uuid":"443897786","full_name":"aimenux/DockerNetCoreDemo","owner":"aimenux","description":"Dockerizing .NET Core Apps","archived":false,"fork":false,"pushed_at":"2025-02-24T11:27:43.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-24T12:33:04.906Z","etag":null,"topics":["console-app","docker","net90","webapi-core","worker-service"],"latest_commit_sha":null,"homepage":"","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/aimenux.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-03T00:07:12.000Z","updated_at":"2025-02-24T11:27:46.000Z","dependencies_parsed_at":"2023-07-08T16:00:52.768Z","dependency_job_id":null,"html_url":"https://github.com/aimenux/DockerNetCoreDemo","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/aimenux%2FDockerNetCoreDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimenux%2FDockerNetCoreDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimenux%2FDockerNetCoreDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimenux%2FDockerNetCoreDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aimenux","download_url":"https://codeload.github.com/aimenux/DockerNetCoreDemo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240962706,"owners_count":19885520,"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":["console-app","docker","net90","webapi-core","worker-service"],"created_at":"2024-11-11T15:16:47.220Z","updated_at":"2026-05-15T09:04:00.746Z","avatar_url":"https://github.com/aimenux.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![.NET](https://github.com/aimenux/DockerNetCoreDemo/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/aimenux/DockerNetCoreDemo/actions/workflows/ci.yml)\n\n# DockerNetCoreDemo\n```\nDockerizing .NET Core Apps\n```\n\nIn this repo, i m using docker in order to build several types of .net core applications :\n\n\u003e :one: App_01 : Console application\n\u003e\n\u003e :two: App_02 : Worker application\n\u003e\n\u003e :three: App_03 : WebApi application\n\n:rocket: To run code, type the following commands in your favorite terminal :\n\u003e\n\u003e :zap: For App_01 :\n\u003e - `docker build -t app01-image -f .\\App_01\\Dockerfile .`\n\u003e - `docker run --rm --name app01 -it app01-image`\n\u003e\n\u003e :zap: For App_02 :\n\u003e - `docker build -t app02-image -f .\\App_02\\Dockerfile .`\n\u003e - `docker run --rm --name app02 -it app02-image`\n\u003e\n\u003e :zap: For App_03 :\n\u003e - `docker build -t app03-image -f .\\App_03\\Dockerfile .`\n\u003e - `docker run --rm -p 5000:5000 -p 5001:5001 -e ASPNETCORE_ENVIRONMENT=Development -e ASPNETCORE_URLS=\"http://+:5000\" --name app03 -it app03-image`\n\u003e - `go to https://localhost:5000/swagger/index.html`\n\u003e\n\u003e\n:rocket: To clean docker resources, type the following commands :\n\u003e - `docker stop $(docker ps -aq --filter \"name=app0*\")`\n\u003e - `docker rm -f $(docker ps -aq --filter \"name=app0*\")`\n\u003e - `docker rmi -f $(docker images -aq --filter \"reference=app0*\")`\n\n**`Tools`** : net 9.0, docker","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimenux%2Fdockernetcoredemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faimenux%2Fdockernetcoredemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimenux%2Fdockernetcoredemo/lists"}