ASPTemplate/.template.config/template.json
2023-04-08 12:48:27 +02:00

80 lines
1.5 KiB
JSON

{
"$schema": "http://json.schemastore.org/template",
"author": "zotan",
"classifications": [
"Web",
"MVC",
"Razor Pages"
],
"identity": "zotan.ASPTemplate",
"name": "ASP.NET Core (zotan)",
"shortName": "razor-zotan",
"sourceName": "ASPTemplate",
"defaultName": "RazorApplication",
"preferNameDirectory": true,
"primaryOutputs": [
{
"path": "ASPTemplate.csproj"
}
],
"tags": {
"language": "C#",
"type": "project"
},
"sources": [
{
"copyOnly": [
"wwwroot/**"
],
"modifiers": [
{
"exclude": [
".idea/**",
".git/**"
]
}
]
}
],
"symbols": {
"auth": {
"type": "parameter",
"datatype": "choice",
"choices": [
{
"choice": "None",
"description": "No authentication"
},
{
"choice": "SSO",
"description": "Remote-User auth"
},
{
"choice": "SSO_partial",
"description": "Remote-User auth (partial)"
}
],
"defaultValue": "None",
"description": "The type of authentication to use"
},
"kestrelPort": {
"type": "generated",
"generator": "port",
"parameters": {
"low": 8000,
"high": 8999
},
"replaces": "7039"
},
"kestrelAltPort": {
"type": "generated",
"generator": "port",
"parameters": {
"low": 9000,
"high": 9999
},
"replaces": "7040"
}
}
}