註冊您的應用程式Register your application

若要為您的應用程式使用自訂決策服務,請在入口網站上進行註冊。To use Custom Decision Service for your application, register it on the portal. 本文說明執行方法。This article explains how.

  1. 移至自訂決策服務的首頁Go to the front page of Custom Decision Service. 在功能區中,按一下 [我的入口網站],如映像中反白顯示的部分:On the ribbon, click My Portal, as highlighted in the image:

    我的入口網站

    如果您尚未登入,入口網站會提示您使用 Microsoft 帳戶登入。If you are not already signed in, the portal prompts you to sign in with your Microsoft account. 登入之後,入口網站會在頁面右上角顯示您的 Microsoft 帳戶。After you have signed in, the portal displays your Microsoft account in the upper-right corner of the page.

  2. 若要註冊您的應用程式,請按一下 [新應用程式] 按鈕。To register your application, click the New App button.

  3. 在對話方塊中,選擇您應用程式的「應用程式識別碼」。In the dialog box, choose an App ID for your application. 自訂決策服務要求每個應用程式只能有一個唯一識別碼。Custom Decision Service requires a unique ID for each application. 如果其他人已使用此識別碼,系統會要求您選取另一個識別碼。If someone else has already taken this ID, the system asks you to pick a different one.

  4. 指定動作集合 API。Specify an Action Set API. 這項設定是 RSS 或 Atom 摘要,用於將應用程式的可用內容傳遞至自訂決策服務。This setting is an RSS or Atom feed that communicates the available content for your application to Custom Decision Service. 輸入摘要的名稱,然後輸入提供該摘要的 URL。Enter a name for the feed, and enter the URL from which it is served. 若要稍後執行此步驟,請按一下 [摘要] 按鈕,然後按一下 [新摘要] 按鈕。To do this step later, click the Feeds button and then click the New feed button. 稍後會說明建立 RSS 摘要的範例。An example that creates an RSS feed is described later.

  5. 若要註冊您的應用程式,請選取左下角的 [自訂應用程式] 核取方塊。To register your application, select the Custom App check box in the lower-left corner. 為記錄應用程式資料的 Azure 儲存體帳戶輸入連接字串Enter a connection string for the Azure storage account where your application data is logged. 如需如何建立儲存體帳戶的詳細資訊,請參閱如何建立、管理或刪除儲存體帳戶For more information on how to create a storage account, see How to create, manage, or delete a storage account.

後續步驟Next steps