Skip to content
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,39 @@
]
}
],
"forms": {
"lowerCaseInvariantWithHyphens": {
"identifier": "chain",
"steps": [
"lowerCaseInvariant",
"replaceDnsInvalidChars",
"trimLeadingHyphens",
"trimTrailingHyphens"
]
},
"replaceDnsInvalidChars": {
"identifier": "replace",
"pattern": "[^a-z0-9-]",
"replacement": "-"
},
"trimLeadingHyphens": {
"identifier": "replace",
"pattern": "^-+",
"replacement": ""
},
"trimTrailingHyphens": {
"identifier": "replace",
"pattern": "-+$",
"replacement": ""
}
},
"symbols": {
"hostName": {
"type": "derived",
"valueSource": "name",
"valueTransform": "lowerCaseInvariantWithHyphens",
"replaces": "LocalhostTldHostNamePrefix"
},
Comment thread
DamianEdwards marked this conversation as resolved.
"Framework": {
"type": "parameter",
"description": "The target framework for the project.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
//#endif
//#if (LocalhostTld)
"applicationUrl": "http://blazorwebcsharp__1.dev.localhost:5500",
"applicationUrl": "http://LocalhostTldHostNamePrefix.dev.localhost:5500",
//#else
"applicationUrl": "http://localhost:5500",
//#endif
Expand All @@ -32,7 +32,7 @@
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
//#endif
//#if (LocalhostTld)
"applicationUrl": "https://blazorwebcsharp__1.dev.localhost:5501;http://blazorwebcsharp__1.dev.localhost:5500",
"applicationUrl": "https://LocalhostTldHostNamePrefix.dev.localhost:5501;http://LocalhostTldHostNamePrefix.dev.localhost:5500",
//#else
"applicationUrl": "https://localhost:5501;http://localhost:5500",
//#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,39 @@
]
}
],
"forms": {
"lowerCaseInvariantWithHyphens": {
"identifier": "chain",
"steps": [
"lowerCaseInvariant",
"replaceDnsInvalidChars",
"trimLeadingHyphens",
"trimTrailingHyphens"
]
},
"replaceDnsInvalidChars": {
"identifier": "replace",
"pattern": "[^a-z0-9-]",
"replacement": "-"
},
"trimLeadingHyphens": {
"identifier": "replace",
"pattern": "^-+",
"replacement": ""
},
"trimTrailingHyphens": {
"identifier": "replace",
"pattern": "-+$",
"replacement": ""
}
},
"symbols": {
"hostName": {
"type": "derived",
"valueSource": "name",
"valueTransform": "lowerCaseInvariantWithHyphens",
"replaces": "LocalhostTldHostNamePrefix"
},
Comment thread
DamianEdwards marked this conversation as resolved.
"ExcludeLaunchSettings": {
"type": "parameter",
"datatype": "bool",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dotnetRunMessages": true,
"launchBrowser": true,
//#if (LocalhostTld)
"applicationUrl": "http://company_webapplication1.dev.localhost:5000",
Comment thread
DamianEdwards marked this conversation as resolved.
"applicationUrl": "http://LocalhostTldHostNamePrefix.dev.localhost:5000",
//#else
"applicationUrl": "http://localhost:5000",
//#endif
Expand All @@ -24,7 +24,7 @@
"dotnetRunMessages": true,
"launchBrowser": true,
//#if (LocalhostTld)
"applicationUrl": "https://company_webapplication1.dev.localhost:5001;http://company_webapplication1.dev.localhost:5000",
"applicationUrl": "https://LocalhostTldHostNamePrefix.dev.localhost:5001;http://LocalhostTldHostNamePrefix.dev.localhost:5000",
//#else
"applicationUrl": "https://localhost:5001;http://localhost:5000",
//#endif
Expand Down
Loading