You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+52-3Lines changed: 52 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,10 +17,41 @@ For any bugs, questions, or anything else with specifically the code found insid
17
17
To get the site that is seen at [essentialcsharp.com](https://essentialcsharp.com/):
18
18
19
19
1. Clone Repository locally.
20
-
2. Set any needed secrets
21
-
3. If you have do not have access to the private nuget feed, change the line `<AccessToNugetFeed>true</AccessToNugetFeed>` to `<AccessToNugetFeed>false</AccessToNugetFeed>` in [Directory.Packages.props](https://github.com/IntelliTect/EssentialCSharp.Web/blob/main/Directory.Packages.props).
20
+
2. Set any needed secrets (see Environment Prerequisites below)
21
+
3. If you do not have access to the private nuget feed, change the line `<AccessToNugetFeed>true</AccessToNugetFeed>` to `<AccessToNugetFeed>false</AccessToNugetFeed>` in [Directory.Packages.props](https://github.com/IntelliTect/EssentialCSharp.Web/blob/main/Directory.Packages.props).
22
22
23
-
## Environment Prequisites
23
+
## Development Container Setup
24
+
25
+
This project includes a VS Code devcontainer for consistent development environments. To use it:
26
+
27
+
### With Private NuGet Feed Access
28
+
29
+
If you have access to the IntelliTect private Azure DevOps NuGet feed:
30
+
31
+
1. Create an Azure DevOps Personal Access Token (PAT) with **Packaging (Read)** permissions
32
+
2. Set the environment variable before opening the devcontainer:
Or add it to your shell profile (`.bashrc`, `.zshrc`, etc.)
37
+
3. Open the project in VS Code and select "Reopen in Container" when prompted
38
+
39
+
### Without Private NuGet Feed Access
40
+
41
+
If you don't have access to the private feed:
42
+
43
+
1. Update `Directory.Packages.props` and set `<AccessToNugetFeed>false</AccessToNugetFeed>`
44
+
2. Open the project in VS Code and select "Reopen in Container" when prompted
45
+
46
+
The devcontainer will automatically:
47
+
- Install the correct .NET 9.0 SDK
48
+
- Configure NuGet authentication (if PAT token is provided)
49
+
- Restore all packages
50
+
- Set up the development environment
51
+
52
+
## Environment Prerequisites
53
+
54
+
### Application Secrets
24
55
25
56
Make sure the following secrets are set:
26
57
In local development this ideally should be done using the dotnet secret manager. Additional information can be found at the [documentation](https://learn.microsoft.com/en-us/aspnet/core/security/app-secrets#set-a-secret)
0 commit comments