Skip to content

Commit 1747cb6

Browse files
committed
Update docs
1 parent f459f6d commit 1747cb6

File tree

5 files changed

+69
-8
lines changed

5 files changed

+69
-8
lines changed

MyApp/_pages/admin-ui-database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The Database Admin UI lets you quickly browse and navigate your App's configured
99
It can be enabled by registering the `AdminDatabaseFeature` plugin from [ServiceStack.Server](https://nuget.org/packages/ServiceStack.Server):
1010

1111
```csharp
12-
Plugins.Add(new AdminDatabaseFeature());
12+
services.AddPlugin(new AdminDatabaseFeature());
1313
```
1414

1515
Which without any additional configuration your App's configured databases will be listed on the home page, including their schemas, tables and any registered [named connections](/ormlite/getting-started#multiple-database-connections):

MyApp/_pages/admin-ui-features.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The [Redis Admin UI](/admin-ui-redis) lets you manage your App's configured Redi
5151
It can be enabled by registering the `AdminRedisFeature` plugin:
5252

5353
```csharp
54-
Plugins.Add(new AdminRedisFeature());
54+
services.AddPlugin(new AdminRedisFeature());
5555
```
5656

5757
Which will enable the **Redis** Admin UI:
@@ -71,7 +71,7 @@ The [Database Admin UI](/admin-ui-database) lets you quickly browse and navigate
7171
It can be enabled by registering the `AdminDatabaseFeature` plugin from [ServiceStack.Server](https://nuget.org/packages/ServiceStack.Server):
7272

7373
```csharp
74-
Plugins.Add(new AdminDatabaseFeature());
74+
services.AddPlugin(new AdminDatabaseFeature());
7575
```
7676

7777
Which will enable the **Database** Admin UI:

MyApp/_pages/admin-ui-redis.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,16 @@ The Redis Admin UI lets you manage your App's configured Redis Server with a use
66

77
<lite-youtube class="w-full mx-4 my-4" width="560" height="315" videoid="AACZtTOcQbg" style="background-image: url('https://img.youtube.com/vi/AACZtTOcQbg/maxresdefault.jpg')"></lite-youtube>
88

9-
It can be enabled by registering the `AdminRedisFeature` plugin:
9+
To add Redis support to your project:
10+
11+
:::sh
12+
x mix redis
13+
:::
14+
15+
Or if you already have Redis configured, enable it by registering the `AdminRedisFeature` plugin:
1016

1117
```csharp
12-
Plugins.Add(new AdminRedisFeature());
18+
services.AddPlugin(new AdminRedisFeature());
1319
```
1420

1521
### Redis Stats on Dashboard

MyApp/_pages/admin-ui.md

Lines changed: 57 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,16 @@ Explore the available Admin UIs to learn more about each of their capabilities:
3333

3434
Containing user management functionality for creating & modifying users, assigning Roles & Permissions, locking or updating passwords:
3535

36-
<a href="/admin-ui-users" class="not-prose">
36+
<a href="/admin-ui-identity-roles" class="not-prose">
3737
<div class="block p-4 rounded shadow hover:shadow-lg">
38-
<img src="/img/pages/admin-ui/users.png">
38+
<img src="/img/pages/admin-ui/identityauth-roles.webp">
3939
</div>
4040
</a>
4141

42+
Quick start:
43+
44+
Create a new [ASP.NET Identity Auth Template](https://servicestack.net/start).
45+
4246
### [Profiling & Logging UI](/admin-ui-profiling)
4347

4448
Enables invaluable observability into your App, from being able to quickly inspect and browse incoming requests, to tracing their behavior:
@@ -49,6 +53,24 @@ Enables invaluable observability into your App, from being able to quickly inspe
4953
</div>
5054
</a>
5155

56+
Enable Profiling:
57+
58+
:::copy
59+
x mix profiling
60+
:::
61+
62+
Enable RDBMS Request Logging:
63+
64+
:::copy
65+
x mix db-requestlogs
66+
:::
67+
68+
Enable SQLite Request Logging:
69+
70+
:::copy
71+
x mix sqlitelogs
72+
:::
73+
5274
### [Redis Admin](/admin-ui-redis)
5375

5476
Manage your App's configured Redis Server, query & edit core Redis data types and execute custom redis commands:
@@ -59,6 +81,12 @@ Manage your App's configured Redis Server, query & edit core Redis data types an
5981
</div>
6082
</a>
6183

84+
Quick start:
85+
86+
:::copy
87+
x mix redis
88+
:::
89+
6290
### [Database Admin](/admin-ui-database)
6391

6492
Quickly browse and navigate your App's configured RDBMS schemas and tables:
@@ -69,6 +97,12 @@ Quickly browse and navigate your App's configured RDBMS schemas and tables:
6997
</div>
7098
</a>
7199

100+
Quick start:
101+
102+
```csharp
103+
services.AddPlugin(new AdminDatabaseFeature());
104+
```
105+
72106
### [DB Validation UI](/admin-ui-validation)
73107

74108
Leverages the existing Declarative Validation infrastructure to enable dynamically managing Request DTO Type and Property Validators from a RDBMS data source
@@ -79,6 +113,27 @@ Leverages the existing Declarative Validation infrastructure to enable dynamical
79113
</div>
80114
</a>
81115

116+
Quick start:
117+
118+
:::copy
119+
x mix validation-source
120+
:::
121+
122+
### [AI Chat UI](/ai-chat-analytics)
123+
124+
A unified API for integrating multiple local and cloud LLMs into your applications providing financial visibility into your AI operations with interactive visualizations showing spending distribution across providers and models.
125+
126+
<a href="/ai-chat-analytics" class="not-prose">
127+
<div class="block p-4 rounded shadow hover:shadow-lg">
128+
<img src="/img/pages/ai-chat/admin-chat-costs.webp">
129+
</div>
130+
</a>
131+
132+
Quick start:
133+
134+
:::copy
135+
x mix chat
136+
:::
82137

83138
### Feedback
84139

MyApp/_pages/ormlite/multi-database-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public class ConfigureDb : IHostingStartup
7171
})
7272
.ConfigureAppHost(appHost => {
7373
// Enable built-in Database Admin UI at /admin-ui/database
74-
appHost.Plugins.Add(new AdminDatabaseFeature());
74+
appHost.services.AddPlugin(new AdminDatabaseFeature());
7575
});
7676
}
7777
```

0 commit comments

Comments
 (0)