{"id":15648,"date":"2020-08-07T04:24:08","date_gmt":"2020-08-07T04:24:08","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=15648"},"modified":"2022-03-11T10:06:59","modified_gmt":"2022-03-11T10:06:59","slug":"configure-an-app-service-app","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/configure-an-app-service-app\/","title":{"rendered":"Configure an App Service app"},"content":{"rendered":"\n<p>This tutorial will help you to Configure an App Service app. This topic details about how to configure common settings for web apps, mobile back end, or API app with the help of the&nbsp;Azure portal.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configure-app-settings\"><strong>Configure app settings<\/strong><\/h3>\n\n\n\n<p>App settings are variables passed as environment variables to the application code In App Service. App Service passes app settings to the container using the&nbsp;<code>--env<\/code>&nbsp;flag to set the environment variable in the container For Linux apps and custom containers.<\/p>\n\n\n\n<p>Firstly, In the&nbsp;Azure portal, search for and choose&nbsp;<strong>App Services<\/strong>, and then choose your app.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/en-us\/azure\/app-service\/media\/configure-common\/search-for-app-services.png\" alt=\"Search for App Services\"\/><\/figure><\/div>\n\n\n\n<p>In the app&#8217;s left menu, choose&nbsp;<strong>Configuration<\/strong>&nbsp;&gt;&nbsp;<strong>Application settings<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/en-us\/azure\/app-service\/media\/configure-common\/open-ui.png\" alt=\"Application Settings\"\/><\/figure><\/div>\n\n\n\n<p>Follow these isntructions For ASP.NET and ASP.NET Core developers, setting app settings in App Service are like setting them in&nbsp;<code>&lt;appSettings&gt;<\/code>&nbsp;in&nbsp;<em>Web.config<\/em>&nbsp;or&nbsp;<em>appsettings.json<\/em>, but the values in App Service override the ones in&nbsp;<em>Web.config<\/em>&nbsp;or&nbsp;<em>appsettings.json<\/em>.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"show-hidden-values\"><strong>Show hidden values<\/strong><\/h3>\n\n\n\n<p>By default, values for app settings are set as hidden in the portal for security. To watch a hidden value of an app setting, choose the&nbsp;<strong>Value<\/strong>&nbsp;field of that setting. To see the values of all app settings, select the&nbsp;<strong>Show value<\/strong>&nbsp;button.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"add-or-edit\"><strong>Add or edit<\/strong><\/h3>\n\n\n\n<p>To add a new app setting, choose&nbsp;<strong>New application setting<\/strong>. In the dialog, you can&nbsp;stick the setting to the current slot.<\/p>\n\n\n\n<p>Also, To edit a setting, choose the&nbsp;<strong>Edit<\/strong>&nbsp;button on the right side.<\/p>\n\n\n\n<p>Finally, When you are finished, click&nbsp;<strong>Update<\/strong>. Don&#8217;t forget to choose&nbsp;<strong>Save<\/strong>&nbsp;back in the&nbsp;<strong>Configuration<\/strong>&nbsp;page.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configure-connection-strings\"><strong>Configure connection strings<\/strong><\/h3>\n\n\n\n<p>Visit the&nbsp;Azure portal, search for and select&nbsp;<strong>App Services<\/strong>, and then choose your app. In the app&#8217;s left menu, choose&nbsp;<strong>Configuration<\/strong>&nbsp;&gt;&nbsp;<strong>Application settings<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/en-us\/azure\/app-service\/media\/configure-common\/open-ui.png\" alt=\"Application Settings\"\/><figcaption>Image source &#8211; Microsoft<\/figcaption><\/figure><\/div>\n\n\n\n<p>Now, For ASP.NET and ASP.NET Core developers, setting connection strings in App Service are like setting them in&nbsp;<code>&lt;connectionStrings&gt;<\/code>&nbsp;in&nbsp;<em>Web.config<\/em>, but the values you set in App Service override the ones in&nbsp;<em>Web.config<\/em>.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"show-hidden-values-1\"><strong>Show hidden values<\/strong><\/h3>\n\n\n\n<p>By default, values for connection strings are set to hidden in the portal for security. To see a hidden value of a connection string, just choose the&nbsp;<strong>Value<\/strong>&nbsp;field of that string. To see the values of all connection strings, choose the&nbsp;<strong>Show value<\/strong>&nbsp;button.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"add-or-edit-1\"><strong>Add or edit<\/strong><\/h3>\n\n\n\n<p>To add a new connection string, choose&nbsp;<strong>New connection string<\/strong>. In the dialog, you can also&nbsp;stick the connection string to the current slot.<\/p>\n\n\n\n<p>To edit a setting, choose the&nbsp;<strong>Edit<\/strong>&nbsp;button on the right side.<\/p>\n\n\n\n<p>When finished, choose&nbsp;<strong>Update<\/strong>. Don&#8217;t forget to choose&nbsp;<strong>Save<\/strong>&nbsp;back in the&nbsp;<strong>Configuration<\/strong>&nbsp;page.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"edit-in-bulk-1\"><strong>Edit in bulk<\/strong><\/h3>\n\n\n\n<p>To add or edit connection strings in bulk, choose the&nbsp;<strong>Advanced edit<\/strong>&nbsp;button. Finally, When you are finished, click&nbsp;<strong>Update<\/strong>. Don&#8217;t forget to choose&nbsp;<strong>Save<\/strong>&nbsp;back in the&nbsp;<strong>Configuration<\/strong>&nbsp;page.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configure-general-settings\"><strong>Configure general settings<\/strong><\/h3>\n\n\n\n<p>visit the&nbsp;Azure portal, search for and select&nbsp;<strong>App Services<\/strong>, and then choose your app. In the app&#8217;s left menu, choose&nbsp;<strong>Configuration<\/strong>&nbsp;&gt;&nbsp;<strong>General settings<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/en-us\/azure\/app-service\/media\/configure-common\/open-general.png\" alt=\"General settings\"\/><figcaption>Image source &#8211; Microsoft<\/figcaption><\/figure><\/div>\n\n\n\n<p>Here, you can configure some common settings for the app if you wish to. Some settings require you to&nbsp;scale up to higher pricing tiers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configure-default-documents\"><strong>Configure default documents<\/strong><\/h3>\n\n\n\n<p>This setting is only supported for Windows apps.<\/p>\n\n\n\n<p>visit the&nbsp;Azure portal, search for and select&nbsp;<strong>App Services<\/strong>, and then choose your app. In the app&#8217;s left menu, choose&nbsp;<strong>Configuration<\/strong>&nbsp;&gt;&nbsp;<strong>Default documents<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/en-us\/azure\/app-service\/media\/configure-common\/open-documents.png\" alt=\"Default documents\"\/><figcaption>Image source &#8211; Microsoft<\/figcaption><\/figure><\/div>\n\n\n\n<p>The default document is the web page that&#8217;s displayed at the root URL for a website. The first matching file in the list represents used file. To add a new default document, choose&nbsp;<strong>New document<\/strong>. Don&#8217;t forget to choose <strong>Save<\/strong>.<\/p>\n\n\n\n<p>If the app uses modules that route based on URL instead of serving static content, there is no need for default documents.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configure-path-mappings\"><strong>Configure path mappings<\/strong><\/h3>\n\n\n\n<p>Visit the&nbsp;Azure portal, search for and choose&nbsp;<strong>App Services<\/strong>, and then choose your app. In the app&#8217;s left menu, choose <strong>Configuration<\/strong>&nbsp;&gt;&nbsp;<strong>Path mappings<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/en-us\/azure\/app-service\/media\/configure-common\/open-path.png\" alt=\"Path mappings\"\/><figcaption>Image source &#8211; Microsoft<\/figcaption><\/figure><\/div>\n\n\n\n<p>The&nbsp;<strong>Path mappings<\/strong>&nbsp;page will show you different things based on the OS type.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.testpreptraining.ai\/microsoft-azure-architect-technologies-az-303-free-practice-test\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" width=\"960\" height=\"150\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/07\/Untitled-design-5.png\" alt=\"free practice test for AZ- 303\" class=\"wp-image-13928\" srcset=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/07\/Untitled-design-5.png 960w, https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/07\/Untitled-design-5-750x117.png 750w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/a><\/figure><\/div>\n\n\n\n<p><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-303-microsoft-azure-architect-technologies\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Go back to home page <\/strong><\/a><\/p>\n\n\n\n<p class=\"has-text-align-right\"><strong>Reference documentation &#8211; <\/strong><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/app-service\/configure-common\" target=\"_blank\" rel=\"noreferrer noopener\">Configure an App Service app in the Azure portal<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will help you to Configure an App Service app. This topic details about how to configure common settings for web apps, mobile back end, or API app with the help of the&nbsp;Azure portal. Configure app settings App settings are variables passed as environment variables to the application code In App Service. App Service&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[174],"tags":[],"class_list":["post-15648","page","type-page","status-publish","hentry","category-microsoft-azure"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Configure an App Service app - Testprep Training Tutorials<\/title>\n<meta name=\"description\" content=\"Enhance and upgrade your Azure Architect skills by preparing from tutorial - Configure an App Service app and crack the exam now!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/tutorial\/configure-an-app-service-app\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configure an App Service app - Testprep Training Tutorials\" \/>\n<meta property=\"og:description\" content=\"Enhance and upgrade your Azure Architect skills by preparing from tutorial - Configure an App Service app and crack the exam now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/configure-an-app-service-app\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-11T10:06:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.microsoft.com\/en-us\/azure\/app-service\/media\/configure-common\/search-for-app-services.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/configure-an-app-service-app\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/configure-an-app-service-app\/\",\"name\":\"Configure an App Service app - Testprep Training Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2020-08-07T04:24:08+00:00\",\"dateModified\":\"2022-03-11T10:06:59+00:00\",\"description\":\"Enhance and upgrade your Azure Architect skills by preparing from tutorial - Configure an App Service app and crack the exam now!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/configure-an-app-service-app\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/configure-an-app-service-app\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/configure-an-app-service-app\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configure an App Service app\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configure an App Service app - Testprep Training Tutorials","description":"Enhance and upgrade your Azure Architect skills by preparing from tutorial - Configure an App Service app and crack the exam now!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.testpreptraining.ai\/tutorial\/configure-an-app-service-app\/","og_locale":"en_US","og_type":"article","og_title":"Configure an App Service app - Testprep Training Tutorials","og_description":"Enhance and upgrade your Azure Architect skills by preparing from tutorial - Configure an App Service app and crack the exam now!","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/configure-an-app-service-app\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2022-03-11T10:06:59+00:00","og_image":[{"url":"https:\/\/docs.microsoft.com\/en-us\/azure\/app-service\/media\/configure-common\/search-for-app-services.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/configure-an-app-service-app\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/configure-an-app-service-app\/","name":"Configure an App Service app - Testprep Training Tutorials","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2020-08-07T04:24:08+00:00","dateModified":"2022-03-11T10:06:59+00:00","description":"Enhance and upgrade your Azure Architect skills by preparing from tutorial - Configure an App Service app and crack the exam now!","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/configure-an-app-service-app\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/configure-an-app-service-app\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/configure-an-app-service-app\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"Configure an App Service app"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/15648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=15648"}],"version-history":[{"count":4,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/15648\/revisions"}],"predecessor-version":[{"id":52632,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/15648\/revisions\/52632"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=15648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=15648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=15648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}