{"id":20605229,"url":"https://github.com/arnab-developer/dotnet-cli","last_synced_at":"2026-04-25T03:04:45.691Z","repository":{"id":68915092,"uuid":"338839274","full_name":"Arnab-Developer/dotnet-cli","owner":"Arnab-Developer","description":"Create .NET projects with Visual Studio and CLI","archived":false,"fork":false,"pushed_at":"2021-04-21T07:40:56.000Z","size":680,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-17T02:24:21.416Z","etag":null,"topics":["dot-net-5","dotnet-cli","visual-studio"],"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/Arnab-Developer.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-14T15:44:53.000Z","updated_at":"2021-12-05T05:48:16.000Z","dependencies_parsed_at":"2023-03-24T11:19:04.810Z","dependency_job_id":null,"html_url":"https://github.com/Arnab-Developer/dotnet-cli","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/Arnab-Developer%2Fdotnet-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2Fdotnet-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2Fdotnet-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2Fdotnet-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arnab-Developer","download_url":"https://codeload.github.com/Arnab-Developer/dotnet-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242250932,"owners_count":20096895,"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":["dot-net-5","dotnet-cli","visual-studio"],"created_at":"2024-11-16T09:27:12.924Z","updated_at":"2026-04-25T03:04:40.648Z","avatar_url":"https://github.com/Arnab-Developer.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Create .NET projects with Visual Studio and CLI\n\n![build test created with vs](https://github.com/Arnab-Developer/dotnet-cli/workflows/build%20test%20created%20with%20vs/badge.svg)\n![build test created with cli](https://github.com/Arnab-Developer/dotnet-cli/workflows/build%20test%20created%20with%20cli/badge.svg)\n\nThere are two ways to create projects in .NET, one is using Visual Studio and another is CLI. In this repo there is a folder named 'CreatedWithVs' in that all the projects are created with Visual Studio 2019 and another folder named 'CreatedWithCli' in that all the projects are created with CLI.\n\n## Solution structure\n\n* Class library\n* Web application in MVC\n* Unit test for class library\n* Unit test for web application\n\n## Tech stack\n\n* .NET 5\n* C# 9\n* xUnit for unit testing\n* Visual Studio 2019\n* .NET CLI\n\n## .NET CLI commands\n\nThe following commands are used to build the projects in 'CreatedWithCli' folder.\n\n```\nmkdir CreatedWithCli\n\ndotnet new sln --name CreatedWithCli\n\nmkdir CreatedWithCli.Lib\ncd CreatedWithCli.Lib\ndotnet new classlib\n\ncd..\n\nmkdir CreatedWithCli.LibTest\ncd CreatedWithCli.LibTest\ndotnet new xunit\ndotnet add reference ..\\CreatedWithCli.Lib\\CreatedWithCli.Lib.csproj\n\ncd..\n\nmkdir CreatedWithCli.WebApp\ncd CreatedWithCli.WebApp\ndotnet new mvc\ndotnet add reference ..\\CreatedWithCli.Lib\\CreatedWithCli.Lib.csproj\n\ncd..\n\nmkdir CreatedWithCli.WebAppTest\ncd CreatedWithCli.WebAppTest\ndotnet new xunit\ndotnet add reference ..\\CreatedWithCli.WebApp\\CreatedWithCli.WebApp.csproj\ndotnet add package Moq\n\ncd..\n\ndotnet sln add CreatedWithCli.Lib\\CreatedWithCli.Lib.csproj\ndotnet sln add CreatedWithCli.LibTest\\CreatedWithCli.LibTest.csproj\ndotnet sln add CreatedWithCli.WebApp\\CreatedWithCli.WebApp.csproj\ndotnet sln add CreatedWithCli.WebAppTest\\CreatedWithCli.WebAppTest.csproj\n\ndotnet restore\n\ndotnet build\n\ndotnet test\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnab-developer%2Fdotnet-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farnab-developer%2Fdotnet-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnab-developer%2Fdotnet-cli/lists"}