Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
December 23, 2021 10:04 pm GMT

Proposed Alternative DOTNET Repository Layout

Layout for GitHub Repo for Blazor Web App with API and shared Logic layer and server-side Data Layer.

I'm thinking that a directory layout for Solutions that represents the relationship of projects would be good. Also, pairing test projects with their library being tested.

Proposed Layout

 .gitignore                // Global Git Ignore README.md                 // README for entire repository LICENSE                   // LICENSE for entire repository nuget.config              // NuGet Configuration .github                   // Github config   workflow                // Github Workflows     cd.yml                // Continuous Integration Pipeline     ci.yml                // Continuous Deployment Pipeline .idea                     // (hidden) Rider config .tools                    // Dependent Tooling   Cake                    // Cake Build Tooling .vs                       // (hidden) Visual Studio Config .vscode                   // VS Code Config   settings.json           // VS Code Solution Settings   tasks.json              // VS Code Task Definitions   launch.json             // VS Code Launch Definitions   extensions.json         // VS Code Extension Recomendations _artifacts                // Built Artifacts   npm                     // Built NPM Modules   nuget                   // Built NuGet Packages   other                   // Other Built Artifacts _build                    // Nuke or Cake   .nuke                   // Nuke Project     Build.cs              // BUKE Targets     Build.csproj          // NUKE Build Project _cd                       // CD Config   nuke-cd.yml             // CD Config for NUKE _ci                       // CI Config   nuke-ci.yml             // CI Config for NUKE _lib                      // Loose dependencies _requirements             // Loose requirements docs _scripts                  // Loose PowerShell Scripts   publish.ps1             // Push artifacts to repositories   helpers.psm1            // PowerShell Module of helper functions MySolution                // Start of Visual Stduio Solution   Directory.Build.Props   // Global MSBuild Configuration   MySolution.sln          // Visual Studio Solution File   Data     Directory.Build.Props // Data-Tier MSBuild Configuration     _integration          // Data-Tier integration tests     _sql                  // Loose SQL Scripts     MyProject.Entities    // Project Grouping       docs                // Markdown based generated and/or manual docs         Generated         // Generated Documentation           <metadata folder> // DocFx Generated           api             // DocFx Generated             <namespace>.yml // DocFx Generated             <class>.yml   // DocFx Generated           toc.yml         // DocFx Generated           index.yml       // DocFx Generated         Pages             // Hand-created Documentation           page_about.md   // Index for MyProject.Entities Docs           page_support.md // Index for MyProject.Entities Docs         docfx.json        // DocFx Configuration         index.md          // Index for MyProject.Entities Docs       src                 // Library         Entities          // POCO Entities         Migrations        // Database Migrations         Repositories      // Repositories or DbContexts         MyProject.Entities.csproj       test                // Library Tests         Data              // Test Data         Mocking           // Mocking Objects         MyProject.Entities.Tests.csproj   Logic     Directory.Build.Props // Logic-Tier MSBuild Configuration     _integration          // Logic-Tier Integration Tests     MyProject.Rules       docs         Generated         // Generated Documentation           <metadata folder> // DocFx Generated           api             // DocFx Generated             <namespace>.yml // DocFx Generated             <class>.yml   // DocFx Generated           toc.yml         // DocFx Generated           index.yml       // DocFx Generated         Pages             // Hand-created Documentation           page_about.md   // Index for MyProject.Logic Docs           page_support.md // Index for MyProject.Logic Docs         docfx.json        // DocFx Configuration         index.md          // Index for MyProject.Logic Docs       src         Mapping           // Entities-to-Domain Models Mappings         MVC               // Real MVC (see: )           Controllers     // Controllers           Models          // POCO Domain Models         MyProject.Rules.csproj       test         MyProject.Rules.Tests.csproj   Services     Directory.Build.Props // Services-Tier MSBuild Configuration     _integration          // Services-Tier Integration Tests     MyProject.Api       docs         Generated         // Generated Documentation           <metadata folder> // DocFx Generated           api             // DocFx Generated             <namespace>.yml // DocFx Generated             <class>.yml   // DocFx Generated           toc.yml         // DocFx Generated           index.yml       // DocFx Generated         Pages             // Hand-created Documentation           page_about.md   // Index for MyProject.Api Docs           page_support.md // Index for MyProject.Api Docs         docfx.json        // DocFx Configuration         index.md          // Index for MyProject.Api Docs       src         MyProject.Api.csproj       test         MyProject.Api.Tests.csproj   UI     Directory.Build.Props // UI-Tier MSBuild Configuration     _assets               // Shared UI assets       css                 // Shared Styling       fonts               // Shared Fonts       images              // Shared Images       resources           // Shared Resource files     _integration          // UI-Tier Integration Tests     MyProject.Blazor       docs         Generated         // Generated Documentation           <metadata folder> // DocFx Generated           api             // DocFx Generated             <namespace>.yml // DocFx Generated             <class>.yml   // DocFx Generated           toc.yml         // DocFx Generated           index.yml       // DocFx Generated         Pages             // Hand-created Documentation           page_about.md   // Index for MyProject.UI Docs           page_support.md // Index for MyProject.UI Docs         docfx.json        // DocFx Configuration         index.md          // Index for MyProject.UI Docs       src         wwwroot         MyProject.Blazor.csproj       test         MyProject.Blazor.Test.csproj

Original Link: https://dev.to/sharpninja/proposed-alternative-dotnet-repository-layout-38cm

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To