Merge pull request #5663 from sbwalker/dev
changes to template.json based on https://github.com/sayedihashimi/template-sample
This commit is contained in:
@ -7,13 +7,80 @@
|
|||||||
"Blazor",
|
"Blazor",
|
||||||
"Oqtane"
|
"Oqtane"
|
||||||
],
|
],
|
||||||
|
"name": "Oqtane Application Template",
|
||||||
|
"shortName": "oqtane-app",
|
||||||
|
"defaultName": "MyCompany.MyProject",
|
||||||
|
"identity": "Oqtane.Application.Template",
|
||||||
"tags": {
|
"tags": {
|
||||||
"language": "C#",
|
"language": "C#",
|
||||||
"type": "project"
|
"type": "solution",
|
||||||
|
"editorTreatAs":"solution"
|
||||||
},
|
},
|
||||||
"identity": "Oqtane.Application.Template",
|
|
||||||
"name": "Oqtane Application Template For Blazor",
|
|
||||||
"shortName": "oqtane-app",
|
|
||||||
"sourceName": "Oqtane.Application",
|
"sourceName": "Oqtane.Application",
|
||||||
"preferNameDirectory": true
|
"preferNameDirectory": true,
|
||||||
|
"guids": [
|
||||||
|
"04B05448-788F-433D-92C0-FED35122D45A",
|
||||||
|
"AA8E58A1-CD09-4208-BF66-A8BB341FD669",
|
||||||
|
"18D73F73-D7BE-4388-85BA-FBD9AC96FCA2"
|
||||||
|
],
|
||||||
|
"symbols": {
|
||||||
|
"Framework": {
|
||||||
|
"type": "parameter",
|
||||||
|
"description": "The target framework for the project",
|
||||||
|
"datatype": "choice",
|
||||||
|
"choices": [
|
||||||
|
{
|
||||||
|
"choice": "net9.0",
|
||||||
|
"description": "Target net9.0"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"replaces": "net9.0",
|
||||||
|
"defaultValue": "net9.0"
|
||||||
|
},
|
||||||
|
"HttpPort": {
|
||||||
|
"type": "parameter",
|
||||||
|
"datatype": "integer",
|
||||||
|
"description": "Port number to use for the HTTP endpoint in launchSettings.json."
|
||||||
|
},
|
||||||
|
"HttpPortGenerated": {
|
||||||
|
"type": "generated",
|
||||||
|
"generator": "port"
|
||||||
|
},
|
||||||
|
"HttpPortReplacer": {
|
||||||
|
"type": "generated",
|
||||||
|
"generator": "coalesce",
|
||||||
|
"parameters": {
|
||||||
|
"sourceVariableName": "HttpPort",
|
||||||
|
"fallbackVariableName": "HttpPortGenerated"
|
||||||
|
},
|
||||||
|
"replaces": "44358"
|
||||||
|
},
|
||||||
|
"HttpsPort": {
|
||||||
|
"type": "parameter",
|
||||||
|
"datatype": "integer",
|
||||||
|
"description": "Port number to use for the HTTPS endpoint in launchSettings.json."
|
||||||
|
},
|
||||||
|
"HttpsPortGenerated": {
|
||||||
|
"type": "generated",
|
||||||
|
"generator": "port",
|
||||||
|
"parameters": {
|
||||||
|
"low": 44300,
|
||||||
|
"high": 44399
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"HttpsPortReplacer": {
|
||||||
|
"type": "generated",
|
||||||
|
"generator": "coalesce",
|
||||||
|
"parameters": {
|
||||||
|
"sourceVariableName": "HttpsPort",
|
||||||
|
"fallbackVariableName": "HttpsPortGenerated"
|
||||||
|
},
|
||||||
|
"replaces": "44359"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"primaryOutputs": [
|
||||||
|
{
|
||||||
|
"path": "Oqtane.Application.sln"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@ -6,7 +6,7 @@
|
|||||||
"dotnetRunMessages": true,
|
"dotnetRunMessages": true,
|
||||||
"launchBrowser": true,
|
"launchBrowser": true,
|
||||||
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
|
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
|
||||||
"applicationUrl": "http://localhost:5000",
|
"applicationUrl": "http://localhost:44358",
|
||||||
"environmentVariables": {
|
"environmentVariables": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
}
|
}
|
||||||
@ -16,7 +16,7 @@
|
|||||||
"dotnetRunMessages": true,
|
"dotnetRunMessages": true,
|
||||||
"launchBrowser": true,
|
"launchBrowser": true,
|
||||||
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
|
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
|
||||||
"applicationUrl": "https://localhost:5001;http://localhost:5000",
|
"applicationUrl": "https://localhost:44359;http://localhost:44358",
|
||||||
"environmentVariables": {
|
"environmentVariables": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user