1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
{
"$schema": "http://json.schemastore.org/template",
"author": "Microsoft",
"classifications": [ "Web", "ASP.NET" ],
"name": "Razor Page",
"generatorVersions": "[1.0.0.0-*)",
"description": "A Razor page with or without a page model",
"tags": {
"language": "C#",
"type": "item"
},
"groupIdentity": "Microsoft.AspNetCore.Mvc.RazorPage",
"precedence": "600",
"identity": "Microsoft.AspNetCore.Mvc.RazorPage.6.0",
"shortName": "page",
"sourceName": "Index",
"primaryOutputs": [
{ "path": "Index.cshtml" },
{
"path": "Index.cshtml.cs",
"condition": "(!no-pagemodel)"
}
],
"defaultName": "Index",
"sources": [
{
"modifiers": [
{
"condition": "(no-pagemodel)",
"exclude": [
"Index.cshtml.cs"
]
}
]
}
],
"symbols": {
"namespace": {
"description": "namespace for the generated code",
"replaces": "MyApp.Namespace",
"type": "parameter"
},
"no-pagemodel": {
"description": "create page without a PageModel",
"displayName": "Exclude PageModel",
"type": "parameter",
"datatype": "bool",
"defaultValue": "false"
},
"HostIdentifier": {
"type": "bind",
"binding": "HostIdentifier"
},
"NameIsPage": {
"type": "computed",
"value": "(name == \"Page\")"
}
},
"postActions": [
{
"id": "openInEditor",
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"description": "Opens Index.cshtml in the editor",
"manualInstructions": [ ],
"actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6",
"args": {
"files": "0"
},
"continueOnError": true
}
]
}
|