Skip to content

Commit 7ed2525

Browse files
2 parents bb0e26d + 6163471 commit 7ed2525

File tree

7 files changed

+56
-55
lines changed

7 files changed

+56
-55
lines changed
Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
1-
# name: .NET Core Desktop
1+
name: .NET Core Desktop
22

3-
# on:
4-
# push:
5-
# branches: [ "master" ]
6-
# pull_request:
7-
# branches: [ "master" ]
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
88

9-
# jobs:
9+
jobs:
1010

11-
# build:
11+
build:
1212

13-
# strategy:
14-
# matrix:
15-
# configuration: [Debug, Release]
13+
strategy:
14+
matrix:
15+
configuration: [Debug, Release]
1616

17-
# runs-on: windows-latest
17+
runs-on: windows-latest
1818

19-
# env:
20-
# Test_Project_Path: ./Source/Tests
21-
# Solution_Name: ./Source/CleanArchitecture.sln
19+
env:
20+
Test_Project_Path: ./Source/Tests
21+
Solution_Name: ./Source/CleanArchitecture.sln
2222

23-
# steps:
24-
# - name: Checkout
25-
# uses: actions/checkout@v4
26-
# with:
27-
# fetch-depth: 0
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v4
26+
with:
27+
fetch-depth: 0
2828

29-
# # Install the .NET Core workload
30-
# - name: Install .NET Core
31-
# uses: actions/setup-dotnet@v4
32-
# with:
33-
# dotnet-version: 10.0.x
29+
# Install the .NET Core workload
30+
- name: Install .NET Core
31+
uses: actions/setup-dotnet@v4
32+
with:
33+
dotnet-version: 10.0.x
3434

35-
# # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
36-
# - name: Setup MSBuild.exe
37-
# uses: microsoft/setup-msbuild@v2
35+
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
36+
- name: Setup MSBuild.exe
37+
uses: microsoft/setup-msbuild@v2
3838

39-
# # Execute all unit tests in the solution
40-
# - name: Execute unit tests
41-
# run: dotnet test
39+
# Execute all unit tests in the solution
40+
- name: Execute unit tests
41+
run: dotnet test
4242

43-
# # Restore the application to populate the obj folder with RuntimeIdentifiers
44-
# - name: Restore the application
45-
# run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
46-
# env:
47-
# Configuration: ${{ matrix.configuration }}
43+
# Restore the application to populate the obj folder with RuntimeIdentifiers
44+
- name: Restore the application
45+
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
46+
env:
47+
Configuration: ${{ matrix.configuration }}

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[![Marketplace](https://vsmarketplacebadges.dev/version/SamanAzadi1996.ASPDotnetCoreCleanArchitecture.svg?&colorB=magenta)](https://marketplace.visualstudio.com/items?itemName=SamanAzadi1996.ASPDotnetCoreCleanArchitecture)
55

66
[![](https://github.com/samanazadi1996/Sam.CleanArchitecture/workflows/.NET/badge.svg)](https://github.com/samanazadi1996/Sam.CleanArchitecture/actions)
7+
[![](https://github.com/samanazadi1996/Sam.CleanArchitecture/workflows/.NET%20Core%20Desktop/badge.svg)](https://github.com/samanazadi1996/Sam.CleanArchitecture/actions)
78
[![](https://github.com/samanazadi1996/Sam.CleanArchitecture/workflows/CodeQL%20Advanced/badge.svg)](https://github.com/samanazadi1996/Sam.CleanArchitecture/actions)
89
[![](https://img.shields.io/website?url=https://clean-architecture.koyeb.app/health&label=Deployment)](https://clean-architecture.koyeb.app/swagger/index.html)
910

@@ -42,7 +43,7 @@ The MyProjectName directory and solution file will be created, and inside that w
4243

4344
# Getting Started with Visual Studio
4445

45-
[Download the Extension](https://marketplace.visualstudio.com/items?itemName=SamanAzadi1996.ASPDotnetCoreCleanArchitecture) and install it on your machine. Make sure Visual Studio 2022 is installed on your machine with the latest SDK.
46+
[Download the Extension](https://marketplace.visualstudio.com/items?itemName=SamanAzadi1996.ASPDotnetCoreCleanArchitecture) and install it on your machine. Make sure Visual Studio 2026 is installed on your machine with the latest SDK.
4647

4748
Follow these Steps to get started.
4849

@@ -76,7 +77,7 @@ Does it really make sense to Setup your ASP.NET Core Solution everytime you star
7677

7778
This is the exact Problem that I intend to solve with this Full-Fledged ASP.NET Core 10 WebApi Solution Template, that also follows various principles of Clean Architecture.
7879

79-
The primary goal is to create a Full-Fledged implementation, that is well documented along with the steps taken to build this Solution from Scratch. This Solution Template will also be available within Visual Studio 2022 (by installing the required Nuget Package / Extension).
80+
The primary goal is to create a Full-Fledged implementation, that is well documented along with the steps taken to build this Solution from Scratch. This Solution Template will also be available within Visual Studio 2026 (by installing the required Nuget Package / Extension).
8081

8182
Demonstrate Clean Monolith Architecture in ASP.NET Core 10
8283
- This is not a Proof of Concept
@@ -142,7 +143,7 @@ If you found this Implementation helpful or used it in your Projects, do give it
142143

143144
# Prerequisites
144145

145-
- Visual Studio 2022 Community and above
146+
- Visual Studio 2026 Community and above
146147
- .NET Core 10 SDK and above
147148
- Basic Understanding of Architectures and Clean Code Principles
148149

Source/Src/Core/CleanArchitecture.Application/CleanArchitecture.Application.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<TargetFramework>net10.0</TargetFramework>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="12.1.0" />
6+
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="12.1.1" />
77
</ItemGroup>
88
<ItemGroup>
99
<ProjectReference Include="..\CleanArchitecture.Domain\CleanArchitecture.Domain.csproj" />

Source/Src/Infrastructure/CleanArchitecture.Infrastructure.Identity/CleanArchitecture.Infrastructure.Identity.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
<TargetFramework>net10.0</TargetFramework>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.0" />
7-
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="10.0.0" />
8-
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="10.0.0" />
9-
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.14.0" />
10-
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="10.0.0" />
11-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.0" />
6+
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.1" />
7+
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="10.0.1" />
8+
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="10.0.1" />
9+
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.15.0" />
10+
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="10.0.1" />
11+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.1" />
1212
</ItemGroup>
1313
<ItemGroup>
1414
<ProjectReference Include="..\..\Core\CleanArchitecture.Application\CleanArchitecture.Application.csproj" />

Source/Src/Infrastructure/CleanArchitecture.Infrastructure.Persistence/CleanArchitecture.Infrastructure.Persistence.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<TargetFramework>net10.0</TargetFramework>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="10.0.0" />
7-
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="10.0.0" />
8-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.0" />
6+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="10.0.1" />
7+
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="10.0.1" />
8+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.1" />
99
</ItemGroup>
1010
<ItemGroup>
1111
<ProjectReference Include="..\..\Core\CleanArchitecture.Application\CleanArchitecture.Application.csproj" />

Source/Src/Presentation/CleanArchitecture.WebApi/CleanArchitecture.WebApi.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
<TargetFramework>net10.0</TargetFramework>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.0">
6+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.1">
77
<PrivateAssets>all</PrivateAssets>
88
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
99
</PackageReference>
10-
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.0.0" />
11-
<PackageReference Include="Serilog.AspNetCore" Version="9.0.0" />
12-
<PackageReference Include="Serilog.Enrichers.ClientInfo" Version="2.6.0" />
10+
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.0.1" />
11+
<PackageReference Include="Serilog.AspNetCore" Version="10.0.0" />
12+
<PackageReference Include="Serilog.Enrichers.ClientInfo" Version="2.8.0" />
1313
<PackageReference Include="Serilog.Enrichers.Environment" Version="3.0.1" />
1414
<PackageReference Include="Serilog.Exceptions" Version="8.4.0" />
15-
<PackageReference Include="Serilog.Extensions.Hosting" Version="9.0.0" />
15+
<PackageReference Include="Serilog.Extensions.Hosting" Version="10.0.0" />
1616
<PackageReference Include="Serilog.Sinks.Console" Version="6.1.1" />
1717
<PackageReference Include="Serilog.Sinks.Debug" Version="3.0.0" />
1818
</ItemGroup>

Source/Tests/CleanArchitecture.FunctionalTests/CleanArchitecture.FunctionalTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<IsTestProject>true</IsTestProject>
88
</PropertyGroup>
99
<ItemGroup>
10-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.0" />
10+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.1" />
1111
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
1212
<PackageReference Include="xunit" Version="2.9.3" />
1313
<PackageReference Include="Shouldly" Version="4.3.0" />

0 commit comments

Comments
 (0)