Skip to content
This repository was archived by the owner on Dec 21, 2024. It is now read-only.

Commit 58f8b77

Browse files
committed
rename BFF projects/templates
1 parent 7289846 commit 58f8b77

29 files changed

+62
-62
lines changed

Duende.IdentityServer.Templates.sln

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.31112.23
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.6.33717.318
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IdentityServerEmpty", "src\IdentityServerEmpty\IdentityServerEmpty.csproj", "{D324CA74-877A-43AB-B978-38416BBE300A}"
77
EndProject
@@ -11,9 +11,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IdentityServerAspNetIdentit
1111
EndProject
1212
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IdentityServerEntityFramework", "src\IdentityServerEntityFramework\IdentityServerEntityFramework.csproj", "{46000F46-B039-49F3-AACD-42E4FBC11E94}"
1313
EndProject
14-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BffJs", "src\BffJs\BffJs.csproj", "{D471E5B4-1D16-4861-81B9-5DD4DC0786BA}"
14+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BffLocalApi", "src\BffLocalApi\BffLocalApi.csproj", "{B0948334-5301-41AF-864E-03D335E766B3}"
1515
EndProject
16-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GenericBFF", "src\GenericBFF\GenericBFF.csproj", "{E9A70AFB-7B75-46BF-BB47-F00B63D22618}"
16+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BffRemoteApi", "src\BffRemoteApi\BffRemoteApi.csproj", "{B1E3EDAC-9C5A-4D3B-A6D2-2A1AC0D16728}"
1717
EndProject
1818
Global
1919
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -37,14 +37,14 @@ Global
3737
{46000F46-B039-49F3-AACD-42E4FBC11E94}.Debug|Any CPU.Build.0 = Debug|Any CPU
3838
{46000F46-B039-49F3-AACD-42E4FBC11E94}.Release|Any CPU.ActiveCfg = Release|Any CPU
3939
{46000F46-B039-49F3-AACD-42E4FBC11E94}.Release|Any CPU.Build.0 = Release|Any CPU
40-
{D471E5B4-1D16-4861-81B9-5DD4DC0786BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
41-
{D471E5B4-1D16-4861-81B9-5DD4DC0786BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
42-
{D471E5B4-1D16-4861-81B9-5DD4DC0786BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
43-
{D471E5B4-1D16-4861-81B9-5DD4DC0786BA}.Release|Any CPU.Build.0 = Release|Any CPU
44-
{E9A70AFB-7B75-46BF-BB47-F00B63D22618}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
45-
{E9A70AFB-7B75-46BF-BB47-F00B63D22618}.Debug|Any CPU.Build.0 = Debug|Any CPU
46-
{E9A70AFB-7B75-46BF-BB47-F00B63D22618}.Release|Any CPU.ActiveCfg = Release|Any CPU
47-
{E9A70AFB-7B75-46BF-BB47-F00B63D22618}.Release|Any CPU.Build.0 = Release|Any CPU
40+
{B0948334-5301-41AF-864E-03D335E766B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
41+
{B0948334-5301-41AF-864E-03D335E766B3}.Debug|Any CPU.Build.0 = Debug|Any CPU
42+
{B0948334-5301-41AF-864E-03D335E766B3}.Release|Any CPU.ActiveCfg = Release|Any CPU
43+
{B0948334-5301-41AF-864E-03D335E766B3}.Release|Any CPU.Build.0 = Release|Any CPU
44+
{B1E3EDAC-9C5A-4D3B-A6D2-2A1AC0D16728}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
45+
{B1E3EDAC-9C5A-4D3B-A6D2-2A1AC0D16728}.Debug|Any CPU.Build.0 = Debug|Any CPU
46+
{B1E3EDAC-9C5A-4D3B-A6D2-2A1AC0D16728}.Release|Any CPU.ActiveCfg = Release|Any CPU
47+
{B1E3EDAC-9C5A-4D3B-A6D2-2A1AC0D16728}.Release|Any CPU.Build.0 = Release|Any CPU
4848
EndGlobalSection
4949
GlobalSection(SolutionProperties) = preSolution
5050
HideSolutionNode = FALSE

src/BffJs/.template.config/template.json

-19
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"author": "Duende Software",
3+
"classifications": [
4+
"Web",
5+
"IdentityServer"
6+
],
7+
"name": "Duende BFF using a Local API",
8+
"identity": "IdentityServer.BFF.LocalApi",
9+
"groupIdentity": "IdentityServer.BFF.LocalApi",
10+
"shortName": "bff-localapi",
11+
"tags": {
12+
"language": "C#",
13+
"type": "project"
14+
},
15+
16+
"sourceName": "BffLocalApi",
17+
"preferNameDirectory": "true",
18+
"primaryOutputs": [ { "path": "BffLocalApi.csproj" } ]
19+
}
File renamed without changes.

src/BffJs/HostingExtensions.cs src/BffLocalApi/HostingExtensions.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Duende.Bff.Yarp;
22
using Serilog;
33

4-
namespace BffJs;
4+
namespace BffLocalApi;
55

66
internal static class HostingExtensions
77
{
@@ -77,9 +77,9 @@ public static WebApplication ConfigurePipeline(this WebApplication app)
7777

7878
app.MapBffManagementEndpoints();
7979

80-
// enable proxying to remote API
81-
app.MapRemoteBffApiEndpoint("/remote", "https://demo.duendesoftware.com/api/test")
82-
.RequireAccessToken();
80+
// if you wanted to change this or enable a remote API, then you could .... enable proxying to remote API
81+
//app.MapRemoteBffApiEndpoint("/remote", "https://api.your-server.com/api/test")
82+
// .RequireAccessToken();
8383

8484
return app;
8585
}

src/BffJs/Program.cs src/BffLocalApi/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using BffJs;
1+
using BffLocalApi;
22
using Serilog;
33

44
Log.Logger = new LoggerConfiguration()

src/BffJs/ToDoController.cs src/BffLocalApi/ToDoController.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.AspNetCore.Mvc;
22

3-
namespace BffJs;
3+
namespace BffLocalApi;
44

55
public class ToDoController : ControllerBase
66
{
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"author": "Duende Software",
3+
"classifications": [
4+
"Web",
5+
"IdentityServer"
6+
],
7+
"name": "Duende BFF Host using a Remote API",
8+
"identity": "IdentityServer.BFF.RemoteApi",
9+
"groupIdentity": "IdentityServer.BFF.RemoteApi",
10+
"shortName": "bff-remoteapi",
11+
"tags": {
12+
"language": "C#",
13+
"type": "project"
14+
},
15+
"sourceName": "BffRemoteApi",
16+
"preferNameDirectory": "true",
17+
"primaryOutputs": [
18+
{
19+
"path": "BffRemoteApi.csproj"
20+
}
21+
]
22+
}
23+
}
File renamed without changes.

src/GenericBFF/Configuration.cs src/BffRemoteApi/Configuration.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Duende.Bff;
22

3-
namespace GenericBFF;
3+
namespace BffRemoteApi;
44

55
/// <summary>
66
/// Configuration section

src/GenericBFF/Program.cs src/BffRemoteApi/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Duende.Bff.Yarp;
2-
using GenericBFF;
2+
using BffRemoteApi;
33

44
var builder = WebApplication.CreateBuilder(args);
55

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/GenericBFF/.template.config/template.json

-23
This file was deleted.

0 commit comments

Comments
 (0)