You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspnetcore/migration/fx-to-core/areas/authentication.md
-21Lines changed: 0 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -181,8 +181,6 @@ There are just a few small code changes needed to enable remote authentication i
181
181
182
182
First, follow the [remote app setup](xref:migration/fx-to-core/inc/remote-app-setup) instructions to connect the ASP.NET Core and ASP.NET apps. Then, there are just a couple extra extension methods to call to enable remote app authentication.
183
183
184
-
:::zone pivot="manual"
185
-
186
184
#### ASP.NET app configuration
187
185
188
186
The ASP.NET app needs to be configured to add the authentication endpoint. Adding the authentication endpoint is done by calling the `AddAuthenticationServer` extension method to set up the HTTP module that watches for requests to the authentication endpoint. Note that remote authentication scenarios typically want to add proxy support as well, so that any authentication related redirects correctly route to the ASP.NET Core app rather than the ASP.NET one.
@@ -197,25 +195,6 @@ Next, the ASP.NET Core app needs to be configured to enable the authentication h
197
195
198
196
The boolean that is passed to the `AddAuthenticationClient` call specifies whether remote app authentication should be the default authentication scheme. Passing `true` will cause the user to be authenticated via remote app authentication for all requests, whereas passing `false` means that the user will only be authenticated with remote app authentication if the remote app scheme is specifically requested (with `[Authorize(AuthenticationSchemes = RemoteAppAuthenticationDefaults.AuthenticationScheme)]` on a controller or action method, for example). Passing false for this parameter has the advantage of only making HTTP requests to the original ASP.NET app for authentication for endpoints that require remote app authentication but has the disadvantage of requiring annotating all such endpoints to indicate that they will use remote app auth.
199
197
200
-
:::zone-end
201
-
202
-
:::zone pivot="aspire"
203
-
When using Aspire, the configuration will be done via environment variables and are set by the AppHost. To enable remote session, the option must be enabled:
When using Aspire, the configuration will be done via environment variables and are set by the AppHost. To enable remote session, the option must be enabled:
Copy file name to clipboardExpand all lines: aspnetcore/migration/fx-to-core/inc/remote-app-setup.md
-192Lines changed: 0 additions & 192 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,6 @@ monikerRange: '>= aspnetcore-6.0'
7
7
ms.date: 11/9/2022
8
8
ms.topic: article
9
9
uid: migration/fx-to-core/inc/remote-app-setup
10
-
zone_pivot_groups: migration-remote-app-setup
11
10
---
12
11
13
12
# Remote app setup
@@ -27,8 +26,6 @@ Common scenarios this enables:
27
26
>
28
27
> The virtual directory setup is used for route generation, authorization, and other services within the system. At this point, no reliable method has been found to enable different virtual directories due to how ASP.NET Framework works.
29
28
30
-
:::zone pivot="manual"
31
-
32
29
To enable the ASP.NET Core app to communicate with the ASP.NET app, it's necessary to make a couple small changes to each app.
33
30
34
31
You need to configure two configuration values in both applications:
@@ -147,195 +144,6 @@ To enable proxying from the ASP.NET Core application to the ASP.NET Framework ap
1. Configuretheoptionsoftheincrementalmigrationfallbackfor the scenarios you want to support.
200
-
201
-
## Configure ServiceDefaults to support ASP.NET Framework
202
-
203
-
1. Add the package `Aspire.Microsoft.AspNetCore.SystemWebAdapters` to your application.
204
-
1. Update the ServiceDefaults project to support .NET Framework. This is based off of the default ServiceDefaults and may different if you have customized anything.
0 commit comments