diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
new file mode 100644
index 0000000..707dc58
--- /dev/null
+++ b/.github/CODEOWNERS
@@ -0,0 +1 @@
+* amacocian@yahoo.com
\ No newline at end of file
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..32f21e9
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,16 @@
+# To get started with Dependabot version updates, you'll need to specify which
+# package ecosystems to update and where the package manifests are located.
+# Please see the documentation for all configuration options:
+# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
+
+version: 2
+updates:
+ - package-ecosystem: "github-actions" # See documentation for possible values
+ directory: "/" # Location of package manifests
+ schedule:
+ interval: "weekly"
+
+ - package-ecosystem: "nuget"
+ directory: "/"
+ schedule:
+ interval: "daily"
diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml
new file mode 100644
index 0000000..83e0d76
--- /dev/null
+++ b/.github/workflows/cd.yaml
@@ -0,0 +1,50 @@
+name: AspNetCore.Extensions CD Pipeline
+
+on:
+ push:
+ branches:
+ - master
+
+jobs:
+
+ build:
+ environment: Default
+ strategy:
+ matrix:
+ targetplatform: [x64]
+
+ runs-on: windows-latest
+
+ env:
+ Configuration: Release
+ Solution_Path: AspNetCore.Extensions.sln
+ Source_Project_Path: AspNetCore.Extensions\AspNetCore.Extensions.csproj
+ Actions_Allow_Unsecure_Commands: true
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+
+ - name: Install .NET Core
+ uses: actions/setup-dotnet@v3
+ with:
+ dotnet-version: '8.0.x'
+
+ - name: Setup MSBuild.exe
+ uses: microsoft/setup-msbuild@v1.0.1
+
+ - name: Restore project
+ run: msbuild $env:Solution_Path /t:Restore /p:Configuration=$env:Configuration /p:RuntimeIdentifier=$env:RuntimeIdentifier
+ env:
+ RuntimeIdentifier: win-${{ matrix.targetplatform }}
+
+ - name: Build AspNetCore.Extensions.NetStandard project
+ run: dotnet build $env:Source_Project_Path -c $env:Configuration
+
+ - name: Package AspNetCore.Extensions.NetStandard
+ run: dotnet pack -c Release -o . $env:Source_Project_Path
+
+ - name: Publish
+ run: dotnet nuget push *.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
\ No newline at end of file
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
new file mode 100644
index 0000000..9f66ab8
--- /dev/null
+++ b/.github/workflows/ci.yaml
@@ -0,0 +1,41 @@
+name: AspNetCore.Extensions CI Pipeline
+
+on:
+ pull_request:
+ branches:
+ - master
+
+jobs:
+
+ build:
+
+ strategy:
+ matrix:
+ targetplatform: [x64]
+
+ runs-on: windows-latest
+
+ env:
+ Solution_Path: AspNetCore.Extensions.sln
+ Source_Project_Path: AspNetCore.Extensions\AspNetCore.Extensions.csproj
+ Actions_Allow_Unsecure_Commands: true
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+
+ - name: Install .NET Core
+ uses: actions/setup-dotnet@v3
+ with:
+ dotnet-version: '8.0.x'
+
+ - name: Setup MSBuild.exe
+ uses: microsoft/setup-msbuild@v1.0.1
+
+ - name: Restore Project
+ run: msbuild $env:Solution_Path /t:Restore /p:Configuration=$env:Configuration /p:RuntimeIdentifier=$env:RuntimeIdentifier
+ env:
+ Configuration: Debug
+ RuntimeIdentifier: win-${{ matrix.targetplatform }}
\ No newline at end of file
diff --git a/AspNetCore.Extensions.sln b/AspNetCore.Extensions.sln
index ab92dc4..36f6f2e 100644
--- a/AspNetCore.Extensions.sln
+++ b/AspNetCore.Extensions.sln
@@ -5,6 +5,23 @@ VisualStudioVersion = 17.9.34714.143
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AspNetCore.Extensions", "AspNetCore.Extensions\AspNetCore.Extensions.csproj", "{D0570CEC-F740-4332-AC10-8491974D1827}"
EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution", "Solution", "{584B002D-4DFC-4034-8F3E-B4DA327B82B9}"
+ ProjectSection(SolutionItems) = preProject
+ LICENSE = LICENSE
+ EndProjectSection
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{EF036121-B1EE-4F1C-AF84-7E39337BF039}"
+ ProjectSection(SolutionItems) = preProject
+ .github\CODEOWNERS = .github\CODEOWNERS
+ .github\dependabot.yml = .github\dependabot.yml
+ EndProjectSection
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{B87B71DA-C91C-4749-970F-4F9C5C893458}"
+ ProjectSection(SolutionItems) = preProject
+ .github\workflows\cd.yaml = .github\workflows\cd.yaml
+ .github\workflows\ci.yaml = .github\workflows\ci.yaml
+ EndProjectSection
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -19,6 +36,9 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {B87B71DA-C91C-4749-970F-4F9C5C893458} = {EF036121-B1EE-4F1C-AF84-7E39337BF039}
+ EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {7BB65352-F868-424E-BC0A-FD7CB202F791}
EndGlobalSection
diff --git a/AspNetCore.Extensions/AspNetCore.Extensions.csproj b/AspNetCore.Extensions/AspNetCore.Extensions.csproj
index 8e6c86b..438a8b0 100644
--- a/AspNetCore.Extensions/AspNetCore.Extensions.csproj
+++ b/AspNetCore.Extensions/AspNetCore.Extensions.csproj
@@ -4,13 +4,24 @@
net8.0
enable
enable
+ Library
+ true
0.1
Alexandru Macocian
LICENSE
true
+ https://github.com/AlexMacocian/AspNetCore.Extensions
+ Extensions for Microsoft.NET.Sdk.Web
latest
+
+
+
+ True
+
+
+
diff --git a/AspNetCore.Extensions/LICENSE b/LICENSE
similarity index 100%
rename from AspNetCore.Extensions/LICENSE
rename to LICENSE