YarpResourceExtensions 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 for adding YARP resources to the application model.
public static class YarpResourceExtensions
type YarpResourceExtensions = class
Public Module YarpResourceExtensions
- Inheritance
-
YarpResourceExtensions
Methods
AddYarp(IDistributedApplicationBuilder, String) |
Adds a YARP container to the application model. |
WithConfiguration(IResourceBuilder<YarpResource>, Action<IYarpConfigurationBuilder>) |
Configure the YARP resource. |
WithHostPort(IResourceBuilder<YarpResource>, Nullable<Int32>) |
Configures the host port that the YARP resource is exposed on instead of using randomly assigned port. |