January 2019
Intermediate to advanced
754 pages
18h 13m
English
PortBinding element in the application manifest can be used to configure the ports used for communication by the container. The binding maps the ports internal to the container to the ones open on the hosting machine. Following is an example:
<ServiceManifestImport> <ServiceManifestRef ServiceManifestName="FrontendServicePackage" ServiceManifestVersion="1.0"/> <Policies> <ContainerHostPolicies CodePackageRef="FrontendService.Code"> <PortBinding ContainerPort="8905"/> </ContainerHostPolicies> </Policies> </ServiceManifestImport>
Read now
Unlock full access