Update documentation for 10.1.0

This commit is contained in:
Jake Friedman 2021-05-03 14:20:35 -07:00
Родитель b3167d4e7e
Коммит c357bdf07d
8 изменённых файлов: 1013 добавлений и 18 удалений

Просмотреть файл

@ -0,0 +1,476 @@
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="description" content="Factory Orchestrator Documentation">
<meta name="author" content="themar-msft;hajya">
<link rel="canonical" href="https://microsoft.github.io/FactoryOrchestrator/ClientLibrary/Microsoft-FactoryOrchestrator-Client-FactoryOrchestratorClient-GetWdpHttpPort%28%29/">
<link rel="shortcut icon" href="../../images/fo-logo.png">
<meta name="generator" content="mkdocs-1.1.2, mkdocs-material-7.0.3">
<title>Microsoft FactoryOrchestrator Client FactoryOrchestratorClient GetWdpHttpPort() - Factory Orchestrator</title>
<link rel="stylesheet" href="../../assets/stylesheets/main.1655a90d.min.css">
<link rel="stylesheet" href="../../assets/stylesheets/palette.7fa14f5b.min.css">
<meta name="theme-color" content="#546d78">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700%7CRoboto+Mono&display=fallback">
<style>:root{--md-text-font-family:"Roboto";--md-code-font-family:"Roboto Mono"}</style>
</head>
<body dir="ltr" data-md-color-scheme="" data-md-color-primary="blue-grey" data-md-color-accent="amber">
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
<label class="md-overlay" for="__drawer"></label>
<div data-md-component="skip">
<a href="#microsoftfactoryorchestratorclient" class="md-skip">
Skip to content
</a>
</div>
<div data-md-component="announce">
</div>
<header class="md-header" data-md-component="header">
<nav class="md-header__inner md-grid" aria-label="Header">
<a href="https://microsoft.github.io/FactoryOrchestrator/" title="Factory Orchestrator" class="md-header__button md-logo" aria-label="Factory Orchestrator">
<img src="../../images/fo-logo.png" alt="logo">
</a>
<label class="md-header__button md-icon" for="__drawer">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2z"/></svg>
</label>
<div class="md-header__title" data-md-component="header-title">
<div class="md-header__ellipsis">
<div class="md-header__topic">
<span class="md-ellipsis">
Factory Orchestrator
</span>
</div>
<div class="md-header__topic" data-md-component="header-topic">
<span class="md-ellipsis">
Microsoft FactoryOrchestrator Client FactoryOrchestratorClient GetWdpHttpPort()
</span>
</div>
</div>
</div>
<div class="md-header__options">
</div>
<label class="md-header__button md-icon" for="__search">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
</label>
<div class="md-search" data-md-component="search" role="dialog">
<label class="md-search__overlay" for="__search"></label>
<div class="md-search__inner" role="search">
<form class="md-search__form" name="search">
<input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" data-md-state="active" required>
<label class="md-search__icon md-icon" for="__search">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
</label>
<button type="reset" class="md-search__icon md-icon" aria-label="Clear" tabindex="-1">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>
</button>
</form>
<div class="md-search__output">
<div class="md-search__scrollwrap" data-md-scrollfix>
<div class="md-search-result" data-md-component="search-result">
<div class="md-search-result__meta">
Initializing search
</div>
<ol class="md-search-result__list"></ol>
</div>
</div>
</div>
</div>
</div>
<div class="md-header__source">
<a href="https://github.com/microsoft/FactoryOrchestrator/" title="Go to repository" class="md-source" data-md-component="source">
<div class="md-source__icon md-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M439.55 236.05L244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
</div>
<div class="md-source__repository">
GitHub
</div>
</a>
</div>
</nav>
</header>
<div class="md-container" data-md-component="container">
<main class="md-main" data-md-component="main">
<div class="md-main__inner md-grid">
<div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" >
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
<label class="md-nav__title" for="__drawer">
<a href="https://microsoft.github.io/FactoryOrchestrator/" title="Factory Orchestrator" class="md-nav__button md-logo" aria-label="Factory Orchestrator">
<img src="../../images/fo-logo.png" alt="logo">
</a>
Factory Orchestrator
</label>
<div class="md-nav__source">
<a href="https://github.com/microsoft/FactoryOrchestrator/" title="Go to repository" class="md-source" data-md-component="source">
<div class="md-source__icon md-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M439.55 236.05L244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
</div>
<div class="md-source__repository">
GitHub
</div>
</a>
</div>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="../.." class="md-nav__link">
Overview
</a>
</li>
<li class="md-nav__item">
<a href="../../get-started-with-factory-orchestrator/" class="md-nav__link">
Get Started
</a>
</li>
<li class="md-nav__item">
<a href="../../tasks-and-tasklists/" class="md-nav__link">
Tasks & TaskLists
</a>
</li>
<li class="md-nav__item">
<a href="../../service-configuration/" class="md-nav__link">
Service configuration
</a>
</li>
<li class="md-nav__item">
<a href="../../use-the-factory-orchestrator-app/" class="md-nav__link">
Run using the application
</a>
</li>
<li class="md-nav__item">
<a href="../../use-the-factory-orchestrator-api/" class="md-nav__link">
Run using the client API
</a>
</li>
<li class="md-nav__item">
<a href="../../factory-orchestrator-client-usage-samples/" class="md-nav__link">
Client API samples
</a>
</li>
<li class="md-nav__item">
<a href="../Microsoft-FactoryOrchestrator-Client/" class="md-nav__link">
Client Library Class Reference
</a>
</li>
<li class="md-nav__item">
<a href="../../CoreLibrary/Microsoft-FactoryOrchestrator-Core/" class="md-nav__link">
Core Library Class Reference
</a>
</li>
<li class="md-nav__item">
<a href="../../uninstall-factory-orchestrator/" class="md-nav__link">
Uninstall Factory Orchestrator
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
<label class="md-nav__title" for="__toc">
<span class="md-nav__icon md-icon"></span>
Table of contents
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
<li class="md-nav__item">
<a href="#microsoftfactoryorchestratorclient" class="md-nav__link">
Microsoft.FactoryOrchestrator.Client
</a>
</li>
<li class="md-nav__item">
<a href="#microsoftfactoryorchestratorclientfactoryorchestratorclient" class="md-nav__link">
Microsoft.FactoryOrchestrator.Client.FactoryOrchestratorClient
</a>
</li>
<li class="md-nav__item">
<a href="#factoryorchestratorclientgetwdphttpport-method" class="md-nav__link">
FactoryOrchestratorClient.GetWdpHttpPort() Method
</a>
<nav class="md-nav" aria-label="FactoryOrchestratorClient.GetWdpHttpPort() Method">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#returns" class="md-nav__link">
Returns
</a>
</li>
</ul>
</nav>
</li>
</ul>
</nav>
</div>
</div>
</div>
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
<a href="https://github.com/microsoft/FactoryOrchestrator/edit/master/docs/ClientLibrary/Microsoft-FactoryOrchestrator-Client-FactoryOrchestratorClient-GetWdpHttpPort().md" title="Edit this page" class="md-content__button md-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83 3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75L3 17.25z"/></svg>
</a>
<h1>Microsoft FactoryOrchestrator Client FactoryOrchestratorClient GetWdpHttpPort()</h1>
<h4 id="microsoftfactoryorchestratorclient"><a href="../Microsoft-FactoryOrchestrator-Client/" title="Microsoft.FactoryOrchestrator.Client">Microsoft.FactoryOrchestrator.Client</a></h4>
<h3 id="microsoftfactoryorchestratorclientfactoryorchestratorclient"><a href="../Microsoft-FactoryOrchestrator-Client/" title="Microsoft.FactoryOrchestrator.Client">Microsoft.FactoryOrchestrator.Client</a>.<a href="../Microsoft-FactoryOrchestrator-Client-FactoryOrchestratorClient/" title="Microsoft.FactoryOrchestrator.Client.FactoryOrchestratorClient">FactoryOrchestratorClient</a></h3>
<h2 id="factoryorchestratorclientgetwdphttpport-method">FactoryOrchestratorClient.GetWdpHttpPort() Method</h2>
<p>Asynchronously Gets the Windows Device Portal HTTP port. Does not ensure WDP is running or supports HTTP. </p>
<pre><code class="language-csharp">public System.Threading.Tasks.Task&lt;int&gt; GetWdpHttpPort();
</code></pre>
<h4 id="returns">Returns</h4>
<p><a href="https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task-1" title="System.Threading.Tasks.Task">System.Threading.Tasks.Task&lt;</a><a href="https://docs.microsoft.com/en-us/dotnet/api/System.Int32" title="System.Int32">System.Int32</a><a href="https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task-1" title="System.Threading.Tasks.Task">&gt;</a><br />
The HTTP port. </p>
</article>
</div>
</div>
</main>
<footer class="md-footer">
<div class="md-footer-meta md-typeset">
<div class="md-footer-meta__inner md-grid">
<div class="md-footer-copyright">
Made with
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
Material for MkDocs
</a>
</div>
</div>
</div>
</footer>
</div>
<div class="md-dialog" data-md-component="dialog">
<div class="md-dialog__inner md-typeset"></div>
</div>
<script id="__config" type="application/json">{"base": "../..", "features": [], "translations": {"clipboard.copy": "Copy to clipboard", "clipboard.copied": "Copied to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.placeholder": "Type to start searching", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.term.missing": "Missing"}, "search": "../../assets/javascripts/workers/search.fb4a9340.min.js", "version": null}</script>
<script src="../../assets/javascripts/bundle.ca5457b8.min.js"></script>
</body>
</html>

Просмотреть файл

@ -0,0 +1,476 @@
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="description" content="Factory Orchestrator Documentation">
<meta name="author" content="themar-msft;hajya">
<link rel="canonical" href="https://microsoft.github.io/FactoryOrchestrator/CoreLibrary/Microsoft-FactoryOrchestrator-Core-IFactoryOrchestratorService-GetWdpHttpPort%28%29/">
<link rel="shortcut icon" href="../../images/fo-logo.png">
<meta name="generator" content="mkdocs-1.1.2, mkdocs-material-7.0.3">
<title>Microsoft FactoryOrchestrator Core IFactoryOrchestratorService GetWdpHttpPort() - Factory Orchestrator</title>
<link rel="stylesheet" href="../../assets/stylesheets/main.1655a90d.min.css">
<link rel="stylesheet" href="../../assets/stylesheets/palette.7fa14f5b.min.css">
<meta name="theme-color" content="#546d78">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700%7CRoboto+Mono&display=fallback">
<style>:root{--md-text-font-family:"Roboto";--md-code-font-family:"Roboto Mono"}</style>
</head>
<body dir="ltr" data-md-color-scheme="" data-md-color-primary="blue-grey" data-md-color-accent="amber">
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
<label class="md-overlay" for="__drawer"></label>
<div data-md-component="skip">
<a href="#microsoftfactoryorchestratorcore" class="md-skip">
Skip to content
</a>
</div>
<div data-md-component="announce">
</div>
<header class="md-header" data-md-component="header">
<nav class="md-header__inner md-grid" aria-label="Header">
<a href="https://microsoft.github.io/FactoryOrchestrator/" title="Factory Orchestrator" class="md-header__button md-logo" aria-label="Factory Orchestrator">
<img src="../../images/fo-logo.png" alt="logo">
</a>
<label class="md-header__button md-icon" for="__drawer">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2z"/></svg>
</label>
<div class="md-header__title" data-md-component="header-title">
<div class="md-header__ellipsis">
<div class="md-header__topic">
<span class="md-ellipsis">
Factory Orchestrator
</span>
</div>
<div class="md-header__topic" data-md-component="header-topic">
<span class="md-ellipsis">
Microsoft FactoryOrchestrator Core IFactoryOrchestratorService GetWdpHttpPort()
</span>
</div>
</div>
</div>
<div class="md-header__options">
</div>
<label class="md-header__button md-icon" for="__search">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
</label>
<div class="md-search" data-md-component="search" role="dialog">
<label class="md-search__overlay" for="__search"></label>
<div class="md-search__inner" role="search">
<form class="md-search__form" name="search">
<input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" data-md-state="active" required>
<label class="md-search__icon md-icon" for="__search">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
</label>
<button type="reset" class="md-search__icon md-icon" aria-label="Clear" tabindex="-1">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>
</button>
</form>
<div class="md-search__output">
<div class="md-search__scrollwrap" data-md-scrollfix>
<div class="md-search-result" data-md-component="search-result">
<div class="md-search-result__meta">
Initializing search
</div>
<ol class="md-search-result__list"></ol>
</div>
</div>
</div>
</div>
</div>
<div class="md-header__source">
<a href="https://github.com/microsoft/FactoryOrchestrator/" title="Go to repository" class="md-source" data-md-component="source">
<div class="md-source__icon md-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M439.55 236.05L244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
</div>
<div class="md-source__repository">
GitHub
</div>
</a>
</div>
</nav>
</header>
<div class="md-container" data-md-component="container">
<main class="md-main" data-md-component="main">
<div class="md-main__inner md-grid">
<div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" >
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
<label class="md-nav__title" for="__drawer">
<a href="https://microsoft.github.io/FactoryOrchestrator/" title="Factory Orchestrator" class="md-nav__button md-logo" aria-label="Factory Orchestrator">
<img src="../../images/fo-logo.png" alt="logo">
</a>
Factory Orchestrator
</label>
<div class="md-nav__source">
<a href="https://github.com/microsoft/FactoryOrchestrator/" title="Go to repository" class="md-source" data-md-component="source">
<div class="md-source__icon md-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M439.55 236.05L244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
</div>
<div class="md-source__repository">
GitHub
</div>
</a>
</div>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="../.." class="md-nav__link">
Overview
</a>
</li>
<li class="md-nav__item">
<a href="../../get-started-with-factory-orchestrator/" class="md-nav__link">
Get Started
</a>
</li>
<li class="md-nav__item">
<a href="../../tasks-and-tasklists/" class="md-nav__link">
Tasks & TaskLists
</a>
</li>
<li class="md-nav__item">
<a href="../../service-configuration/" class="md-nav__link">
Service configuration
</a>
</li>
<li class="md-nav__item">
<a href="../../use-the-factory-orchestrator-app/" class="md-nav__link">
Run using the application
</a>
</li>
<li class="md-nav__item">
<a href="../../use-the-factory-orchestrator-api/" class="md-nav__link">
Run using the client API
</a>
</li>
<li class="md-nav__item">
<a href="../../factory-orchestrator-client-usage-samples/" class="md-nav__link">
Client API samples
</a>
</li>
<li class="md-nav__item">
<a href="../../ClientLibrary/Microsoft-FactoryOrchestrator-Client/" class="md-nav__link">
Client Library Class Reference
</a>
</li>
<li class="md-nav__item">
<a href="../Microsoft-FactoryOrchestrator-Core/" class="md-nav__link">
Core Library Class Reference
</a>
</li>
<li class="md-nav__item">
<a href="../../uninstall-factory-orchestrator/" class="md-nav__link">
Uninstall Factory Orchestrator
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
<label class="md-nav__title" for="__toc">
<span class="md-nav__icon md-icon"></span>
Table of contents
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
<li class="md-nav__item">
<a href="#microsoftfactoryorchestratorcore" class="md-nav__link">
Microsoft.FactoryOrchestrator.Core
</a>
</li>
<li class="md-nav__item">
<a href="#microsoftfactoryorchestratorcoreifactoryorchestratorservice" class="md-nav__link">
Microsoft.FactoryOrchestrator.Core.IFactoryOrchestratorService
</a>
</li>
<li class="md-nav__item">
<a href="#ifactoryorchestratorservicegetwdphttpport-method" class="md-nav__link">
IFactoryOrchestratorService.GetWdpHttpPort() Method
</a>
<nav class="md-nav" aria-label="IFactoryOrchestratorService.GetWdpHttpPort() Method">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#returns" class="md-nav__link">
Returns
</a>
</li>
</ul>
</nav>
</li>
</ul>
</nav>
</div>
</div>
</div>
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
<a href="https://github.com/microsoft/FactoryOrchestrator/edit/master/docs/CoreLibrary/Microsoft-FactoryOrchestrator-Core-IFactoryOrchestratorService-GetWdpHttpPort().md" title="Edit this page" class="md-content__button md-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83 3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75L3 17.25z"/></svg>
</a>
<h1>Microsoft FactoryOrchestrator Core IFactoryOrchestratorService GetWdpHttpPort()</h1>
<h4 id="microsoftfactoryorchestratorcore"><a href="../Microsoft-FactoryOrchestrator-Core/" title="Microsoft.FactoryOrchestrator.Core">Microsoft.FactoryOrchestrator.Core</a></h4>
<h3 id="microsoftfactoryorchestratorcoreifactoryorchestratorservice"><a href="../Microsoft-FactoryOrchestrator-Core/" title="Microsoft.FactoryOrchestrator.Core">Microsoft.FactoryOrchestrator.Core</a>.<a href="../Microsoft-FactoryOrchestrator-Core-IFactoryOrchestratorService/" title="Microsoft.FactoryOrchestrator.Core.IFactoryOrchestratorService">IFactoryOrchestratorService</a></h3>
<h2 id="ifactoryorchestratorservicegetwdphttpport-method">IFactoryOrchestratorService.GetWdpHttpPort() Method</h2>
<p>Gets the Windows Device Portal HTTP port. Does not ensure WDP is running or supports HTTP. </p>
<pre><code class="language-csharp">int GetWdpHttpPort();
</code></pre>
<h4 id="returns">Returns</h4>
<p><a href="https://docs.microsoft.com/en-us/dotnet/api/System.Int32" title="System.Int32">System.Int32</a><br />
The HTTP port. </p>
</article>
</div>
</div>
</main>
<footer class="md-footer">
<div class="md-footer-meta md-typeset">
<div class="md-footer-meta__inner md-grid">
<div class="md-footer-copyright">
Made with
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
Material for MkDocs
</a>
</div>
</div>
</div>
</footer>
</div>
<div class="md-dialog" data-md-component="dialog">
<div class="md-dialog__inner md-typeset"></div>
</div>
<script id="__config" type="application/json">{"base": "../..", "features": [], "translations": {"clipboard.copy": "Copy to clipboard", "clipboard.copied": "Copied to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.placeholder": "Type to start searching", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.term.missing": "Missing"}, "search": "../../assets/javascripts/workers/search.fb4a9340.min.js", "version": null}</script>
<script src="../../assets/javascripts/bundle.ca5457b8.min.js"></script>
</body>
</html>

Просмотреть файл

@ -11,22 +11,44 @@ Once installed, the service can either be started manually (on demand) or config
![Image of service start](./images/service-start.png)
### Install the service on Windows
[Download](https://github.com/microsoft/FactoryOrchestrator/releases) and unzip the service for your target OS and architecture. Then use an Administrator PowerShell to run the included InstallFactoryOrchestratorService.ps1 file. If you want the service to start automatically every boot, use the -AutoStart switch. Without this switch the service must be started manually every boot.
[Download](https://github.com/microsoft/FactoryOrchestrator/releases) and unzip the service for 'win'(dows) and your target architecture. Then use an Administrator PowerShell to run the included InstallFactoryOrchestratorService.ps1 file. If you want the service to start automatically every boot, use the -AutoStart switch. Without this switch the service must be started manually every boot.
```PowerShell
## Optionally set its start up to automatic with: -AutoStart
# Optionally, set its start up to automatic with: -AutoStart
# Optionally, choose the installation directory with: -DestinationPath
.\InstallFactoryOrchestratorService.ps1 # -AutoStart -DestinationPath C:\FactoryOrchestrator
```
#### Execution Policy
If you see the following error, you need to set your ExecutionPolicy to RemoteSigned.
```PowerShell
File InstallFactoryOrchestratorService.ps1 cannot be loaded because running scripts is disabled on this system.
For more information, see about_Execution_Policies at https://go.microsoft.com/fwlink/?LinkID=135170.
```
Run the following command to temporarily allow you to run the install script:
```powershell
# Temporarily allow your PC to run signed scripts
Set-ExecutionPolicy RemoteSigned -Scope Process
# Then, you can install the service!
.\InstallFactoryOrchestratorService.ps1 # -AutoStart
```
### Start the service manually on Windows
#### Start the service manually on Windows
To start the service manually, run the following from an administrator PowerShell:
```PowerShell
Start-Service -Name "Microsoft.FactoryOrchestrator"
```
#### Windows UWP app support
If you want Factory Orchestrator to be able to install, launch, or exit Windows Store/UWP apps, your device must support running UWP apps and [Windows Device Portal](https://docs.microsoft.com/en-us/windows/uwp/debug-test-perf/device-portal) must be running on the device with [HTTP enabled & no authentication](https://docs.microsoft.com/en-us/windows/uwp/debug-test-perf/device-portal-desktop#turn-on-windows-device-portal).
![Image of WDP settings](./images/wdp-no-auth.png)
### Install the service on Linux
[Download](https://github.com/microsoft/FactoryOrchestrator/releases) and unzip the service for your target OS and architecture. Then run the included InstallFactoryOrchestratorService.sh file with bash as sudo. If you want the service to start automatically every boot, add an "enable" argument. Without this the service must be started manually every boot.
[Download](https://github.com/microsoft/FactoryOrchestrator/releases) and unzip the service for 'linux' and your target architecture. Then run the included InstallFactoryOrchestratorService.sh file with bash as sudo. If you want the service to start automatically every boot, add an "enable" argument. Without this the service must be started manually every boot.
```Bash
## Optionally set its start up to automatic with: enable
@ -35,7 +57,7 @@ To start the service manually, run the following from an administrator PowerShel
The install script requires the ["unzip"](https://linuxize.com/post/how-to-unzip-files-in-linux/#installing-unzip) command. If you prefer to use another command to unzip a .zip file, edit InstallFactoryOrchestratorService.sh, replacing "unzip" with your desired command.
### Start the service manually on Linux
#### Start the service manually on Linux
To start the service manually, run the following from bash:
```Bash

Двоичные данные
docs/docs/images/wdp-no-auth.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 11 KiB

Просмотреть файл

@ -1,11 +1,12 @@
# Factory Orchestrator service configuration using appsettings.json
The Factory Orchestrator service has many configurable settings that impact its startup behavior, enabled features, and more. This configuration is easily modified using an [appsettings.json file](https://docs.microsoft.com/en-us/dotnet/core/extensions/configuration-providers#json-configuration-provider).
The appsettings.json file is checked for in the following locations:
The appsettings.json file is checked for in the following locations in order, with the last appsettings.json file found 'winning' if there are conflicts:
- The directory where the service executable (Microsoft.FactoryOrchestrator.Service) is located
- The [service log file directory](#factory-orchestrator-service-log-file): `%ProgramData%\FactoryOrchestrator\` (Windows) or `/var/log/FactoryOrchestrator/`(Linux)
- (Linux only) The `/etc/FactoryOrchestrator/` directory
1. The directory where the service executable (Microsoft.FactoryOrchestrator.Service) is located
2. **(Windows only)** %DATADRIVE%\TestContent\Container\FactoryOrchestrator
3. The [service log file directory](#factory-orchestrator-service-log-file): `%ProgramData%\FactoryOrchestrator\` (Windows) or `/var/log/FactoryOrchestrator/`(Linux)
4. **(Linux only)** The `/etc/FactoryOrchestrator/` directory
The following table describes each setting and its usage:
@ -15,7 +16,7 @@ The following table describes each setting and its usage:
| RunInitialTaskListsOnFirstBoot | bool | If set to "true", the TaskLists defined by InitialTaskLists are run on first boot of the DUT (or the first time the service is run). They are not run on subsquent boots. |
| [FirstBootTasks](#initialtasklists-firstboottasks-and-everyboottasks) | string | Path to a [FactoryOrchestratorXML](tasks-and-tasklists.md#author-and-manage-factory-orchestrator-tasklists) file. These TaskLists are run once, and then "hidden", on the first boot of the DUT (or the first time the service is run). They are not run on subsquent boots. [See below for more details.](#initialtasklists-firstboottasks-and-everyboottasks) |
| [EveryBootTasks](#initialtasklists-firstboottasks-and-everyboottasks) | string | Path to a [FactoryOrchestratorXML](tasks-and-tasklists.md#author-and-manage-factory-orchestrator-tasklists) file. These TaskLists are run on every boot of the DUT, including first boot. They are then "hidden". [See below for more details.](#initialtasklists-firstboottasks-and-everyboottasks) |
| [EnableNetworkAccess](#network-access) | bool | If set to "true", the service will allow connections from clients/apps anywhere on your local network. **⚠ [See below for caveats.](#network-access) ⚠** |
| [EnableNetworkAccess](#network-access) | bool | If set to "true", the service will allow connections from clients/apps anywhere on your local network. Defaults to false. **⚠ [See below for more details.](#network-access) ⚠** |
| NetworkPort | int | The network port the service uses to communicate with clients, even local loopback clients. Defaults to 45684. |
| TaskRunLogFolder | string | Path of the directory where you want Task run logs saved. This setting is a first run default; it can be overriden at runtime by the [SetLogFolder](../ClientLibrary/Microsoft-FactoryOrchestrator-Client-FactoryOrchestratorClient-SetLogFolder%28string_bool%29/)() API. See [Tasks and Tasklists](tasks-and-tasklists.md#factory-orchestrator-task-log-files) for details about the log files for individual Task runs. |
| AllowedLocalLoopbackApps | string | **Windows only.** Semi-colon separated list of Windows app "Package Family Name"(s). The Factory Orchestrator service will enable local loopback on the given apps every boot. Requires "checknetisolation.exe" is found in your %PATH%. See [this Windows IoT page](https://docs.microsoft.com/en-us/windows/iot-core/develop-your-app/loopback#enabling-loopback-for-a-uwp-application) for more information.
@ -48,8 +49,8 @@ By default, the Factory Orchestrator service only allows client connections from
</b>
- ⚠ The service allows any client to connect to it without authentication. Any connected client has full access to the service's computer, including the ability to send or copy files, and/or run any command or program with administrator rights. ⚠ (The service has SSL encryption, but it is server-only, clients are not authenticated.)
- ⚠ If you "install" the service, the service may be configured to run from boot. Depending on the configuration the service may even be running before a user has logged on to the computer. ⚠
- ⚠ Once network access is enabled, it will remain enabled until the changes to enable network access are [reverted](#disable-network-access). ⚠
- ⚠ If you configure the service to automatically start, the service is configured to run from boot. Depending on the service & PC configuration it may even be running before a user has logged on to the computer. ⚠
- ⚠ Once network access is enabled, it will remain enabled until "EnableNetworkAccess" is set to "false" and the service is restarted. ⚠
- ⚠ The service and client send information over the network in SSL encrypted JSON using TCP. It is vulnerable to man-in-the-middle attacks, as the service defaults to a predefined SSL certificate unless a custom certificate is used. ⚠
- ⚠ The service currently has minimal logging about what clients are connected to it and what commands each client has executed. ⚠
@ -61,7 +62,7 @@ To check if network access is currently enabled use one of the following:
- The [IsNetworkAccessEnabled](../ClientLibrary/Microsoft-FactoryOrchestrator-Client-FactoryOrchestratorClient-IsNetworkAccessEnabled%28%29/) API.
### Firewall configuration
Depending on the configuration of OS you are running the Factory Orchestrator service on, you may need to configure the firewall to allow Factory Orchestrator service to communicate over your locl network.
Depending on the configuration of the OS you are using, you may need to configure the firewall to allow the Factory Orchestrator service to communicate over your locl network.
On Windows, run the following command from an Administrator PowerShell window:

Просмотреть файл

@ -31,7 +31,7 @@ Factory Orchestrator TaskLists allow adding different types of tasks:
- **UWP**
**Windows Only.** Allows you to run a UWP app as a task.
**Windows Only.** Allows you to run a UWP app as a task. See [here](get-started-with-factory-orchestrator.md#windows-uwp-app-support) for setup requirments.
UWP apps cannot take arguments (though you can use arguments to pass info to the operator about the goal of the Task), nor can they automatically return a pass/fail result. Instead, the operator must manually specify if the app passed or failed via the UpdateTaskRun() API or via a result prompt that the Factory Orchestrator App launches when the app exits. If using the app, the operator must manually specify if the task passed or failed via a result prompt that the Factory Orchestrator App launches when the app exits, like is shown on this screen:
@ -39,8 +39,6 @@ Factory Orchestrator TaskLists allow adding different types of tasks:
The Factory Orchestrator service can launch apps even if the Factory Orchestrator app isn't running.
UWP App tasks will only run on DUTs booted into an environment that supports UWP apps.
- **External**
These are tasks that require interaction from a technician before completing. These types of tasks could be used to tell a technician to connect a cable, check a device for scratches, move the device to the next station, etc.

Просмотреть файл

@ -9,6 +9,22 @@ To uninstall the service, run the following from an administrator PowerShell:
. "$env:ProgramFiles\FactoryOrchestrator\UninstallFactoryOrchestratorService.ps1"
```
If you installed the service to a different directory, use that above.
#### Execution Policy
If you see the following error, you need to set your ExecutionPolicy to RemoteSigned.
```File UninstallFactoryOrchestratorService.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https://go.microsoft.com/fwlink/?LinkID=135170.```
To resolve it, run the following command to temporarily allow you to run the install script:
```powershell
# Temporarily allow your PC to run signed scripts
Set-ExecutionPolicy RemoteSigned -Scope Process
# Then, you can install the service!
.\UninstallFactoryOrchestratorService.ps1 # -AutoStart
```
## Uninstall the app on Windows
To uninstall the app [follow these directions](https://support.microsoft.com/en-us/windows/uninstall-or-remove-apps-and-programs-in-windows-10-4b55f974-2cc6-2d2b-d092-5905080eaf98).

Просмотреть файл

@ -128,7 +128,13 @@ The Factory Orchestrator app also includes some basic utilities intended as a st
This launches a UWP app that's installed on a device under test (DUT). This allows you to launch a UWP directly from the Factory Orchestrator app by clicking on its name in the list of installed UWP apps.
Your device must be configured to launch into an environment that supports launching UWP apps and Windows Device Portal must be running on the device with [HTTP & no authentication](https://docs.microsoft.com/en-us/windows/uwp/debug-test-perf/device-portal-desktop#turn-on-windows-device-portal).
See [here](get-started-with-factory-orchestrator.md#windows-uwp-app-support) for setup requirments.
## Windows Device Portal (Windows only)
This launches [Windows Device Portal](https://docs.microsoft.com/en-us/windows/uwp/debug-test-perf/device-portal).
See [here](get-started-with-factory-orchestrator.md#windows-uwp-app-support) for setup requirments.
## Command Prompt
@ -143,7 +149,7 @@ While you can run commands and see output when using the built-in command prompt
A very basic file transfer function that enables you to transfer files & folders to and from your device when you're connected from a Windows PC. This feature is not visible in the Factory Orchestrator app when running the app and service on the same device (the "Transfer Files" tab will be hidden).
### One-time setup
### One-time setup for file transfer
First, [install the Factory Orchestrator app](get-started-with-factory-orchestrator.md#install-the-app) on a Windows system that is __not running the Factory Orchestrator service__.