Skip to content

Commit 211261a

Browse files
committed
Update .Net version in Actions and README. Additional files in the .Net solution items.
1 parent 8ffbb52 commit 211261a

File tree

6 files changed

+15
-32
lines changed

6 files changed

+15
-32
lines changed

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup .NET
2121
uses: actions/setup-dotnet@v5
2222
with:
23-
dotnet-version: '8.0.x'
23+
dotnet-version: '9.0.x'
2424
# Build the application to ensure it builds successfully
2525
- name: Build Application
2626
working-directory: ./ui

HomeLibrary.sln

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
88
ProjectSection(SolutionItems) = preProject
99
books.json = api/books.json
1010
README.md = README.md
11+
api\local.settings.json = api\local.settings.json
12+
api\host.json = api\host.json
1113
EndProjectSection
1214
EndProject
1315
Global

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,16 @@ The site is accessible at https://thankful-ground-0bfa2ce03.3.azurestaticapps.ne
1010

1111
#### UI
1212

13-
Angular, PrimeNg, Tailwind
13+
Node v22.x, Angular, PrimeNg, Tailwind
1414

1515
#### API
1616

17-
.Net 8, Azure Function
17+
.Net 9, Azure Function
18+
19+
### Running
20+
21+
To run the application locally you will need to be setup to run an Azure Static Web App for [local development](https://learn.microsoft.com/en-us/azure/static-web-apps/local-development).
22+
Once ready, run `swa start` to start it. The application will then be accessible on http://localhost:4280
1823

1924
### Hosting
2025

api/local.settings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"IsEncrypted": false,
33
"Values": {
44
"ForceBooksFilePath": "books.json",
5-
"DATABASE_CONNECTION_STRING": "Server=tcp:<host>.database.windows.net,1433;Initial Catalog=<db name>;Persist Security Info=False;User ID=<user name>;Password=<password>;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;",
65
"AzureWebJobsStorage": "",
76
"FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated"
87
}

ui/angular.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
33
"version": 1,
44
"cli": {
5-
"packageManager": "npm"
5+
"packageManager": "npm",
6+
"analytics": false
67
},
78
"newProjectRoot": "projects",
89
"projects": {

ui/package-lock.json

Lines changed: 3 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)