Implement initial product management with Entity Framework Core #3

This commit is contained in:
Marek Lesko
2025-07-27 16:03:55 +00:00
parent 5f921e5a2c
commit e969008873
9 changed files with 272 additions and 22 deletions

View File

@@ -34,18 +34,26 @@
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
4200,
5000,
5001
],
"portsAttributes": {
"5001": {
"protocol": "https"
}
"forwardPorts": [
4200,
5000,
5001,
1433
],
"portsAttributes": {
"5001": {
"protocol": "https"
},
// postCreateCommand.sh parameters: $1=SA password, $2=dacpac path, $3=sql script(s) path
"postCreateCommand": "bash .devcontainer/mssql/postCreateCommand.sh 'P@ssw0rd' './bin/Debug/' './.devcontainer/mssql/'"
"1433": {
"protocol": "tcp"
}
},
// postCreateCommand.sh parameters: $1=SA password, $2=dacpac path, $3=sql script(s) path
"containerEnv": {
"SA_PASSWORD": "P@ssw0rd",
"ACCEPT_EULA": "Y"
},
"postCreateCommand": "bash .devcontainer/mssql/postCreateCommand.sh 'P@ssw0rd' './bin/Debug/' './.devcontainer/mssql/'"
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}