Skip to content

Commit a1e5dbc

Browse files
committed
add eshop project
0 parents  commit a1e5dbc

File tree

1,061 files changed

+63327
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,061 files changed

+63327
-0
lines changed

.aspire/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"appHostPath": "../src/eShop.AppHost/eShop.AppHost.csproj"
3+
}

.config/CredScanSuppressions.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"tool": "Credential Scanner",
3+
"suppressions": [
4+
{
5+
"placeholder": "Pass123$",
6+
"_justification": "Dummy."
7+
},
8+
{
9+
"placeholder": "yourWeak(!)Password",
10+
"_justification": "Dummy."
11+
}
12+
]
13+
}

.config/configuration.vs.winget

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
2+
properties:
3+
configurationVersion: 0.2.0
4+
########################################
5+
### RESOURCES: System Configuration
6+
########################################
7+
resources:
8+
########################################
9+
### OS Configurations
10+
########################################
11+
### Enable: Developer Mode
12+
### -------------------------------------
13+
- resource: Microsoft.Windows.Developer/DeveloperMode
14+
directives:
15+
description: Enable Developer Mode
16+
# Requires elevation only for the set operation
17+
securityContext: elevated
18+
allowPrerelease: true
19+
settings:
20+
Ensure: Present
21+
### Install Windows VirtualMachinePlatform
22+
### -------------------------------------
23+
- resource: PSDscResources/WindowsOptionalFeature
24+
directives:
25+
description: Install VirtualMachinePlatform
26+
securityContext: elevated
27+
settings:
28+
name: VirtualMachinePlatform
29+
ensure: Present
30+
### Install WSL
31+
### -------------------------------------
32+
- resource: PSDscResources/WindowsOptionalFeature
33+
directives:
34+
description: Install WSL
35+
securityContext: elevated
36+
settings:
37+
name: Microsoft-Windows-Subsystem-Linux
38+
ensure: Present
39+
### Configure Install Ubuntu
40+
### -------------------------------------
41+
- resource: PSDscResources/Script
42+
id: ubuntuwsl
43+
directives:
44+
description: Install Ubuntu for WSL
45+
settings:
46+
SetScript: |
47+
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
48+
wsl --install -d Ubuntu
49+
GetScript: return $false
50+
TestScript: return $false
51+
########################################
52+
### Install CLIs, SDKs & Tools
53+
########################################
54+
### Install DotNET SDK Preview
55+
### -------------------------------------
56+
- resource: Microsoft.WinGet.DSC/WinGetPackage
57+
id: dotnetsdk
58+
directives:
59+
description: Install DotNET SDK Preview
60+
# Requires elevation only for the set operation (i.e., installing the package)
61+
securityContext: elevated
62+
settings:
63+
id: Microsoft.DotNet.SDK.Preview
64+
### Install Azure CLI
65+
### -------------------------------------
66+
- resource: Microsoft.WinGet.DSC/WinGetPackage
67+
id: azurecli
68+
directives:
69+
description: Install Azure CLI
70+
# Requires elevation only for the set operation (i.e., installing the package)
71+
securityContext: elevated
72+
settings:
73+
id: Microsoft.AzureCLI
74+
### Install Azd
75+
### -------------------------------------
76+
- resource: Microsoft.WinGet.DSC/WinGetPackage
77+
id: Azd
78+
directives:
79+
description: Install Azd
80+
settings:
81+
id: Microsoft.Azd
82+
### Install Docker Desktop
83+
### -------------------------------------
84+
- resource: Microsoft.WinGet.DSC/WinGetPackage
85+
id: docker
86+
directives:
87+
description: Install Docker Desktop
88+
# Requires elevation only for the set operation (i.e., installing the package)
89+
securityContext: elevated
90+
settings:
91+
id: Docker.DockerDesktop
92+
### Install Visual Sudio
93+
### -------------------------------------
94+
- resource: Microsoft.WinGet.DSC/WinGetPackage
95+
id: vscommunity
96+
directives:
97+
description: Install Visual Studio 2022 Community
98+
# Requires elevation only for the set operation (i.e., installing the package)
99+
# Only requires elevation when the VS Installer isn't installed yet
100+
securityContext: elevated
101+
settings:
102+
id: Microsoft.VisualStudio.2022.Community.Preview
103+
### Install VS Workloads
104+
### -------------------------------------
105+
- resource: Microsoft.VisualStudio.DSC/VSComponents
106+
directives:
107+
description: Install required VS workloads from vsconfig file
108+
securityContext: elevated
109+
allowPrerelease: true
110+
dependsOn:
111+
- vscommunity
112+
settings:
113+
productId: Microsoft.VisualStudio.Product.Community
114+
channelId: VisualStudio.17.Preview
115+
components: [Microsoft.VisualStudio.Workload.NetWeb, Microsoft.VisualStudio.Workload.NetCrossPlat, aspire]
116+
includeRecommended: true
Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,181 @@
1+
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
2+
properties:
3+
configurationVersion: 0.2.0
4+
########################################
5+
### RESOURCES: System Configuration
6+
########################################
7+
resources:
8+
########################################
9+
### OS Configurations
10+
########################################
11+
### Enable: Developer Mode
12+
### -------------------------------------
13+
- resource: Microsoft.Windows.Developer/DeveloperMode
14+
directives:
15+
description: Enable Developer Mode
16+
# Requires elevation only for the set operation
17+
securityContext: elevated
18+
allowPrerelease: true
19+
settings:
20+
Ensure: Present
21+
### Install Windows VirtualMachinePlatform
22+
### -------------------------------------
23+
- resource: PSDscResources/WindowsOptionalFeature
24+
directives:
25+
description: Install VirtualMachinePlatform
26+
securityContext: elevated
27+
settings:
28+
name: VirtualMachinePlatform
29+
ensure: Present
30+
### Install WSL
31+
### -------------------------------------
32+
- resource: PSDscResources/WindowsOptionalFeature
33+
directives:
34+
description: Install WSL
35+
securityContext: elevated
36+
settings:
37+
name: Microsoft-Windows-Subsystem-Linux
38+
ensure: Present
39+
### Configure Install Ubuntu
40+
### -------------------------------------
41+
- resource: PSDscResources/Script
42+
id: ubuntuwsl
43+
directives:
44+
description: Install Ubuntu for WSL
45+
settings:
46+
SetScript: |
47+
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
48+
wsl --install -d Ubuntu
49+
GetScript: return $false
50+
TestScript: return $false
51+
########################################
52+
### Install CLIs, SDKs & Tools
53+
########################################
54+
### Install DotNET SDK Preview
55+
### -------------------------------------
56+
- resource: Microsoft.WinGet.DSC/WinGetPackage
57+
id: dotnetsdk
58+
directives:
59+
description: Install DotNET SDK Preview
60+
# Requires elevation only for the set operation (i.e., installing the package)
61+
securityContext: elevated
62+
settings:
63+
id: Microsoft.DotNet.SDK.Preview
64+
### Install Azure CLI
65+
### -------------------------------------
66+
- resource: Microsoft.WinGet.DSC/WinGetPackage
67+
id: azurecli
68+
directives:
69+
description: Install Azure CLI
70+
# Requires elevation only for the set operation (i.e., installing the package)
71+
securityContext: elevated
72+
settings:
73+
id: Microsoft.AzureCLI
74+
### Install Azd
75+
### -------------------------------------
76+
- resource: Microsoft.WinGet.DSC/WinGetPackage
77+
id: Azd
78+
directives:
79+
description: Install Azd
80+
settings:
81+
id: Microsoft.Azd
82+
### Install Docker Desktop
83+
### -------------------------------------
84+
- resource: Microsoft.WinGet.DSC/WinGetPackage
85+
id: docker
86+
directives:
87+
description: Install Docker Desktop
88+
# Requires elevation only for the set operation (i.e., installing the package)
89+
securityContext: elevated
90+
settings:
91+
id: Docker.DockerDesktop
92+
### Install Microsoft Visual Studio Code
93+
### -------------------------------------
94+
- resource: Microsoft.WinGet.DSC/WinGetPackage
95+
id: vscode
96+
directives:
97+
description: Install Microsoft Visual Studio Code
98+
settings:
99+
id: Microsoft.VisualStudioCode
100+
ensure: Present
101+
########################################
102+
### Install VSCode Extensions
103+
########################################
104+
### Install VSCode Azure Developer CLI Extension
105+
### -------------------------------------
106+
- resource: Microsoft.VSCode.Dsc/VSCodeExtension
107+
id: azure-dev-cli-extension
108+
dependsOn:
109+
- vscode
110+
- docker
111+
directives:
112+
description: Install Azure Developer CLI Extension
113+
allowPrerelease: true
114+
settings:
115+
name: ms-azuretools.azure-dev
116+
exist: true
117+
### Install VSCode WSL Extension
118+
### -------------------------------------
119+
- resource: Microsoft.VSCode.Dsc/VSCodeExtension
120+
id: wsl-extension
121+
dependsOn:
122+
- vscode
123+
- docker
124+
directives:
125+
description: Install WSL extension
126+
allowPrerelease: true
127+
settings:
128+
name: ms-vscode-remote.remote-wsl
129+
exist: true
130+
### Install VSCode Dev Containers Extension
131+
### -------------------------------------
132+
- resource: Microsoft.VSCode.Dsc/VSCodeExtension
133+
id: devcontainers-extension
134+
dependsOn:
135+
- vscode
136+
- docker
137+
directives:
138+
description: Install Dev Containers extension
139+
allowPrerelease: true
140+
settings:
141+
name: ms-vscode-remote.remote-containers
142+
exist: true
143+
### Install VSCode Docker Extension
144+
### -------------------------------------
145+
- resource: Microsoft.VSCode.Dsc/VSCodeExtension
146+
id: docker-extension
147+
dependsOn:
148+
- vscode
149+
- docker
150+
directives:
151+
description: Install Docker extension
152+
allowPrerelease: true
153+
settings:
154+
name: ms-azuretools.vscode-docker
155+
exist: true
156+
### Install VSCode C# DevKit Extension
157+
### -------------------------------------
158+
- resource: Microsoft.VSCode.Dsc/VSCodeExtension
159+
id: c#-devkit-extension
160+
dependsOn:
161+
- vscode
162+
- docker
163+
directives:
164+
description: Install C# DevKit extension
165+
allowPrerelease: true
166+
settings:
167+
name: ms-dotnettools.csdevkit
168+
exist: true
169+
### Install .NET MAUI Extension
170+
### -------------------------------------
171+
- resource: Microsoft.VSCode.Dsc/VSCodeExtension
172+
id: dotnet-maui-extension
173+
dependsOn:
174+
- vscode
175+
- docker
176+
directives:
177+
description: Install .NET MAUI extension
178+
allowPrerelease: true
179+
settings:
180+
name: ms-dotnettools.dotnet-maui
181+
exist: true

.config/tsaoptions.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"areaPath": "DevDiv\\ASP.NET Core\\Policy Violations",
3+
"codebaseName": "eShop",
4+
"instanceUrl": "https://devdiv.visualstudio.com/",
5+
"iterationPath": "DevDiv",
6+
"notificationAliases": [
7+
"aspnetcore-build@microsoft.com"
8+
],
9+
"projectName": "DEVDIV",
10+
"repositoryName": "eShop",
11+
"template": "TFSDEVDIV"
12+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Initial Commit

0 commit comments

Comments
 (0)