SpaProxyingExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods for proxying requests to a local SPA development server during development. Not for use in production applications.
public ref class SpaProxyingExtensions abstract sealed
public static class SpaProxyingExtensions
type SpaProxyingExtensions = class
Public Module SpaProxyingExtensions
- Inheritance
-
SpaProxyingExtensions
Methods
UseProxyToSpaDevelopmentServer(ISpaBuilder, Func<Task<Uri>>) |
Configures the application to forward incoming requests to a local Single Page Application (SPA) development server. This is only intended to be used during development. Do not enable this middleware in production applications. |
UseProxyToSpaDevelopmentServer(ISpaBuilder, String) |
Configures the application to forward incoming requests to a local Single Page Application (SPA) development server. This is only intended to be used during development. Do not enable this middleware in production applications. |
UseProxyToSpaDevelopmentServer(ISpaBuilder, Uri) |
Configures the application to forward incoming requests to a local Single Page Application (SPA) development server. This is only intended to be used during development. Do not enable this middleware in production applications. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for