SpaApplicationBuilderExtensions 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.
Provides extension methods used for configuring an application to host a client-side Single Page Application (SPA).
public ref class SpaApplicationBuilderExtensions abstract sealed
public static class SpaApplicationBuilderExtensions
type SpaApplicationBuilderExtensions = class
Public Module SpaApplicationBuilderExtensions
- Inheritance
-
SpaApplicationBuilderExtensions
Methods
UseSpa(IApplicationBuilder, Action<ISpaBuilder>) |
Handles all requests from this point in the middleware chain by returning the default page for the Single Page Application (SPA). This middleware should be placed late in the chain, so that other middleware for serving static files, MVC actions, etc., takes precedence. |
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