Skip to content

Commit c013920

Browse files
authored
Merge pull request #963 from DuendeSoftware/mb/bff-templates
Add documentation for Duende BFF project templates
2 parents 3dc4ee3 + a10d2e1 commit c013920

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed

src/content/docs/bff/getting-started/blazor.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Blazor Applications
33
description: A walkthrough showing how to set up and configure a BFF (Backend For Frontend) application using Blazor
44
sidebar:
5-
order: 150
5+
order: 100
66
label: Blazor
77
redirect_from:
88
- /bff/v2/samples/bff/
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: Getting Started - Templates
3+
description: A guide on how to install the BFF project templates.
4+
sidebar:
5+
order: 200
6+
label: "Templates"
7+
---
8+
9+
Project templates for Duende BFF are shipped as part of the Duende .NET project templates.
10+
Refer the [templates documentation](/identityserver/overview/packaging.mdx#templates) for more information on how to install the templates.
11+
12+
## Available templates
13+
14+
### BFF Remote API
15+
16+
```shell
17+
dotnet new duende-bff-remoteapi
18+
```
19+
20+
Creates a basic JavaScript-based BFF host that configures and invokes a [remote API via the BFF proxy](/bff/fundamentals/apis/remote.mdx).
21+
22+
### BFF Local API
23+
24+
```shell
25+
dotnet new duende-bff-localapi
26+
```
27+
28+
Creates a basic JavaScript-based BFF host that invokes a [local API](/bff/fundamentals/apis/local.mdx) co-hosted with the BFF.
29+
30+
### BFF Blazor
31+
32+
```shell
33+
dotnet new duende-bff-blazor
34+
```
35+
36+
Creates a Blazor application that [uses the interactive auto render mode](/bff/fundamentals/blazor/index.md),
37+
and secures the application across all render modes consistently using Duende.BFF.Blazor.

src/content/docs/identityserver/overview/packaging.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,3 +263,6 @@ library.
263263

264264
[Please read our ASP.NET Identity documentation](/identityserver/aspnet-identity/index.md), to learn more about this integration.
265265

266+
### BFF Templates
267+
268+
For Duende BFF template description, refer the [Duende BFF project templates](/bff/getting-started/templates.mdx).

0 commit comments

Comments
 (0)