Skip to content

Commit ea9a7a7

Browse files
authored
rename to Sharp App (#2)
* rename to Sharp App * rename to Sharp App
1 parent a771e4b commit ea9a7a7

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

index.html

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
title: Web App Plugins
2+
title: Sharp App Plugins
33
-->
44

55
{{ 'nameContains,tab' | importRequestParams }}
@@ -16,7 +16,7 @@
1616
<a href="https://sharpscript.net/docs/methods">Script Methods</a>
1717
<a href="https://sharpscript.net/docs/code-pages">Sharp Code Pages</a>,
1818
<a href="https://docs.servicestack.net/validation">Validators</a>, etc.
19-
contained within <b>.dll's</b> or <b>.exe's</b> dropped in a Web App's
19+
contained within <b>.dll's</b> or <b>.exe's</b> dropped in a Sharp App's
2020
<a href="https://github.com/NetCoreApps/WebApp/tree/master/src/apps/plugins/plugins">/plugins</a> folder which are auto-registered
2121
on startup. This source code for plugins used in this App were built from the .NET Core 2.1 projects in the
2222
<a href="https://github.com/NetCoreApps/WebApp/tree/master/src/example-plugins">/example-plugins</a> folder.
@@ -108,53 +108,60 @@ <h3>ScriptInfo Plugin</h3>
108108
}
109109
</style>
110110

111-
{{ 6 | to => rows }}
111+
{{ 8 | to => rows }}
112112
<div class="tab-content">
113113
<div class="tab-pane" id="default-scripts" role="tabpanel">
114114
{{ "live-template" | partial({ rows, className, template:`{{ 'DefaultScripts' | to => method }}
115-
{{ method | methodsAvailable | where => it.Name.lower().contains((nameContains ?? '').lower()) | to => methods }}
115+
{{ method | methodsAvailable | where => it.Name.lower().contains((nameContains ?? '').lower())
116+
| to => methods }}
116117
<table class="table table-striped"><caption>{{ method | methodLinkToSrc }}</caption>
117118
{{#each methods}}<tr><td>{{FirstParam}}</td><td>{{Body}}</td><td>{{Return}}</td></tr>{{/each}}
118119
</table>` }) }}
119120
</div>
120121
<div class="tab-pane" id="html-scripts" role="tabpanel">
121122
{{ "live-template" | partial({ rows, className, template:`{{ 'HtmlScripts' | to => method }}
122-
{{ method | methodsAvailable | where => it.Name.lower().contains((nameContains ?? '').lower()) | to => methods }}
123+
{{ method | methodsAvailable | where => it.Name.lower().contains((nameContains ?? '').lower())
124+
| to => methods }}
123125
<table class="table table-striped"><caption>{{ method | methodLinkToSrc }}</caption>
124126
{{#each methods}}<tr><td>{{FirstParam}}</td><td>{{Body}}</td><td>{{Return}}</td></tr>{{/each}}
125127
</table>` }) }}
126128
</div>
127129
<div class="tab-pane" id="protected-scripts" role="tabpanel">
128130
{{ "live-template" | partial({ rows, className, template:`{{ 'ProtectedScripts' | to => method }}
129-
{{ method | methodsAvailable | where => it.Name.lower().contains((nameContains ?? '').lower()) | to => methods }}
131+
{{ method | methodsAvailable | where => it.Name.lower().contains((nameContains ?? '').lower())
132+
| to => methods }}
130133
<table class="table table-striped"><caption>{{ method | methodLinkToSrc }}</caption>
131134
{{#each methods}}<tr><td>{{FirstParam}}</td><td>{{Body}}</td><td>{{Return}}</td></tr>{{/each}}
132135
</table>` }) }}
133136
</div>
134137
<div class="tab-pane" id="info-scripts" role="tabpanel">
135138
{{ "live-template" | partial({ rows, className, template:`{{ 'InfoScripts' | to => method }}
136-
{{ method | methodsAvailable | where => it.Name.lower().contains((nameContains ?? '').lower()) | to => methods }}
139+
{{ method | methodsAvailable | where => it.Name.lower().contains((nameContains ?? '').lower())
140+
| to => methods }}
137141
<table class="table table-striped"><caption>{{ method | methodLinkToSrc }}</caption>
138142
{{#each methods}}<tr><td>{{FirstParam}}</td><td>{{Body}}</td><td>{{Return}}</td></tr>{{/each}}
139143
</table>` }) }}
140144
</div>
141145
<div class="tab-pane" id="redis-scripts" role="tabpanel">
142146
{{ "live-template" | partial({ rows, className, template:`{{ 'RedisScripts' | to => method }}
143-
{{ method | methodsAvailable | where => it.Name.lower().contains((nameContains ?? '').lower()) | to => methods }}
147+
{{ method | methodsAvailable | where => it.Name.lower().contains((nameContains ?? '').lower())
148+
| to => methods }}
144149
<table class="table table-striped"><caption>{{ method | methodLinkToSrc }}</caption>
145150
{{#each methods}}<tr><td>{{FirstParam}}</td><td>{{Body}}</td><td>{{Return}}</td></tr>{{/each}}
146151
</table>` }) }}
147152
</div>
148153
<div class="tab-pane" id="db-scripts" role="tabpanel">
149154
{{ "live-template" | partial({ rows, className, template:`{{ 'DbScriptsAsync' | to => method }}
150-
{{ method | methodsAvailable | where => it.Name.lower().contains((nameContains ?? '').lower()) | to => methods }}
155+
{{ method | methodsAvailable | where => it.Name.lower().contains((nameContains ?? '').lower())
156+
| to => methods }}
151157
<table class="table table-striped"><caption>{{ method | methodLinkToSrc }}</caption>
152158
{{#each methods}}<tr><td>{{FirstParam}}</td><td>{{Body}}</td><td>{{Return}}</td></tr>{{/each}}
153159
</table>` }) }}
154160
</div>
155161
<div class="tab-pane" id="ss-scripts" role="tabpanel">
156162
{{ "live-template" | partial({ rows, className, template:`{{ 'ServiceStackScripts' | to => method }}
157-
{{ method | methodsAvailable | where => it.Name.lower().contains((nameContains ?? '').lower()) | to => methods }}
163+
{{ method | methodsAvailable | where => it.Name.lower().contains((nameContains ?? '').lower())
164+
| to => methods }}
158165
<table class="table table-striped"><caption>{{ method | methodLinkToSrc }}</caption>
159166
{{#each methods}}<tr><td>{{FirstParam}}</td><td>{{Body}}</td><td>{{Return}}</td></tr>{{/each}}
160167
</table>` }) }}
@@ -394,7 +401,7 @@ <h3>ServiceStack Features</h3>
394401
</p>
395402

396403
<pre class="settings"><code>debug true
397-
name Web App Plugins
404+
name Sharp App Plugins
398405
port 5000
399406
contentRoot ~/../plugins
400407
webRoot ~/../plugins
@@ -404,7 +411,7 @@ <h3>ServiceStack Features</h3>
404411
</code></pre>
405412

406413
<p>
407-
All plugins listed in <em>features</em> will be added to your Web App's AppHost in the order they're specified. They can further customized
414+
All plugins listed in <em>features</em> will be added to your Sharp App's AppHost in the order they're specified. They can further customized
408415
by adding a separate config entry with the Plugin Name and a JavaScript Object literal to populate the Plugin at registration, e.g
409416
the config above is equivalent to:
410417
</p>
@@ -463,7 +470,7 @@ <h4>Built-in Plugins</h4>
463470
</p>
464471

465472
<p>
466-
Other optional plugins registered in this Web App is the metadata Services required for
473+
Other optional plugins registered in this App is the metadata Services required for
467474
<a href="https://docs.servicestack.net/openapi">Open API</a>,
468475
<a href="https://docs.servicestack.net/postman">Postman</a> as well as
469476
<a href="https://docs.servicestack.net/corsfeature">support for CORS</a>.

0 commit comments

Comments
 (0)