Dela via


AngularCliMiddlewareExtensions Class

Definition

Extension methods for enabling Angular CLI middleware support.

public ref class AngularCliMiddlewareExtensions abstract sealed
public static class AngularCliMiddlewareExtensions
type AngularCliMiddlewareExtensions = class
Public Module AngularCliMiddlewareExtensions
Inheritance
AngularCliMiddlewareExtensions

Methods

UseAngularCliServer(ISpaBuilder, String)

Handles requests by passing them through to an instance of the Angular CLI server. This means you can always serve up-to-date CLI-built resources without having to run the Angular CLI server manually.

This feature should only be used in development. For production deployments, be sure not to enable the Angular CLI server.

Applies to