{"id":19641817,"url":"https://github.com/layzeedk/github-actions-dotnet","last_synced_at":"2026-06-09T13:31:40.156Z","repository":{"id":51656904,"uuid":"365039618","full_name":"LayZeeDK/github-actions-dotnet","owner":"LayZeeDK","description":".NET workspace generated using the \"dotnet\" CLI with a GitHub Actions CI workflow.","archived":false,"fork":false,"pushed_at":"2021-05-10T22:47:08.000Z","size":29,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-26T23:16:10.884Z","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/LayZeeDK.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}},"created_at":"2021-05-06T21:17:56.000Z","updated_at":"2021-05-10T22:45:19.000Z","dependencies_parsed_at":"2022-08-22T21:00:39.390Z","dependency_job_id":null,"html_url":"https://github.com/LayZeeDK/github-actions-dotnet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LayZeeDK/github-actions-dotnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LayZeeDK%2Fgithub-actions-dotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LayZeeDK%2Fgithub-actions-dotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LayZeeDK%2Fgithub-actions-dotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LayZeeDK%2Fgithub-actions-dotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LayZeeDK","download_url":"https://codeload.github.com/LayZeeDK/github-actions-dotnet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LayZeeDK%2Fgithub-actions-dotnet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34110011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11T14:10:31.138Z","updated_at":"2026-06-09T13:31:40.139Z","avatar_url":"https://github.com/LayZeeDK.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# .NET workspace using GitHub Actions\n\nASP.NET Core MVC workspace generated using the `dotnet` CLI.\n\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=LayZeeDK_github-actions-dotnet\u0026metric=coverage)](https://sonarcloud.io/dashboard?id=LayZeeDK_github-actions-dotnet)\n\n# Generate workspace\n\n```powershell\n# Generate .gitignore with .NET settings\ndotnet new gitignore\n# Generate Visual Studio solution configuration\ndotnet new sln\n# Rename solution configuration\nmv github-actions-dotnet.sln Lars.sln\n```\n\n## Generate web API project\n\n```powershell\n# Create project folder\nmkdir Lars.WeatherApi\n# Generate ASP.NET Core Web API project\ndotnet new webapi --output Lars.WeatherApi\n# Add project to solution\ndotnet sln github-actions-dotnet.sln add ./Lars.WeatherApi/Lars.WeatherApi.csproj\n```\n\n## Generate testing project\n\n```powershell\n# Create project folder\nmkdir Lars.WeatherApi.Tests\n# Generate ASP.NET Core Web API project\ndotnet new xunit --output Lars.WeatherApi.Tests\n# Add project to solution\ndotnet sln github-actions-dotnet.sln add ./Lars.WeatherApi.Tests/Lars.WeatherApi.Tests.csproj\n# Add ASP.NET Core MVC testing package\ndotnet add ./Lars.WeatherApi.Tests/Lars.WeatherApi.Tests.csproj package Microsoft.AspNetCore.Mvc.Testing\n```\n\n## Add project reference\n\n```powershell\n# Add reference from testing project to web API project\ndotnet add Lars.WeatherApi.Test/Lars.WeatherApi.Tests.csproj reference Lars.WeatherApi/Lars.WeatherApi.csproj\n```\n\n## Generate GitHub Actions CI workflow\n\n```powershell\n# Install GitHub Actions .NET template\ndotnet new -i TimHeuer.GitHubActions.Templates\n# Generate GitHub Actions CI workflow\ndotnet new workflow\n```\n\n## SonarCloud\n\n```powershell\n# Add Coverlet builder\ndotnet add ./Lars.WeatherApi.Tests/Lars.WeatherApi.Tests.csproj package coverlet.msbuild\n```\n\n## Formatting\n\n```powershell\n# Install .NET template\ndotnet new -i ForEvolve.Conventions.Templates\ndotnet new editorconfig\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flayzeedk%2Fgithub-actions-dotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flayzeedk%2Fgithub-actions-dotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flayzeedk%2Fgithub-actions-dotnet/lists"}